FormalConjectures/OEIS/232174.lean

GitHub source file

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:

Imports (1)
Imported by 1 file
  1. def OeisA232174.A The predicate that n can be written as $x + y$ with $x, y > 0$ such that both $x + ny$ and $x^2 + ny^2$ are prime line 42 source

    Source documentation

    The predicate that n can 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: Nat

    Proof uses: Exists, And, LT.lt, OfNat.ofNat, Eq, HAdd.hAdd, Nat.Prime, HMul.hMul, HPow.hPow

    10 instances, coercions and auxiliary constants left out.

    def A (n : ℕ) : Prop :=
    …
  2. theorem OeisA232174.a_2 line 46 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 5 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  3. theorem OeisA232174.a_3 line 50 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 7 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  4. theorem OeisA232174.a_4 line 54 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 8 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  5. theorem OeisA232174.a_5 line 58 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 7 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  6. theorem OeisA232174.a_6 line 62 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 8 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  7. theorem OeisA232174.a_8 line 66 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OeisA232174.A, OfNat.ofNat, Nat

    Proof 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.true and 9 more

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  8. theorem OeisA232174.conjecture 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 sorry line 74 source

    Source 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.A

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    4 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