lean2/tests/lean/run/decidable.lean
Leonardo de Moura 5e8c128b00 feat(library/standard): add more decidable instances
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-20 01:10:49 +01:00

11 lines
250 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import standard unit decidable
using bit unit decidable
variables a b c : bit
variables u v : unit
theorem tst : decidable ((a = b) ∧ (b = c) → ¬ (u = v) (a = c) → (a = c) ↔ a = '1 ↔ true)
(*
print(get_env():find("tst"):value())
*)