lean2/tests/lean/bad_structures2.lean

32 lines
416 B
Text
Raw Normal View History

structure foo :=
(x : bool)
structure boo :=
(x : nat)
structure bla extends foo, boo
structure boo2 :=
{x : bool}
structure bla extends foo, boo2
structure bla extends foo :=
(x : num)
structure bla extends foo :=
( : num)
structure bla extends foo :=
mk :: y z : num
structure bla2 extends foo renaming y → z
structure bla2 extends nat
structure bla2 extends Type
structure bla2 : Prop :=
(x : Prop)