test(tests/lean/run/decidable): show implicit argument that is computed automatically
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1e595e8027
commit
a9f7d87aae
1 changed files with 3 additions and 7 deletions
|
@ -1,11 +1,7 @@
|
||||||
import standard unit decidable
|
import standard unit decidable if
|
||||||
using bit unit decidable
|
using bit unit decidable
|
||||||
|
|
||||||
variables a b c : bit
|
variables a b c : bit
|
||||||
variables u v : unit
|
variables u v : unit
|
||||||
|
set_option pp.implicit true
|
||||||
theorem tst : decidable ((a = b) ∧ (b = c) → ¬ (u = v) ∨ (a = c) → (a = c) ↔ a = '1 ↔ true)
|
check if ((a = b) ∧ (b = c) → ¬ (u = v) ∨ (a = c) → (a = c) ↔ a = '1 ↔ true) then a else b
|
||||||
|
|
||||||
(*
|
|
||||||
print(get_env():find("tst"):value())
|
|
||||||
*)
|
|
||||||
|
|
Loading…
Reference in a new issue