2014-10-01 17:56:05 +00:00
|
|
|
import data.num
|
|
|
|
|
2015-10-13 22:39:03 +00:00
|
|
|
inductive one1.{l} : Type.{l} :=
|
|
|
|
unit : one1
|
2014-10-01 17:56:05 +00:00
|
|
|
|
|
|
|
inductive pone : Type.{0} :=
|
|
|
|
unit : pone
|
|
|
|
|
2014-11-14 21:35:16 +00:00
|
|
|
inductive two.{l} : Type.{max 1 l} :=
|
2015-02-26 01:00:10 +00:00
|
|
|
| o : two
|
|
|
|
| u : two
|
2014-10-01 17:56:05 +00:00
|
|
|
|
2014-11-14 21:35:16 +00:00
|
|
|
inductive wrap.{l} : Type.{max 1 l} :=
|
2014-10-01 17:56:05 +00:00
|
|
|
mk : true → wrap
|
|
|
|
|
2014-11-14 21:35:16 +00:00
|
|
|
inductive wrap2.{l} (A : Type.{l}) : Type.{max 1 l} :=
|
2014-10-01 17:56:05 +00:00
|
|
|
mk : A → wrap2 A
|
|
|
|
|
|
|
|
set_option pp.universes true
|
2015-10-13 22:39:03 +00:00
|
|
|
check @one1.rec
|
2014-10-01 17:56:05 +00:00
|
|
|
check @pone.rec
|
|
|
|
check @two.rec
|
|
|
|
check @wrap.rec
|
|
|
|
check @wrap2.rec
|