lean4-htt/tests/lean/run/1169.lean
Leonardo de Moura 988697b431 fix: fixes #1169
2022-05-26 07:05:32 -07:00

7 lines
110 B
Text

inductive Foo (n: Nat)
| mk: n = 0 → Foo n
example (h: Foo x): x + 1 = 1 := by
cases h
subst x
rfl