Interpolation rank with the fixed ternary source histogram
ProvedThreeSumFuture.fixed_histogram_stencil_layer_rank3sumalgorithmslinear-algebra
Each query q has ternary coordinates and total degree 2a1+4a2. Its linear stencil extracts the coefficient at q on every product of two ternary monomials with exactly a1 ones and a2 twos in each operand. Consider a set of predecessor words of one total degree. Each has at least 2a2 twos and some containing query from which it differs by deletion of at most 2a2 units. Then the union of the stencils contains at least as many distinct evaluation nodes as there are predecessors.
Preamble
import Theorems.Thm_ThreeSumFuture_fixed_histogram_ternary_split import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.LinearAlgebra.Dimension.Constructions import Mathlib.LinearAlgebra.Dimension.Finite open scoped BigOperators set_option maxHeartbeats 1000000
Formal statement
theorem ThreeSumFuture.fixed_histogram_stencil_layer_rank {I E K : Type} [Fintype I] [DecidableEq I] [DecidableEq E] [Field K]
(point : E → I → K) (queries below : Finset (I → ℕ))
(stencil : (I → ℕ) → Finset E) (coeff : (I → ℕ) → E → K) (layer a1 a2 : ℕ)
(hquery : ∀ q ∈ queries, ∀ i, q i ≤ 2)
(hgrade : ∀ q ∈ queries, (∑ i, q i) = 2*a1 + 4*a2)
(hlayer : ∀ r ∈ below, (∑ i, r i) = layer)
(htwos : ∀ r ∈ below, 2*a2 ≤ (Finset.univ.filter fun i => r i = 2).card)
(hbelow : ∀ r ∈ below, ∃ q ∈ queries, (∀ i, r i ≤ q i) ∧
(∑ i, (q i - r i)) ≤ 2*a2)
(hexact : ∀ q ∈ queries, ∀ a b : I → ℕ, (∀ i, a i ≤ 2) → (∀ i, b i ≤ 2) →
(Finset.univ.filter fun i => a i = 1).card = a1 →
(Finset.univ.filter fun i => b i = 1).card = a1 →
(Finset.univ.filter fun i => a i = 2).card = a2 →
(Finset.univ.filter fun i => b i = 2).card = a2 →
(∑ e ∈ stencil q, coeff q e * ∏ i, point e i ^ (a i + b i)) =
if (fun i => a i + b i) = q then 1 else 0) :
below.card ≤ (queries.biUnion stencil).card := by sorrySource
Original refinement of the balanced-product rank obstruction to the source profiles in weighted-cache 3SUM.