compatible_fringe_pairs
For each natural number h, compatible_fringe_pairs h is the finset of pairs (E, F) in Finset.powerset (Finset.Ico 0 h) ×ˢ Finset.powerset (Finset.Ico 0 h) of subsets of ℕ such that E.card * 2 > h, F.card * 2 > h, and the pointwise sums satisfy E + E = Finset.Ico 0 (2 * h - 1), E + F = Finset.Ico 0 (2 * h - 1), and F + F = Finset.Ico 0 (2 * h - 1).
Statement
open Pointwise in def compatible_fringe_pairs (h : ℕ) : Finset (Finset ℕ × Finset ℕ)
- Defined in
- arXiv:2611.23338, Appendix B, (B.1)
- Verified
- 23 Nov 2026
- Axioms
- none listed
Read back from the Lean
For a natural number h, compatible_fringe_pairs h is the finite set of pairs (E, F) of subsets of {0, 1, …, h - 1} (i.e., Finset.Ico 0 h) such that:
1. 2 * E.card > h,
2. 2 * F.card > h,
3. E + E = {0, 1, …, 2 * h - 2} (the interval Finset.Ico 0 (2 * h - 1)),
4. E + F = {0, 1, …, 2 * h - 2}, and
5. F + F = {0, 1, …, 2 * h - 2},
where + denotes the pointwise (Minkowski) sum of sets of natural numbers.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
open Pointwise in /-- The finset of compatible fringe pairs (E, F) of subsets of [0, h-1] satisfying the density and sum-filling conditions. -/ def compatible_fringe_pairs (h : ℕ) : Finset (Finset ℕ × Finset ℕ) := ((Finset.powerset (Finset.Ico 0 h)) ×ˢ (Finset.powerset (Finset.Ico 0 h))).filter (fun ⟨E, F⟩ => E.card * 2 > h ∧ F.card * 2 > h ∧ E + E = Finset.Ico 0 (2 * h - 1) ∧ E + F = Finset.Ico 0 (2 * h - 1) ∧ F + F = Finset.Ico 0 (2 * h - 1))