APNOutputs/OEIS/oeis_248802_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

16 declarations, 0 contain sorry, 0 declared as axioms

Imports (1)
  1. def a A248802: Smallest prime factor of $2^{(2^n+2)} + 3$ line 43 source

    Source documentation

    A248802: Smallest prime factor of $2^{(2^n+2)} + 3$.

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

    Statement uses: Nat

    Proof uses: Nat.minFac, HAdd.hAdd, HPow.hPow, OfNat.ofNat

    6 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/A309132_conjecture_carmichael.lean:45 (different declaration text), APNOutputs/OEIS/a091669_conjecture_primitive_root.lean:46 (different declaration text), APNOutputs/OEIS/a325046_odd_terms_at_k_times_k_plus_1.lean:52 (different declaration text), APNOutputs/OEIS/oeis_103311_conjecture_0.lean:47 (different declaration text), APNOutputs/OEIS/oeis_108_conjecture_2.lean:45 (same statement text; different proof or body), APNOutputs/OEIS/oeis_113254_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_175386_conjecture_0.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/oeis_194806_conjecture_0.lean:50 (different declaration text), APNOutputs/OEIS/oeis_227582_conjecture_0.lean:60 (different declaration text), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:54 (different declaration text), APNOutputs/OEIS/oeis_243106_conjecture_0.lean:47 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_4.lean:43 (same statement text; different proof or body), APNOutputs/OEIS/oeis_267581_conjecture_0.lean:71 (different declaration text), APNOutputs/OEIS/oeis_271591_conjecture_0.lean:57 (same statement text; different proof or body), APNOutputs/OEIS/oeis_2897_conjecture_0.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/oeis_306424_conjecture_0.lean:52 (different declaration text), APNOutputs/OEIS/oeis_307865_conjecture_0.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/oeis_323557_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_341254_conjecture_0.lean:52 (different declaration text), APNOutputs/OEIS/oeis_372761_conjecture_2.lean:83 (different declaration text), APNOutputs/OEIS/oeis_62567_conjecture_0.lean:49 (different declaration text), APNOutputs/OEIS/oeis_A028859_conjecture_1.lean:43 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a211417_conjecture_specific.lean:44 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a237271_conjecture_2.lean:49 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.lean:46 (different declaration text), APNOutputs/OEIS/oeis_a363102_conjecture_1.lean:56 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a368692_conjecture_integrality.lean:47 (same statement text; different proof or body). Qualify references as a@path.

    def a (n : ℕ) : ℕ := (2 ^ (2 ^ n + 2) + 3).minFac
    …
  2. def B_seq line 84 source

    standard axioms: propext what this means

    Statement uses: Nat

    Proof uses: B_seq.match_1, Unit, OfNat.ofNat, HMod.hMod, Nat.succ, HPow.hPow

    8 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/oeis_227582_conjecture_0.lean:147 (different declaration text), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:437 (different declaration text). Qualify references as B_seq@path.

  3. def B_orbit line 88 source

    standard axioms: propext what this means

    Statement uses: Nat, List

    Proof uses: List.map, B_seq, List.range, OfNat.ofNat

    1 instances, coercions and auxiliary constants left out.

  4. lemma B_seq_in_orbit line 91 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Membership.mem, List, B_orbit, HMod.hMod, HPow.hPow, OfNat.ofNat, B_seq

    Proof uses: Nat.recAux, List.range, of_decide_eq_true, id, Eq, Bool, Decidable.decide, Bool.true, Eq.refl, Iff.mpr, List.map, Exists, And, List.mem_map, Exists.intro, And.intro, rfl

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 7 steps

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

  5. lemma B_seq_eq_pow line 99 source

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

    Statement uses: Nat, Eq, ZMod, B_seq, HPow.hPow, OfNat.ofNat

    Proof uses: Nat.recAux, Eq.mpr, HMod.hMod, id, congrArg, B_seq.eq_1, pow_zero, pow_one, ZMod.natCast_mod, HAdd.hAdd, Nat.succ, B_seq.eq_2, Nat.cast_pow, HMul.hMul, rfl, Eq.symm, pow_mul, Eq.refl

    48 instances, coercions and auxiliary constants left out.

    Tactic trace: 12 steps

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

  6. lemma zmod_eq_zero_iff_dvd line 111 source

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

    Statement uses: Nat, CharP, ZMod, Iff, Eq, OfNat.ofNat, Dvd.dvd

    Proof uses: CharP.cast_eq_zero_iff

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  7. lemma X_not_div line 114 source

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

    Statement uses: Nat, NeZero, Membership.mem, List, B_orbit, HMod.hMod, HPow.hPow, OfNat.ofNat, Ne, HAdd.hAdd, HMul.hMul, ZMod

    Proof uses: B_seq, B_seq_in_orbit, Eq, B_seq_eq_pow, Eq.mpr, id, congrArg, Mathlib.Meta.NormNum.isNat_eq_true, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Mathlib.Meta.NormNum.instAtLeastTwo, Mathlib.Meta.NormNum.isNat_pow, Mathlib.Meta.NormNum.IsNatPowT.run, Mathlib.Meta.NormNum.IsNatPowT.trans, Nat.pow, Mathlib.Meta.NormNum.IsNatPowT.bit0, Eq.symm, pow_mul, pow_add, Mathlib.Meta.NormNum.IsNatPowT.bit1 and 32 more

    83 instances, coercions and auxiliary constants left out.

    Tactic trace: 31 steps

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

  8. def orbit_step_ok line 144 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Bool

    Proof uses: List, B_orbit, List.all, Decidable.decide, Membership.mem, HMod.hMod, HPow.hPow, OfNat.ofNat

    11 instances, coercions and auxiliary constants left out.

  9. def orbit_safe_ok line 148 source

    standard axioms: propext what this means

    Statement uses: Nat, Bool

    Proof uses: List, B_orbit, List.all, Decidable.decide, Ne, HMod.hMod, HAdd.hAdd, HMul.hMul, OfNat.ofNat, Eq

    9 instances, coercions and auxiliary constants left out.

  10. lemma extract_props line 152 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, LE.le, OfNat.ofNat, And, Eq, Bool, orbit_step_ok, Bool.true, orbit_safe_ok

    Proof uses: dite, of_decide_eq_true, id, Decidable.decide, Eq.refl, Eq.symm, le_antisymm, Nat.rawCast, Mathlib.Tactic.IntervalCases.of_le_right, Mathlib.Meta.NormNum.IsNat.to_raw_eq, Mathlib.Meta.NormNum.isNat_ofNat, Not, Nat.ge_of_not_lt, Mathlib.Tactic.IntervalCases.of_le_left

    10 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  11. lemma step_of_ok line 156 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Eq, Bool, orbit_step_ok, Bool.true, Membership.mem, List, B_orbit, HMod.hMod, HPow.hPow, OfNat.ofNat

    Proof uses: Decidable.decide, Iff.mp, List.all, List.all_eq_true, of_decide_eq_true

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

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

  12. lemma safe_of_ok line 162 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Eq, Bool, orbit_safe_ok, Bool.true, Membership.mem, List, B_orbit, Ne, HMod.hMod, HAdd.hAdd, HMul.hMul, OfNat.ofNat

    Proof uses: Decidable.decide, Iff.mp, List.all, List.all_eq_true, of_decide_eq_true

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

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

  13. lemma not_dvd_of_le_66 line 168 source

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

    Statement uses: Nat, LE.le, OfNat.ofNat, Not, Dvd.dvd, HAdd.hAdd, HPow.hPow, HMul.hMul

    Proof uses: not_dvd_of_le_66.match_1, And, Eq, Bool, orbit_step_ok, Bool.true, orbit_safe_ok, extract_props, Membership.mem, List, B_orbit, HMod.hMod, step_of_ok, Ne, safe_of_ok, NeZero, NeZero.mk, ZMod, X_not_div, CharP and 10 more

    55 instances, coercions and auxiliary constants left out.

    Tactic trace: 15 steps

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

  14. lemma B_seq_67_eq_16 line 186 source

    standard axioms: propext what this means

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

    Proof uses: Nat.recAux, Eq.refl, Eq.mpr, HAdd.hAdd, HMod.hMod, HPow.hPow, id, congrArg, Nat.succ, B_seq.eq_2

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 6 steps

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

  15. lemma dvd_67 line 192 source

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

    Statement uses: Nat, Dvd.dvd, OfNat.ofNat, HAdd.hAdd, HPow.hPow, HMul.hMul

    Proof uses: Eq, HMod.hMod, B_seq, Eq.mpr, id, congrArg, B_seq_67_eq_16, Eq.refl, CharP, ZMod, Iff.mpr, zmod_eq_zero_iff_dvd, Nat.dvd_of_mod_eq_zero, Eq.mp, Eq.trans, Nat.cast_add, Nat.cast_mul, Mathlib.Meta.NormNum.isNat_eq_true, Mathlib.Meta.NormNum.isNat_ofNat, Mathlib.Meta.NormNum.instAtLeastTwo and 36 more

    58 instances, coercions and auxiliary constants left out.

    Tactic trace: 32 steps

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

  16. theorem target_theorem_0 line 223 source

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

    Statement uses: Nat, Eq, a, HAdd.hAdd, HMul.hMul, OfNat.ofNat

    Proof uses: Dvd.dvd, HPow.hPow, dvd_67, LE.le, Not, not_dvd_of_le_66, Nat.Prime, of_decide_eq_true, id, Bool, Decidable.decide, Bool.true, Eq.refl, Ne, GE.ge, Nat.le_add_left, False, Eq.mp, congrArg, Nat.minFac and 7 more

    26 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_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_289411_conjecture_0.lean:189 (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: 23 steps

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