lean4-htt/tests/lean/run/grind_prod.lean
Kim Morrison 3a8258b2d5
feat: grind annotations for Prod (#8850)
This PR adds `grind` annotations for `Prod`.
2025-06-18 02:40:23 +00:00

8 lines
222 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.

open Prod
theorem swap_swap : ∀ x : α × β, swap (swap x) = x
| ⟨_, _⟩ => by grind
theorem fst_swap {p : α × β} : (swap p).1 = p.2 := by grind
theorem snd_swap {p : α × β} : (swap p).2 = p.1 := by grind