dual_certificate_identity
For every natural number n with 1 ≤ n, there exists a sequence of integers y : Fin n → ℤ with 1 ≤ y j for all j : Fin n, such that for all x : Fin n → ℝ, the linear combination ∑ j : Fin n, (y j : ℝ) * signed_relation n (j.val + 1) x equals the last coordinate x ⟨n - 1, by omega⟩.
Statement
theorem dual_certificate_identity (n : ℕ) (hn : 1 ≤ n) : ∃ y : Fin n → ℤ, (∀ j : Fin n, 1 ≤ y j) ∧ ∀ x : Fin n → ℝ, (∑ j : Fin n, (y j : ℝ) * signed_relation n (j.val + 1) x) = x ⟨n - 1, by omega⟩
- Formalizes
- arXiv:2611.17360 Theorem 3.2 (i) and Step 1
- Verified
- 17 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- signed_relationFor a dimension n : ℕ, an index j : ℕ, and a vector x : Fin n → ℝ, signed_relation n j x is the real number (∑ t ∈ Finset.range p, coord…
- dual_cert_p_boundsFor any positive integer m, dual_cert_p m is between 1 and m, and when it is at least 2, every triangular number T_k for k < dual_cert_p m…
- signed_relation_step_basis_triangularThe evaluation of signed_relation n (j.val + 1) on the step basis vector v^(i) (1 if i <= k else 0) is 0 for i < j, 1 for i = j, and…
- signed_relation_step_basis_dual_solutionForward substitution on the unit triangular system from signed_relation_step_basis_triangular constructs an integer vector y with 1 <= y j…
- signed_relation_linear_combination_of_step_basisBecause any vector x decomposes into a telescoping sum of step basis vectors with sum of differences equal to x(n-1), any linear…
Read back from the Lean
For every natural number $n \ge 1$, there exists an integer vector $y : \text{Fin } n \to \mathbb{Z}$ such that: 1. Every component of $y$ is at least $1$ (i.e., $y(j) \ge 1$ for all $j \in \text{Fin } n$); and 2. For every real vector $x : \text{Fin } n \to \mathbb{R}$, the linear combination $$\sum_{j \in \text{Fin } n} (y(j) : \mathbb{R}) \cdot \text{signed\_relation}(n, j.val + 1, x)$$ equals the final coordinate $x(n - 1)$.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The proof obtains a sequence of positive integer multipliers `y` from `signed_relation_step_basis_dual_solution`, which makes the linear combination of signed relations equal 1 on all step basis vectors. It then applies `signed_relation_linear_combination_of_step_basis` to deduce that this same combination evaluates to the final coordinate `x_{n-1}` for every vector `x`.
The index `n - 1` is strictly less than `n`, so it is a valid element of `Fin n`. automation
From `1 ≤ n`, linear arithmetic ensures `n - 1 < n`.
∀ x : Fin n → ℝ, (∑ j : Fin n, (y j : ℝ) * signed_relation n (j.val + 1) x) = x ⟨n - 1, by omega⟩ := by
There exists a sequence of positive integers `y : Fin n → ℤ` satisfying the dual certificate condition on the step basis.
We obtain `y` from `signed_relation_step_basis_dual_solution`, giving `1 ≤ y j` for all `j` and ensuring that the linear combination evaluates to 1 on every step basis indicator vector.
uses
signed_relation_step_basis_dual_solutionobtain ⟨y, hy1, hy⟩ := signed_relation_step_basis_dual_solution n hnThe sequence `y` satisfies the required identity for all `x : Fin n → ℝ`.
By `signed_relation_linear_combination_of_step_basis`, since the linear combination with weights `(y j : ℝ)` is 1 on all step basis vectors, it equals `x ⟨n - 1, _⟩` for any vector `x`.
uses
signed_relation_linear_combination_of_step_basisexact ⟨y, hy1, signed_relation_linear_combination_of_step_basis n hn (fun j => (y j : ℝ)) hy⟩
signed_relation_step_basis_dual_solution- There exists a positive integer sequence `y` whose linear combination with the signed relations equals 1 on all step basis vectors.
signed_relation_linear_combination_of_step_basis- If a linear combination of signed relations equals 1 on all step basis vectors, then it evaluates to the last coordinate `x_{n-1}` for every vector `x`.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- Existence of positive integer multipliers summing the signed relations to the last coordinate. -/theorem dual_certificate_identity (n : ℕ) (hn : 1 ≤ n) : ∃ y : Fin n → ℤ, (∀ j : Fin n, 1 ≤ y j) ∧ ∀ x : Fin n → ℝ, (∑ j : Fin n, (y j : ℝ) * signed_relation n (j.val + 1) x) = x ⟨n - 1, by omega⟩ := by obtain ⟨y, hy1, hy⟩ := signed_relation_step_basis_dual_solution n hn exact ⟨y, hy1, signed_relation_linear_combination_of_step_basis n hn (fun j => (y j : ℝ)) hy⟩