lean2/tests/lean/run/ind5.lean

10 lines
185 B
Text

prelude
definition Prop : Type.{1} := Type.{0}
inductive or (A B : Prop) : Prop :=
| intro_left : A → or A B
| intro_right : B → or A B
check or
check or.intro_left
check or.rec