lean4-htt/tests/lean/run/simpBool.lean
2022-02-28 18:27:36 -08:00

11 lines
247 B
Text

example (h : x ≠ true) : (x && y) = false := by
simp [h]
example (h : ¬ (x = true)) : (x && y) = false := by
simp [h]
example (h : x ≠ false) : (x && y) = y := by
simp [h]
example (h : ¬ (x = false)) : (x && y) = y := by
simp [h]