lean4-htt/tests/lean/run/grind_overapplied_ite.lean
Leonardo de Moura 6683d1eb91
chore: add module keyword to grind tests (#10036)
This PR also fixes missing `@[expose]` in grind support definitions.
2025-08-21 22:02:08 +00:00

20 lines
470 B
Text

module
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