blob: 41c5ec0fc3964e501f6779068f25cf1ac7522b4f [file]
inductive Foo (n: Nat)
| mk: n = 0 → Foo n
example (h: Foo x): x + 1 = 1 := by
cases h
subst x
rfl