lean2/tests/lean/arith2.lean
Leonardo de Moura dd72269b13 feat(frontends/lean): rename command Set to SetOption
It is not nice to have Set as a reserved keyword. See example examples/lean/set.lean

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-18 21:18:48 -08:00

14 lines
No EOL
227 B
Text

Show 1/2
Eval 4/6
Show 3 div 2
Variable x : Real
Variable i : Int
Variable n : Nat
Show x + i + 1 + n
SetOption lean::pp::coercion true
Show x + i + 1 + n
Show x * i + x
Show x - i + x - x >= 0
Show x < x
Show x <= x
Show x > x