FormalConjectures/OEIS/232174.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
8 declarations, 1 contain sorry, 0 declared as axioms
Representations with prime conditions
Any integer $n > 1$ can be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime.
Zhi-Wei Sun has offered a $200 prize for the first proof.
References:
- A232174
- Z.-W. Sun, "Conjectures on representations involving primes," in: M. Nathanson (ed.), Combinatorial and Additive Number Theory II: CANT, Springer Proc. in Math. & Stat., Vol. 220, Springer, 2017, pp. 279-310. https://arxiv.org/abs/1211.1588
- D.A. Cox, "Primes of the Form x² + ny²," John Wiley & Sons, 1989.
Imports (1)
Imported by 1 file
- def
OeisA232174.AThe predicate thatncan be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime line 42 sourceSource documentation
The predicate that
ncan be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime.standard axioms: propext what this means
Statement uses:
NatProof uses:
Exists,And,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow10 instances, coercions and auxiliary constants left out.
def A (n : ℕ) : Prop := …
- theorem
OeisA232174.a_2line 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 5 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.a_3line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 7 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.a_4line 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 8 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.a_5line 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 7 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.a_6line 62 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 8 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.a_8line 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA232174.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HMul.hMul,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_mul,Bool.trueand 9 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA232174.conjectureZhi-Wei Sun's Conjecture (A232174): Any integer $n > 1$ can be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime sorry line 74 sourceSource documentation
Zhi-Wei Sun's Conjecture (A232174): Any integer $n > 1$ can be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat, OeisA232174.AProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) (hn : 1 < n) : A n := by …
Mentions: OeisA232174.A