lean2/tests/lean/run/choose_test.lean

13 lines
157 B
Text
Raw Normal View History

import data.encodable
open nat encodable
theorem ex : ∃ x, x > 3 :=
exists.intro 6 dec_trivial
reveal ex
eval choose ex
example : choose ex = 4 :=
rfl