test(tests/lean/run): add example for constructive choice

This commit is contained in:
Leonardo de Moura 2015-05-09 12:02:52 -07:00
parent e9c8de7bdf
commit 9812cfe906

View file

@ -0,0 +1,12 @@
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