lean4-htt/tests/lean/1196.lean
2022-06-06 23:05:12 +02:00

9 lines
126 B
Text

inductive T: Type
| mk: Nat -> T
theorem T.zero_bad: T -> T
:= by {
intro H;
induction H with
| mk _ => exact T.mk 0
}