Issue reported at https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/noncomputable.20tainting/near/258174927
7 lines
159 B
Text
7 lines
159 B
Text
noncomputable def foo : Nat := Classical.choose (show ∃ x, x = 1 from ⟨1, rfl⟩)
|
|
|
|
structure Bar (n : Nat) :=
|
|
x : Nat
|
|
|
|
def baz : Bar foo :=
|
|
{ x := 1 }
|