Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use タクティクを紹介する #242

Closed
Seasawher opened this issue Jun 14, 2024 · 2 comments · Fixed by #1257
Closed

use タクティクを紹介する #242

Seasawher opened this issue Jun 14, 2024 · 2 comments · Fixed by #1257
Assignees

Comments

@Seasawher
Copy link
Member

exists では通らず、use が通るようなコード例を探したい

@Seasawher Seasawher added 要調査 さらなる調査を要する 新規項目 labels Jun 14, 2024
@Seasawher
Copy link
Member Author

Seasawher commented Jun 23, 2024

@Seasawher
Copy link
Member Author

Zulip で教えてもらえた.

inductive Exists3 {α β : Sort*} (p : α → β → Prop) : Prop
  | mk (x : α) (y : β) (h : p x y)

example : Exists3 (fun (x1 x2 : String) => x1 = x2) := by
  exists "hello" -- failure, insufficient number of arguments

example : Exists3 (fun (x1 x2 : String) => x1 = x2) := by
  use "hello"

https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/.E2.9C.94.20.60use.60.20vs.20.60exists.60/near/446414572

@Seasawher Seasawher added タクティク and removed 要調査 さらなる調査を要する labels Jun 26, 2024
@Seasawher Seasawher changed the title exists と use の違いは? useタクティクを紹介する Jun 26, 2024
@Seasawher Seasawher changed the title useタクティクを紹介する use タクティクを紹介する Dec 31, 2024
@Seasawher Seasawher self-assigned this Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant