fp-lean icon indicating copy to clipboard operation
fp-lean copied to clipboard

"or" symbol instead of "and" in an example in Section 3[Typo]

Open anton-mellit opened this issue 2 years ago • 2 comments

theorem onePlusOneAndLessThan : 1 + 1 = 2 ∨ 3 < 5 := by simp

anton-mellit avatar Dec 18 '23 09:12 anton-mellit

Actually, replacing ∨ by ∧ gives me "unsolved goals ⊢ 3 < 5". Also trying to prove only 3<5 gives "simp made no progress". Is this a bug? I tried by trivial instead of by simp and it worked.

anton-mellit avatar Dec 18 '23 10:12 anton-mellit

Thanks - I'll fix this on my next pass through, where I'll need to do a pretty big update to the structure of this section anyway due to various Lean changes.

david-christiansen avatar Jan 24 '24 15:01 david-christiansen