The four entries of the family form a strict chain from n = 4 on
ProvedEqualTwoSquares.explicit_family_chainLet n be an integer with 4 <= n. Then 1 < 2n - 1, 2n - 1 < n^2 - n - 1 and n^2 - n - 1 < n^2 - n + 1. The bound 4 is sharp: at n = 3 the entries 2n - 1 and n^2 - n - 1 are both equal to 5.
import Mathlib
namespace EqualTwoSquares
/-- Objective 2, inequality part: the four entries form a strict chain for every n at least 4. -/
theorem explicit_family_chain {n : ℤ} (hn : 4 ≤ n) :
(1 : ℤ) < 2 * n - 1 ∧
2 * n - 1 < n^2 - n - 1 ∧
n^2 - n - 1 < n^2 - n + 1 := by sorry
end EqualTwoSquaresRead-back
What the Lean code literally says, in plain math · independent-agent
Read-back: explicit_family_chain
Declared in namespace EqualTwoSquares (file items/explicit_family_chain.lean); the name agrees with the file name. Its own doc line reads "Objective 2, inequality part: the four entries form a strict chain for every n at least 4."
What the declaration literally says
Let satisfy the single hypothesis . Then the three strict inequalities
hold jointly (a nested conjunction). The four quantities appearing are exactly the four entries of the family — note that they appear here re-ordered ascendingly (, then , then , then ), which is not the order in which they sit in the quadruple . The variable is an implicit argument, constrained only by the hypothesis.
The bound is doing real work and is essentially tight: at the chain reads , while at the middle step would read , which is false. Nothing beyond this lower bound is assumed, so all (arbitrarily large) are covered.
Audit notes
- Truth. Each step checked: since ; is equivalent to , true for ; is . Numerically verified for all . TRUE.
- Faithfulness. Name matches file name; the doc line's "strict chain for every n at least 4" matches the stated conjunction of three strict inequalities under exactly one hypothesis . All variables bound; occurs in every term of the conclusion.
- Trivializing premise. None: the hypothesis is a numerical bound, not a restatement of the conclusion, and is satisfiable.
- Satisfiability. Satisfiable and non-vacuous (); infinitely many witnesses.
- Elaboration. Included in
statements/All.lean; elaborates with only the expecteddeclaration uses 'sorry'warning.
FAITHFUL
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.