FormalConjectures/OEIS/281976.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
11 declarations, 1 contain sorry, 0 declared as axioms
Sum of four squares with square conditions
Any integer $n \geq 0$ can be written as $x^2 + y^2 + z^2 + w^2$ with $x, y, z, w$ nonnegative integers and $z \leq w$, such that both $x$ and $x + 24y$ are squares.
Zhi-Wei Sun has offered a $2,400 prize for the first proof.
References:
- A281976
- Z.-W. Sun, "Refining Lagrange's four-square theorem," J. Number Theory 175 (2017), 167-190. https://doi.org/10.1016/j.jnt.2016.11.008
- Z.-W. Sun, "Restricted sums of four squares," arXiv:1701.05868 [math.NT], 2017. https://arxiv.org/abs/1701.05868
Imports (1)
- def
OeisA281976.AThe predicate thatncan be written as $x^2 + y^2 + z^2 + w^2$ with $x, y, z, w$ nonnegative integers, $z \leq w$, such that both $x$ and $x + 24y$ are squares line 42 sourceSource documentation
The predicate that
ncan be written as $x^2 + y^2 + z^2 + w^2$ with $x, y, z, w$ nonnegative integers, $z \leq w$, such that both $x$ and $x + 24y$ are squares.standard axioms: propext what this means
Statement uses:
NatProof uses:
Exists,And,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat,LE.le,IsSquare,HMul.hMul10 instances, coercions and auxiliary constants left out.
def A (n : ℕ) : Prop := …
- theorem
OeisA281976.a_0line 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,of_eq_true,Eq.trans,True,congr,congrArg,eq_true,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_powand 8 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_1line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.one_natPow,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.isNat_le_true,Bool,Bool.trueand 1 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_2line 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.one_natPow,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.isNat_le_true,Bool,Bool.trueand 1 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_3line 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.one_natPow,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.isNat_le_true,Bool,Bool.trueand 1 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_4line 62 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.isNat_le_true,Booland 2 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_8line 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.isNat_le_true,Booland 2 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_12line 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.one_natPow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.isNat_le_true,Booland 2 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_23line 74 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.one_natPow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.isNat_le_true,Booland 2 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.a_24line 78 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA281976.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,Eq,HAdd.hAdd,HPow.hPow,LE.le,IsSquare,HMul.hMul,And.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.zero_natPow,Mathlib.Meta.NormNum.isNat_le_true,Booland 2 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA281976.conjectureZhi-Wei Sun's Conjecture (A281976): Any integer sorry line 86 sourceSource documentation
Zhi-Wei Sun's Conjecture (A281976): Any integer $n \geq 0$ can be written as $x^2 + y^2 + z^2 + w^2$ with $x, y, z, w$ nonnegative integers and $z \leq w$, such that both $x$ and $x + 24y$ are squares.
depends on sorry what this means
Statement uses:
Nat, OeisA281976.AProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) : A n := by …
Mentions: OeisA281976.A