FormalConjectures/OEIS/1146.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
Imports (1)
- def
OeisA1146.aThe primary defining sequencealine 35 sourceSource documentation
The primary defining sequence
a. $a(n) = 2^{2^n}$.standard axioms: propext what this means
Statement uses:
NatProof uses:
HPow.hPow,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := 2 ^ (2 ^ n) …
- theorem
OeisA1146.a_0line 38 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA1146.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA1146.a_1line 41 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA1146.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA1146.a_2line 44 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA1146.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA1146.a_3line 47 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA1146.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA1146.n_add_two_le_two_powline 50 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,HAdd.hAdd,HPow.hPowProof uses:
Nat.le_induction,of_decide_eq_true,id,Eq,Bool,Decidable.decide,Bool.true,Eq.refl,Trans.trans,Decidable.byContradiction,Not,Nat.add_le_add_right,Nat.add_le_add_left,Nat.one_le_pow',Mathlib.Tactic.Ring.of_eq,HMul.hMul,Nat.rawCast,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.pow_congr,Mathlib.Tactic.Ring.cast_posand 27 more37 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA1146.divisibility_factThe forward direction: if $k = a(n)$ for $n \ge 2$, then $k^4 - 1$ divides $2^k - 1$ line 65 sourceSource documentation
The forward direction: if $k = a(n)$ for $n \ge 2$, then $k^4 - 1$ divides $2^k - 1$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Dvd.dvd,HSub.hSub,HPow.hPow, OeisA1146.aProof uses:
HAdd.hAdd,Eq,HMul.hMul,id,Trans.trans,Eq.refl,Eq.mpr,congrArg,Eq.symm,pow_add,HPow,Eq.rec,Nat.add_sub_cancel', OeisA1146.n_add_two_le_two_pow,pow_mul,mul_assoc,Nat.sub_one_dvd_pow_sub_one28 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
theorem divisibility_fact (n : ℕ) (hn : 2 ≤ n) : (((a n)^4 - 1) : ℕ) ∣ (2^(a n) - 1 : ℕ) := by …
Mentions: OeisA1146.a
- theorem
OeisA1146.conjectureI conjecture that { $a(n)$ ; $n>1$ } are the numbers such that $n^4-1$ divides $2^n-1$, intersection of A247219 and A247165 sorry line 91 sourceSource documentation
I conjecture that { $a(n)$ ; $n>1$ } are the numbers such that $n^4-1$ divides $2^n-1$, intersection of A247219 and A247165. - M. F. Hasler, Jul 25 2015 This formalizes the reverse direction.
depends on sorry what this means
Statement uses:
Nat,Dvd.dvd,HSub.hSub,HPow.hPow,OfNat.ofNat,GT.gt,Exists,And,LE.le,Eq, OeisA1146.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous20 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : ∀ k : ℕ, ((k^4 - 1) : ℕ) ∣ (2^k - 1 : ℕ) → k > 1 → ∃ n : ℕ, 2 ≤ n ∧ k = a n := by …
Mentions: OeisA1146.a