Infinitely many distinct patterns arise from the family
ProvedEqualTwoSquares.family_patterns_infiniteThe set of integer quadruples of the form (1, n^2 - n + 1, 2n - 1, n^2 - n - 1), as n ranges over the integers, is infinite.
import Mathlib
namespace EqualTwoSquares
/-- Objective 3: the family produces infinitely many distinct quadruples. -/
theorem family_patterns_infinite :
(Set.range (fun n : ℤ => ((1 : ℤ), n^2 - n + 1, 2 * n - 1, n^2 - n - 1))).Infinite := by sorry
end EqualTwoSquaresRead-back
What the Lean code literally says, in plain math · independent-agent
Read-back: family_patterns_infinite
Declared in namespace EqualTwoSquares (file items/family_patterns_infinite.lean); the name agrees with the file name. Its own doc line reads "Objective 3: the family produces infinitely many distinct quadruples."
What the declaration literally says
Let
and let be its set-theoretic image (the range of , taken as a set of four-tuples of integers). Then is infinite — i.e. is not finite; equivalently there is no finite list exhausting all quadruples produced by the family, and in particular the family does not collapse to finitely many values (it does not, for instance, become eventually constant or periodic-with-finite-image).
There are no hypotheses and no free variables other than the set itself, which is defined inside the statement. The quantification is over all integers , including negative ones, so the range includes the values coming from negative indices as well; nothing restricts to be large, positive, or pairwise distinct.
Infinitude here is witnessed by injectivity: distinct indices give distinct tuples (already the coordinate separates them), so the range of is in bijection with the infinite set .
Audit notes
- Truth. Verified: no repetition among for all , and the general argument is that coordinate 3, , is injective in , so the range is infinite. TRUE.
- Faithfulness. Name matches file name; the doc line's "infinitely many distinct quadruples" corresponds precisely to infinitude of the range set. Every variable is bound (the bound index lives inside the set comprehension); nothing free.
- Trivializing premise. None: the declaration is a closed formula with no hypotheses.
- Satisfiability. Nothing to satisfy; the statement is a property of a concretely defined non-empty set and is non-vacuous.
- 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.