lean4-htt/tests/lean/run/rw_inst_mvars.lean
2024-02-10 04:59:24 +00:00

4 lines
149 B
Text

example (p : Nat → Prop) (h : ∀ n, p (n+1) = p n) : (p m ↔ p 0) := by
induction m
case succ ih => rw [h, ih]
case zero => exact Iff.rfl