blob: 586a3be1b3a3a79f81949e8908c152d927ae5ed3 [file] [edit]
noncomputable def foo : Nat := Classical.choose (show ∃ x, x = 1 from ⟨1, rfl⟩)
structure Bar (n : Nat) where
x : Nat
def baz : Bar foo :=
{ x := 1 }
structure Bar2 (n : Nat) where
x : Nat
y : Nat
def bax2 : Bar2 foo :=
{ x := 1, y := 2 }