lean2/tests/lean/run/ind5.lean
Leonardo de Moura a5f0593df1 feat(*): change inductive datatype syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-22 15:46:10 -07:00

9 lines
No EOL
188 B
Text

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