lean2/tests/lean/run/ind5.lean
Leonardo de Moura 8743394627 refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 15:04:57 -07:00

9 lines
189 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