APNOutputs/OEIS/oeis_372761_conjecture_2.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: 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
47 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- def
continued_fraction_tailRecursive function to compute $A_k(n)$, the denominator tail $k - \frac{k+1}{A_{k+1}(n)}$ line 46 sourceSource documentation
Recursive function to compute $A_k(n)$, the denominator tail $k - \frac{k+1}{A_{k+1}(n)}$. The base case is at $k = n - 1$, where $A_{n-1} = (n-1) - \frac{n}{n+4}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses:
WellFounded.Nat.fix,HSub.hSub,InvImage,LT.lt,dite,GE.ge,OfNat.ofNat,Eq,HDiv.hDiv,HAdd.hAdd,Not,And,LE.le20 instances, coercions and auxiliary constants left out.
noncomputable def continued_fraction_tail (n : ℕ) : ℕ → ℚ | k => if n ≥ 4 then if k = n - 1 then (n - 1 : ℚ) - (n : ℚ) / (n + 4 : ℚ) else if 3 ≤ k ∧ k < n - 1 then let k_succ_val := continued_fraction_tail n (k + 1) … - def
continued_fraction_valThe total value of the continued fraction $C_n$ line 65 sourceSource documentation
The total value of the continued fraction $C_n$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses:
ite,LE.le,OfNat.ofNat,Eq,HSub.hSub,HDiv.hDiv, continued_fraction_tail10 instances, coercions and auxiliary constants left out.
noncomputable def continued_fraction_val (n : ℕ) : ℚ := …
- def
aA372761: Denominator of the continued fraction $$ \frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{n+4}}}}}} $$ line 83 sourceSource documentation
A372761: Denominator of the continued fraction $$ \frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{n+4}}}}}} $$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,LT.lt,OfNat.ofNat,Rat.den, continued_fraction_val3 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/OEIS/A309132_conjecture_carmichael.lean:45 (same statement text; different proof or body), APNOutputs/OEIS/a091669_conjecture_primitive_root.lean:46 (same statement text; different proof or body), 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 (different declaration text), APNOutputs/OEIS/oeis_113254_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_175386_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_194806_conjecture_0.lean:50 (same statement text; different proof or body), APNOutputs/OEIS/oeis_227582_conjecture_0.lean:60 (same statement text; different proof or body), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:54 (same statement text; different proof or body), APNOutputs/OEIS/oeis_243106_conjecture_0.lean:47 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_0.lean:43 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_4.lean:43 (different declaration text), APNOutputs/OEIS/oeis_267581_conjecture_0.lean:71 (same statement text; different proof or body), APNOutputs/OEIS/oeis_271591_conjecture_0.lean:57 (different declaration text), APNOutputs/OEIS/oeis_2897_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_306424_conjecture_0.lean:52 (same statement text; different proof or body), APNOutputs/OEIS/oeis_307865_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_323557_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_341254_conjecture_0.lean:52 (same statement text; different proof or body), APNOutputs/OEIS/oeis_62567_conjecture_0.lean:49 (same statement text; different proof or body), APNOutputs/OEIS/oeis_A028859_conjecture_1.lean:43 (different declaration text), APNOutputs/OEIS/oeis_a211417_conjecture_specific.lean:44 (different declaration text), APNOutputs/OEIS/oeis_a237271_conjecture_2.lean:49 (different declaration text), APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a363102_conjecture_1.lean:56 (different declaration text), APNOutputs/OEIS/oeis_a368692_conjecture_integrality.lean:47 (different declaration text). Qualify references as a@path.
noncomputable def a (n : ℕ) : ℕ := …
- def
sum_factline 122 sourceno axioms what this means
Statement uses:
NatProof uses:
sum_fact.match_1,Unit,OfNat.ofNat,Nat.succ,HAdd.hAdd,Nat.factorial5 instances, coercions and auxiliary constants left out.
- def
IntQ2line 126 sourceno axioms what this means
Statement uses:
Nat,IntProof uses:
HAdd.hAdd,HMul.hMul,HSub.hSub,OfNat.ofNat, sum_fact,Nat.factorial11 instances, coercions and auxiliary constants left out.
- def
Q_explicitline 129 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses:
ite,Eq,OfNat.ofNat,HSub.hSub,HMul.hMul,HDiv.hDiv, IntQ2, sum_fact,Nat.factorial14 instances, coercions and auxiliary constants left out.
- lemma
Q_explicit_recurrenceline 135 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, Q_explicit,HSub.hSub,HMul.hMul,HAdd.hAddProof uses:
id,Q_explicit_recurrence.match_1,ite,HDiv.hDiv, IntQ2, sum_fact,Nat.factorial,of_eq_true,Eq.trans,True,False,congr,congrArg,ite_congr,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_natSub,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Booland 105 more150 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
tail_eq_baseline 143 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, continued_fraction_tail,HSub.hSub,HDiv.hDiv, Q_explicitProof uses:
id,Eq.rec,dite,HAdd.hAdd,Not,And,LE.le,LT.lt,InvImage,WellFounded.Nat.fix,ite,HMul.hMul, IntQ2, sum_fact,Nat.factorial,tail_eq_base.match_1,Function.comp,Eq.trans,dif_pos,rfland 96 more138 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
tail_eq_desc_0line 150 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, continued_fraction_tail,HSub.hSub,HDiv.hDiv, Q_explicitProof uses:
id,Eq.rec,dite,HAdd.hAdd,Not,And,LE.le,LT.lt,InvImage,WellFounded.Nat.fix,ite,HMul.hMul, IntQ2, sum_fact,Nat.factorial,tail_eq_base.match_1,Function.comp,Eq.trans,dif_pos,rfland 96 more138 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Q_explicit_posline 157 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,HSub.hSub,GT.gt,Rat, Q_explicitProof uses:
id,Eq.mpr,ite,Eq,HMul.hMul,HDiv.hDiv, IntQ2, sum_fact,Nat.factorial,LT.lt,HAdd.hAdd,Eq.trans,False,congrArg,ite_congr,Not,eq_false,mt,LE.le.trans_eq,Mathlib.Meta.NormNum.isNat_le_falseand 40 more138 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- lemma
Q_explicit_nzline 165 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,HSub.hSub,Ne,Rat, Q_explicitProof uses:
id,ite,Eq,HMul.hMul,HDiv.hDiv, IntQ2, sum_fact,Nat.factorial,Eq.mpr,Not,HAdd.hAdd,Int,sum_fact.match_1,Unit,Nat.succ,And,Nat.brecOn.go,Eq.trans,Or,congrArgand 65 more153 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
tail_unfoldline 173 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,LT.lt,HSub.hSub,Ne,Rat, continued_fraction_tail,HAdd.hAdd,Eq,HDiv.hDivProof uses:
id,Eq.rec,dite,Not,And,InvImage,WellFounded.Nat.fix,Function.comp,Eq.trans,dif_pos,dif_neg,LT.lt.ne,And.intro,Eq.symm,WellFounded.Nat.fix_eq35 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
tail_eq_desc_step_auxline 179 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,LT.lt,HSub.hSub,Eq,Rat, continued_fraction_tail,HAdd.hAdd,HDiv.hDiv, Q_explicit,NeProof uses:
Eq.mpr,HMul.hMul,ite, IntQ2, sum_fact,Nat.factorial,id,congrArg,Eq.trans,div_div_eq_mul_div,sub_div',Not,congr_arg,tail_eq_desc_step_aux.match_1,congr,False,Nat.cast_add,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNatand 94 more130 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
tail_eq_descline 188 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,HSub.hSub,Eq,Rat, continued_fraction_tail,HDiv.hDiv, Q_explicitProof uses:
Nat.recAux,Decidable.byContradiction,Not,Eq.mpr,id,congrArg, tail_eq_desc_0,HAdd.hAdd,Eq.mp,rfl,LT.lt,Ne, Q_explicit_nz,Or.resolve_right,Iff.mp,Or,div_eq_zero_iff,cast,Eq.trans,Eq.symmand 3 more57 instances, coercions and auxiliary constants left out.
Tactic trace: 40 steps
Open to load the checked before-and-after goal states.
- lemma
tail_eqline 220 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,HSub.hSub,Eq,Rat, continued_fraction_tail,HDiv.hDiv, Q_explicitProof uses:
Decidable.byContradiction,Not, tail_eq_desc,Eq.mp,congrArg17 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
val_eq_unfoldline 229 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Ne,Rat, continued_fraction_tail,HSub.hSub,HDiv.hDiv,Eq, continued_fraction_valProof uses:
id,val_eq_unfold.match_1,Star.star,Decidable.rec,LE.le,Decidable,Not,ite,HAdd.hAdd,if_neg32 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Q2_eqline 235 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Rat, Q_explicit,OfNat.ofNat,HDiv.hDiv, IntQ2Proof uses:
of_eq_true,ite,HSub.hSub,HMul.hMul, sum_fact,Nat.factorial,HAdd.hAdd,Int,Eq.trans,True,False,congr,congrArg,ite_congr,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.falseand 22 more73 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
val_eq_auxline 238 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, continued_fraction_tail,HDiv.hDiv, Q_explicit,Ne,HSub.hSub,HMul.hMulProof uses:
Eq.mpr,id,congrArg,div_div_eq_mul_div,sub_div',one_div_div,Eq.refl44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
val_eqline 245 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, continued_fraction_val,HDiv.hDiv, Q_explicitProof uses: continued_fraction_tail, tail_eq,
Decidable.byContradiction,LE.le,Not,HSub.hSub,Ne, Q_explicit_nz,HMul.hMul,HAdd.hAdd, Q_explicit_recurrence,rfl,Eq.mp,congrArg,congr,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.isNat_addand 13 more53 instances, coercions and auxiliary constants left out.
Tactic trace: 38 steps
Open to load the checked before-and-after goal states.
- lemma
a_val_auxline 274 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,Rat, continued_fraction_val,HDiv.hDiv, Q_explicit,HSub.hSub,HMul.hMul, IntQ2,IntProof uses:
of_eq_true,Eq.trans,True,congr,congrArg,div_div,Int.cast_mul,Int.cast_ofNat,Int.cast_sub,Int.cast_natCast,eq_self66 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
a_valline 281 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,a,Rat.den,HDiv.hDiv,Rat, IntQ2,HMul.hMul,Int,HSub.hSubProof uses: continued_fraction_val, Q_explicit, val_eq,
rfl, Q2_eq, a_val_aux,Eq.mpr,ite,LT.lt,id,congrArg,a.eq_1,Not,of_eq_true,Eq.trans,True,ite_cond_eq_false,eq_false,eq_self,Eq.refl33 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/OEIS/oeis_227582_conjecture_0.lean:101 (different declaration text), APNOutputs/OEIS/oeis_341254_conjecture_0.lean:100 (different declaration text). Qualify references as a_val@path.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
rat_den_dividesline 293 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Int,Ne,OfNat.ofNat,Dvd.dvd,Nat,Rat.den,HDiv.hDiv,Rat,Int.natAbsProof uses:
cast,Rat.divInt,Eq.symm,congrArg,Iff.mp,Int.natCast_dvd,Rat.den_dvd23 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
a_eq_p_implies_p_dividesline 296 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Ne,Eq,a,Dvd.dvd,Int,HSub.hSub,HMul.hMulProof uses:
LT.lt,Or,eq_or_lt_of_le,Eq.mpr,Rat.den, continued_fraction_val,id,congrArg,Eq.mp,Eq.trans,ite,ite_cond_eq_false,of_eq_true,Rat,LE.le,HDiv.hDiv, continued_fraction_tail,True,False,ite_congrand 46 more93 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- lemma
intQ2_mod_pline 310 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,HSub.hSub,HMul.hMul,Exists,Int, IntQ2,HAdd.hAdd,Nat.factorialProof uses:
Eq.mpr,Dvd.dvd, sum_fact,id,Eq.trans,congrArg,funext,dvd_of_mul_left_dvd,Exists.intro,Eq.mp,congr,Nat.cast_sub,of_eq_true,LE.le,eq_true,LE.le.trans',mul_right_mono,eq_true_of_decide,Eq.refl,Booland 3 more61 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
p_dvd_intQ2_of_geline 315 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,HAdd.hAdd,OfNat.ofNat,Nat.Prime,Dvd.dvd,Int,HSub.hSub,HMul.hMul, IntQ2Proof uses:
id,Dvd.dvd.add, sum_fact,Nat.factorial,Dvd.dvd.mul_right,Dvd.dvd.mul_left,cast,Eq.symm,Iff.mpr,LE.le,Nat.Prime.dvd_factorial,Nat.le_sub_of_add_le35 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
p_sq_dvdline 320 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Eq,a,Dvd.dvd,Int, IntQ2,HPow.hPow,HMul.hMul,HSub.hSubProof uses:
Rat.den,HDiv.hDiv,Rat,a_val,GT.gt,Decidable.byContradiction,Not,Ne,cast,Eq.trans,congrArg,Eq.symm,Nat.cast_zero,Int.cast_zero,Ne.symm,LT.lt.ne,Eq.mp,rfl,Eq.mpr,idand 54 more112 instances, coercions and auxiliary constants left out.
Tactic trace: 61 steps
Open to load the checked before-and-after goal states.
- lemma
p_ge_7line 378 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Ne,OfNat.ofNat,GE.geProof uses:
p_ge_7.match_1,absurd,of_decide_eq_false,Eq.refl,Bool,Decidable.decide,HAdd.hAdd,Decidable.byContradiction,Not9 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
cross_mul_eqline 381 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Eq,a,Exists,Int,And,HMul.hMul,HSub.hSub, IntQ2,Nat.Coprime,Int.natAbsProof uses:
Rat.den,HDiv.hDiv,Rat,a_val,GT.gt,Decidable.byContradiction,Not,Ne,cast,Eq.trans,congrArg,Eq.symm,Nat.cast_zero,Int.cast_zero,Ne.symm,LT.lt.ne,Eq.mp,rfl,Eq.mpr,idand 56 more102 instances, coercions and auxiliary constants left out.
Tactic trace: 39 steps
Open to load the checked before-and-after goal states.
- lemma
p_sq_dvd_5n_4line 415 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Ne,Eq,a,HAdd.hAdd,Dvd.dvd,Int,HPow.hPow,HSub.hSub,HMul.hMulProof uses: a_eq_p_implies_p_divides,
Decidable.byContradiction,Not, IntQ2, p_dvd_intQ2_of_ge,Exists,And,Nat.Coprime,Int.natAbs, cross_mul_eq,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Mathlib.Tactic.Ring.pow_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Tactic.Ring.pow_add,Mathlib.Tactic.Ring.single_powand 40 more65 instances, coercions and auxiliary constants left out.
Tactic trace: 42 steps
Open to load the checked before-and-after goal states.
- lemma
p_pow_dvd_intQ2line 456 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Dvd.dvd,Int,HPow.hPow,HSub.hSub,HMul.hMul, IntQ2Proof uses:
Eq.mpr,HAdd.hAdd, sum_fact,Nat.factorial,id,Eq,congrArg,IntQ2.eq_1,Dvd.dvd.add,Dvd.dvd.mul_right,mul_comm,Eq.mp,Eq.symm,Dvd.dvd.mul_left,dvd_trans,Nat.casesAuxOn,absurd,of_decide_eq_false,Eq.refl,Booland 162 more187 instances, coercions and auxiliary constants left out.
Tactic trace: 52 steps
Open to load the checked before-and-after goal states.
- lemma
p_pow_dvd_5n_4_stepline 482 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Ne,Eq,a,Dvd.dvd,Int,HPow.hPow,HSub.hSub,HMul.hMul,HAdd.hAddProof uses: p_ge_7, IntQ2, p_pow_dvd_intQ2,
Exists,And,Nat.Coprime,Int.natAbs, cross_mul_eq,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Mathlib.Tactic.Ring.instCommSemiringNat,Mathlib.Tactic.Ring.pow_congr,Mathlib.Tactic.Ring.atom_pf,Mathlib.Tactic.Ring.add_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Tactic.Ring.add_pf_add_gt,Mathlib.Tactic.Ring.add_pf_add_zero,Mathlib.Tactic.Ring.pow_addand 40 more63 instances, coercions and auxiliary constants left out.
Tactic trace: 42 steps
Open to load the checked before-and-after goal states.
- lemma
p_pow_dvd_all_shiftedline 523 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Ne,Eq,a,HAdd.hAdd,Dvd.dvd,Int,HPow.hPow,HSub.hSub,HMul.hMulProof uses:
Nat.recAux,rfl,Eq.mpr,id,congrArg, p_sq_dvd_5n_4,Decidable.byContradiction,Not, p_pow_dvd_5n_4_step34 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
p_pow_gtline 537 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,GT.gt,Int,HPow.hPow,HMul.hMul,HSub.hSubProof uses:
LT.lt.trans,sub_lt_self,Int.NonNeg.mk,Nat.succ,cast,LT.lt,Eq.symm,Eq.trans,congr,congrArg,Nat.lt_pow_self,Decidable.byContradiction,Not68 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
a_eq_p_implies_n_ltline 540 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,Nat.Prime,Ne,Eq,a,LT.lt,HAdd.hAddProof uses:
Decidable.byContradiction,Not,Nat.Prime.two_le,Eq.mp,LE.le,Dvd.dvd,Int,HPow.hPow,HSub.hSub,HMul.hMul, p_pow_dvd_all_shifted, p_ge_7,Eq.mpr,id,congrArg,GT.gt, p_pow_gt,Int.le_of_dvd,False.elim,Falseand 58 more90 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
- def
g_pline 557 sourceno axioms what this means
Statement uses:
NatProof uses:
ite,Eq,HMod.hMod,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
- lemma
g_p_propline 564 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Ne,OfNat.ofNat,Eq,HMod.hMod,And,HMul.hMul, g_p,Membership.mem,Set,Insert.insert,Singleton.singletonProof uses:
id,g_p_prop.match_1,ite,False,Function.comp,Dvd.dvd,Iff.mp,Nat.Prime.dvd_iff_eq,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.dvd_of_mod_eq_zero,of_eq_true,Eq.trans,True,congr,congrArg,ite_cond_eq_trueand 9 more27 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- def
n_pline 569 sourceno axioms what this means
Statement uses:
NatProof uses:
HDiv.hDiv,HAdd.hAdd,HMul.hMul, g_p,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
- lemma
n_p_propline 571 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Ne,OfNat.ofNat,Eq,HMod.hMod,And,HSub.hSub,HMul.hMul, n_p, g_p,GE.geProof uses:
id,Decidable,HDiv.hDiv,HAdd.hAdd,ite,Not,Eq.mpr,congr,congrArg,if_neg,False,Iff.mp,Dvd.dvd,Nat.Prime.dvd_iff_eq,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Decidable.byContradictionand 3 more34 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- lemma
existence_intQ2_not_dvdline 581 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,Not,Dvd.dvd,Int, IntQ2, n_pProof uses:
id,Eq.mpr,HAdd.hAdd,HMul.hMul,HSub.hSub,HDiv.hDiv, g_p, sum_fact,Nat.factorial,Int.subNatNat,Eq.trans,congrArg,Eq.symm,Nat.cast_one,congr,ite,g_p.eq_1,Decidable,if_neg,absurdand 121 more170 instances, coercions and auxiliary constants left out.
Tactic trace: 76 steps
Open to load the checked before-and-after goal states.
- lemma
a_3_eq_11line 615 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,a,OfNat.ofNatProof uses:
Eq.mpr,id,congrArg,Eq.symm,propext,eq_comm,ite,LT.lt,Rat.den, continued_fraction_val,a.eq_1,of_eq_true,Eq.trans,True,False,ite_congr,eq_false,Mathlib.Meta.NormNum.isNat_lt_false,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refland 35 more57 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
n_p_ge_4line 619 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,GE.ge, n_pProof uses:
id,Eq.mpr,HDiv.hDiv,HAdd.hAdd,HMul.hMul, g_p,LT.lt,ite,Eq.trans,HSub.hSub,of_eq_true,eq_true_of_decide,Eq.refl,Bool,Bool.true,congrArg,Nat.Simproc.add_sub_le,of_decide_eq_true,LE.le,n_p_ge_4.match_2and 14 more35 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
p_mod_5_casesline 625 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Ne,OfNat.ofNat,Or,Eq,HMod.hModProof uses:
Dvd.dvd,Nat.dvd_of_mod_eq_zero,Nat.Prime.eq_one_or_self_of_dvd,Or.inl,GT.gt,Nat.Prime.one_lt,Decidable.byContradiction,Not,Or.inr,Eq.symm,Eq.refl13 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
two_g_p_dvd_intQ2line 639 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,Dvd.dvd,Int,HMul.hMul, g_p, IntQ2, n_pProof uses:
Or, p_mod_5_cases,Eq.mpr,HAdd.hAdd,HSub.hSub,HDiv.hDiv, sum_fact,Nat.factorial,id,congr,ite,congrArg,Eq.trans,ite_cond_eq_true,True,eq_self,Nat.cast_one,mul_one,one_mul,Nat.cast_addand 143 more184 instances, coercions and auxiliary constants left out.
Tactic trace: 81 steps
Open to load the checked before-and-after goal states.
- lemma
a_n_p_eq_p_of_ne_11line 681 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,a, n_pProof uses:
GE.ge, n_p_ge_4,Rat.den,HDiv.hDiv,Rat, IntQ2,HMul.hMul,Int,HSub.hSub,a_val,And, g_p, n_p_prop,And.left,Decidable.byContradiction,Not,Eq.mpr,id,congrArg,Nat.cast_muland 58 more101 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
- lemma
uniqueness_partline 725 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,GE.ge,aProof uses:
False,False.elim,Eq.mp,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_natMod,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Eq.symm,Dvd.dvd,Int,HSub.hSub,HMul.hMul, a_eq_p_implies_p_divides,dvd_sub,Mathlib.Tactic.Ring.of_eq,HAdd.hAdd,HPow.hPowand 53 more56 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
- lemma
existence_partline 742 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,Exists,And,GE.ge,aProof uses:
dite,Exists.intro,And.intro,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.true, a_3_eq_11,Eq.symm,Not, n_p,HSub.hSub,HMul.hMul, g_p, n_p_prop,And.right, a_n_p_eq_p_of_ne_1121 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- theorem
target_theorem_0line 756 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,And,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,ExistsUnique,GE.ge,aProof uses:
Exists, existence_part,Exists.intro,And.intro, uniqueness_part10 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_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_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: 7 steps
Open to load the checked before-and-after goal states.