We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please quote the text that is incorrect:
open Query in def example2 := let mountain := table mountainDiary |>.prefixWith "mountain" let waterfall := table waterfallDiary |>.prefixWith "waterfall" mountain.product waterfall (by simp) |>.select (.eq (c! "mountain.location") (c! "waterfall.location")) |>.project [⟨"mountain.name", .string⟩, ⟨"waterfall.name", .string⟩] (by repeat constructor)
In what way is this incorrect?
Lean (4.12.0) cannot prove disjoint just by simp. I needed rfl as well:
by simp
rfl
open Query in def example2 := let mountain := table mountainDiary |>.prefixWith "mountain" let waterfall := table waterfallDiary |>.prefixWith "waterfall" mountain.product waterfall (by simp; rfl) -- <- |>.select (.eq (c! "mountain.location") (c! "waterfall.location")) |>.project [⟨"mountain.name", .string⟩, ⟨"waterfall.name", .string⟩] (by repeat constructor)
The text was updated successfully, but these errors were encountered:
Probably #137
Sorry, something went wrong.
No branches or pull requests
Please quote the text that is incorrect:
In what way is this incorrect?
Lean (4.12.0) cannot prove disjoint just
by simp
. I neededrfl
as well:The text was updated successfully, but these errors were encountered: