APNOutputs/OEIS/oeis_289411_conjecture_0.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: Google DeepMind published the AlphaProof Nexus proof artifacts. The pinned repository identifies the mathematical sources and collaborators, including OEIS, Erdős Problems, Gergely Bérczi, and Mario Krenn; those source records remain the authority for individual credit.

Project sources: Pinned AlphaProof Nexus results documentation, AlphaProof Nexus paper, Pinned human-written natural-language proof companions

14 declarations, 0 contain sorry, 0 declared as axioms

Imports (1)
  1. def A289411 A289411: $\mathrm{a}(n) = \sum_{k=0}^n \mathrm{sign}(\mathrm{A007953}(5k) - \mathrm{A007953}(k))$ line 49 source

    Source documentation

    A289411: $\mathrm{a}(n) = \sum_{k=0}^n \mathrm{sign}(\mathrm{A007953}(5k) - \mathrm{A007953}(k))$. $\mathrm{A007953}(n)$ is the digital sum of $n$ in base 10. The sequence is non-negative, so the sum over $\mathbb{Z}$ is converted to $\mathbb{N}$.

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

    Statement uses: Nat

    Proof uses: List.sum, Nat.digits, OfNat.ofNat, Int.toNat, Finset.sum, Int, Finset.range, HAdd.hAdd, Int.sign, HSub.hSub, HMul.hMul

    12 instances, coercions and auxiliary constants left out.

    def A289411 (n : ℕ) : ℕ :=
    …
  2. def S line 88 source

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

    Statement uses: Nat

    Proof uses: List.sum, Nat.digits, OfNat.ofNat

    4 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/oeis_175386_conjecture_0.lean:55 (different declaration text). Qualify references as S@path.

  3. lemma S_zero line 90 source

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

    Statement uses: Eq, Nat, S, OfNat.ofNat

    Proof uses: of_eq_true, List.sum, Nat.digits, Eq.trans, True, List.nil, congrArg, List, Nat.digits_zero, eq_self, eq_true, True.intro

    6 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  4. lemma S_lt_10 line 92 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, Eq, S

    Proof uses: Eq.mpr, id, congrArg, Eq.symm, propext, eq_comm, List.sum, Nat.digits, S.eq_1, Or.rec, Not, Or, of_eq_true, Eq.trans, True, List.nil, congr, List, Nat.digits_zero, eq_self and 17 more

    11 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  5. lemma S_step line 95 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, Eq, S, HAdd.hAdd, HMod.hMod, HDiv.hDiv

    Proof uses: id, Eq.rec, List, List.cons, Nat.digits, List.sum, rfl, Eq.symm, Nat.digits_def', of_decide_eq_true, Bool, Decidable.decide, Bool.true, Eq.refl

    19 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

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

  6. lemma S_comp_9 line 98 source

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

    Statement uses: Nat, Eq, HAdd.hAdd, OfNat.ofNat, HPow.hPow, S, HMul.hMul

    Proof uses: Nat.recAux, Decidable.byContradiction, Not, of_eq_true, Eq.trans, True, congrArg, id, Eq.mp, congr, zero_add, pow_zero, eq_self, S_comp_9.match_1, List.sum, Nat.digits, List.nil, List, Nat.digits_zero, add_zero and 86 more

    123 instances, coercions and auxiliary constants left out.

    Tactic trace: 27 steps

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

  7. lemma S_comp_49 line 113 source

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

    Statement uses: Nat, Eq, HAdd.hAdd, OfNat.ofNat, HMul.hMul, HPow.hPow, S

    Proof uses: Nat.recAux, of_eq_true, Eq.trans, True, congrArg, id, Eq.mp, HSub.hSub, pow_zero, mul_one, Nat.Simproc.add_eq_le, of_decide_eq_true, LE.le, Eq.refl, Bool, Bool.true, eq_self, LT.lt, Decidable.byContradiction, Not and 48 more

    66 instances, coercions and auxiliary constants left out.

    Tactic trace: 31 steps

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

  8. lemma S_comp_5j line 133 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, HPow.hPow, Eq, HAdd.hAdd, S, HMul.hMul, HSub.hSub

    Proof uses: Exists, Nat.exists_eq_succ_of_ne_zero, Iff.mp, Ne, Nat.pos_iff_ne_zero, Decidable.byContradiction, Not, HMod.hMod, Nat.recAux, HDiv.hDiv, HEq, Eq.refl, HEq.refl, id, Nat.casesAuxOn, List.sum, Nat.digits, of_eq_true, Eq.trans, True and 45 more

    92 instances, coercions and auxiliary constants left out.

    Tactic trace: 22 steps

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

  9. def f line 146 source

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

    Statement uses: Nat, Int

    Proof uses: HSub.hSub, S, HMul.hMul, OfNat.ofNat

    7 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/oeis_103311_conjecture_0.lean:89 (different declaration text). Qualify references as f@path.

  10. lemma f_symm line 148 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, HPow.hPow, Eq, Int, HAdd.hAdd, f, HSub.hSub

    Proof uses: S, HMul.hMul, S_comp_5j, Eq.mpr, id, congrArg, Function.comp, LE.le, Nat.add_sub_of_le, Nat.le_sub_one_of_lt, Nat.succ, Nat.sub_add_cancel, LT.lt.pos, Eq.refl, S_comp_9, Decidable.byContradiction, List.sum, Nat.digits, Not

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

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

  11. def sign_f line 158 source

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

    Statement uses: Nat, Int

    Proof uses: Int.sign, f

  12. lemma sign_f_symm line 160 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, HPow.hPow, Eq, Int, HAdd.hAdd, sign_f, HSub.hSub

    Proof uses: f, Neg.neg, f_symm, eq_neg_of_add_eq_zero_right, of_eq_true, Int.sign, Eq.trans, True, congrArg, HMul.hMul, Finset.sum, Finset.range, LE.le, id, Eq.mp, Int.sign_neg, add_neg_cancel, eq_self

    73 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  13. lemma sum_symm_zero line 167 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, Eq, HDiv.hDiv, HPow.hPow, LE.le, Int, Finset.sum, Finset.Ico, HSub.hSub, HAdd.hAdd, sign_f

    Proof uses: Nat.recAux, of_eq_true, Eq.trans, True, EmptyCollection.emptyCollection, Finset, congrArg, Finset.sum_congr, congr, tsub_zero, add_zero, Finset.Ico_eq_empty_of_le, eq_true, True.intro, Membership.mem, Eq.refl, eq_self, le_of_lt, Finset.sum_eq_sum_Ico_succ_bot, Decidable.byContradiction and 13 more

    60 instances, coercions and auxiliary constants left out.

    Tactic trace: 22 steps

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

  14. theorem target_theorem_0 line 189 source

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

    Statement uses: Nat, LT.lt, OfNat.ofNat, HSub.hSub, HDiv.hDiv, HPow.hPow, LE.le, Eq, A289411, HAdd.hAdd

    Proof uses: Nat.sub_add_cancel, Nat.div_pos, LE.le.trans, Nat.succ, of_decide_eq_true, id, Bool, Decidable.decide, Bool.true, Eq.refl, pow_right_monotone, Int, Finset.sum, Finset.Ico, sign_f, sum_symm_zero, le_add_right, Int.toNat, Finset.range, Eq.mpr and 30 more

    66 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/A224515_conjecture_existence.lean:269 (different declaration text), APNOutputs/OEIS/A309132_conjecture_carmichael.lean:375 (different declaration text), APNOutputs/OEIS/A382590_conjecture_kth_prime_factor_is_eventually_periodic.lean:303 (different declaration text), APNOutputs/OEIS/a091669_conjecture_primitive_root.lean:275 (different declaration text), APNOutputs/OEIS/a325046_odd_terms_at_k_times_k_plus_1.lean:187 (different declaration text), APNOutputs/OEIS/oeis_103311_conjecture_0.lean:240 (different declaration text), APNOutputs/OEIS/oeis_108_conjecture_2.lean:281 (different declaration text), APNOutputs/OEIS/oeis_113254_conjecture_0.lean:153 (different declaration text), APNOutputs/OEIS/oeis_175386_conjecture_0.lean:326 (different declaration text), APNOutputs/OEIS/oeis_194806_conjecture_0.lean:495 (different declaration text), APNOutputs/OEIS/oeis_227582_conjecture_0.lean:306 (different declaration text), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:730 (different declaration text), APNOutputs/OEIS/oeis_243106_conjecture_0.lean:164 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_0.lean:223 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_4.lean:841 (different declaration text), APNOutputs/OEIS/oeis_256012_conjecture_0.lean:116 (different declaration text), APNOutputs/OEIS/oeis_267581_conjecture_0.lean:212 (different declaration text), APNOutputs/OEIS/oeis_271591_conjecture_0.lean:518 (different declaration text), APNOutputs/OEIS/oeis_278070_conjecture_0.lean:91 (different declaration text), APNOutputs/OEIS/oeis_282779_conjecture_0.lean:141 (different declaration text), APNOutputs/OEIS/oeis_2897_conjecture_0.lean:427 (different declaration text), APNOutputs/OEIS/oeis_306424_conjecture_0.lean:300 (different declaration text), APNOutputs/OEIS/oeis_307865_conjecture_0.lean:212 (different declaration text), APNOutputs/OEIS/oeis_323557_conjecture_0.lean:214 (different declaration text), APNOutputs/OEIS/oeis_340737_conjecture_0.lean:456 (different declaration text), APNOutputs/OEIS/oeis_341254_conjecture_0.lean:136 (different declaration text), APNOutputs/OEIS/oeis_363347_conjecture_2.lean:848 (different declaration text), APNOutputs/OEIS/oeis_372761_conjecture_2.lean:756 (different declaration text), APNOutputs/OEIS/oeis_51293_conjecture_0.lean:517 (different declaration text), APNOutputs/OEIS/oeis_62567_conjecture_0.lean:329 (different declaration text), APNOutputs/OEIS/oeis_A028859_conjecture_1.lean:432 (different declaration text), APNOutputs/OEIS/oeis_A258667_conjecture_0.lean:446 (different declaration text), APNOutputs/OEIS/oeis_a211417_conjecture_specific.lean:264 (different declaration text), APNOutputs/OEIS/oeis_a237271_conjecture_2.lean:124 (different declaration text), APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.lean:1111 (different declaration text), APNOutputs/OEIS/oeis_a363102_conjecture_1.lean:302 (different declaration text), APNOutputs/OEIS/oeis_a368692_conjecture_integrality.lean:182 (different declaration text). Qualify references as target_theorem_0@path.

    Tactic trace: 25 steps

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