Use an existential hypothesis

obtain ⟨n, hn⟩ := h gives you the witness and its property.

16 minBeginner
0/7 completed in this course
Your exercise

Loading the exercise…

Exercise.lean
Loading editor…

Run a check to see the goals Lean has left.

ReadyLn 1, Col 1Lean 4
Draft saved in this browser