Zulip Chat Archive
Stream: general
Topic: or.elim unknown identifier
Bernd Losert (Dec 04 2021 at 19:30):
I have this piece of code:
le_conv := begin
intros y l₁' l₂' h₀ h₁,
or.elim h₁ _ _
end,
For some reason, the first error that I get from this is error: unknown identifier 'h₁'
. I don't understand why though since h₁ is right there. Help!
Yaël Dillies (Dec 04 2021 at 19:31):
or.elim
isn't a tactic but a term. Try refine or.elim h₁ _ _
instead.
Bernd Losert (Dec 04 2021 at 19:36):
Works. Good to know. Thanks.
Last updated: Dec 20 2023 at 11:08 UTC