lean4-htt/tests/lean/run/grind_overapplied_ite.lean
Kim Morrison eccc472e8d
chore: remove set_option grind.warning false (#8714)
This PR removes the now unnecessary `set_option grind.warning false`
statements, now that the warning is disabled by default.
2025-06-11 05:09:19 +00:00

19 lines
463 B
Text

example : (if (!false) = true then id else id) false = false := by
grind
opaque q (h : ¬ (!false) = true) : Bool → Bool
example : (if h : (!false) = true then id else q h) false = false := by
grind
example [Decidable c] : (if c then id else id) false = false := by
grind
opaque c : Prop
opaque r (h : ¬ c) : Bool → Bool
open Classical
@[grind =] theorem rax : r h x = x := sorry
example : (if h : c then id else r h) false = false := by
grind