lean4-htt/tests/lean/run/grind_9830.lean
Leonardo de Moura 7ea711e043
fix: remove inShareCommon filter used in grind (#9852)
This PR removes the `inShareCommon` quick filter used in `grind`
preprocessing steps. `shareCommon` is no longer used only for fully
preprocessed terms.

closes #9830
2025-08-11 18:24:13 +00:00

12 lines
312 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.

abbrev F : Fin 3 → Nat
| 0 => 0
| 1 => 1
| 2 => 2
abbrev Pairwise (r : αα → Prop) :=
∀ ⦃i j⦄, i ≠ j → r i j
abbrev onFun (f : β → β → φ) (g : α → β) : αα → φ := fun x y => f (g x) (g y)
example : Pairwise (onFun (fun a b => a + b < 10) fun x ↦ F x) := by
grind