lean2/tests/lean/run/ind5.lean
Leonardo de Moura bdab979e09 feat(frontends/lean): add inductive_cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-18 16:00:59 -07:00

9 lines
No EOL
191 B
Text

definition [inline] Bool : Type.{1} := Type.{0}
inductive or (A B : Bool) : Bool :=
| or_intro_left : A → or A B
| or_intro_right : B → or A B
check or
check or_intro_left
check or_rec