FormalConjectures/OEIS/62567.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
10 declarations, 1 contain sorry, 0 declared as axioms
Reversible multiples $a(3^n) = 10^{3^{n-2}} - 1$ for powers of $3$
First multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists.
References:
- A062567
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA62567.reverseNatThe number whose digits in base 10 are $n$'s digits reversed line 39 sourceSource documentation
The number whose digits in base 10 are $n$'s digits reversed.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.ofDigits,OfNat.ofNat,List.reverse,Nat.digits2 instances, coercions and auxiliary constants left out.
def reverseNat (k : ℕ) : ℕ := …
- def
OeisA62567.aFirst multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists line 47 sourceSource documentation
First multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,And,GT.gt,Dvd.dvd, OeisA62567.reverseNat,HMul.hMul,dite,Exists,Classical.propDecidable,Nat.find,Not9 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- lemma
OeisA62567.a_eq_selfline 64 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,Dvd.dvd, OeisA62567.reverseNat,Eq, OeisA62567.aProof uses:
id,Eq.mpr,ite,And,HMul.hMul,dite,Exists,Classical.propDecidable,Nat.find,Not,congrArg,if_neg,Exists.intro,And.intro,Decidable.byContradiction,one_mul,dif_pos,LT.lt,propext,Nat.find_eq_iffand 17 more30 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.reverseNat_of_ltline 79 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Ne,OfNat.ofNat,LT.lt,Eq, OeisA62567.reverseNatProof uses:
id,Eq.mpr,Nat.ofDigits,List.reverse,Nat.digits,List.cons,List.nil,congrArg,List,Nat.digits_of_lt,Eq.refl5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.a_1line 85 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA62567.a,OfNat.ofNatProof uses: OeisA62567.a_eq_self,
Decidable.byContradiction,GT.gt,Not,Eq.mpr,Dvd.dvd, OeisA62567.reverseNat,id,congrArg, OeisA62567.reverseNat_of_lt,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true,Eq.refl,LT.lt,dvd_refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.a_2line 89 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA62567.a,OfNat.ofNatProof uses: OeisA62567.a_eq_self,
Decidable.byContradiction,GT.gt,Not,Eq.mpr,Dvd.dvd, OeisA62567.reverseNat,id,congrArg, OeisA62567.reverseNat_of_lt,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true,Eq.refl,LT.lt,dvd_refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.a_3line 93 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA62567.a,OfNat.ofNatProof uses: OeisA62567.a_eq_self,
Decidable.byContradiction,GT.gt,Not,Eq.mpr,Dvd.dvd, OeisA62567.reverseNat,id,congrArg, OeisA62567.reverseNat_of_lt,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true,Eq.refl,LT.lt,dvd_refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.a_4line 97 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA62567.a,OfNat.ofNatProof uses: OeisA62567.a_eq_self,
Decidable.byContradiction,GT.gt,Not,Eq.mpr,Dvd.dvd, OeisA62567.reverseNat,id,congrArg, OeisA62567.reverseNat_of_lt,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true,Eq.refl,LT.lt,dvd_refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA62567.a_5line 101 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA62567.a,OfNat.ofNatProof uses: OeisA62567.a_eq_self,
Decidable.byContradiction,GT.gt,Not,Eq.mpr,Dvd.dvd, OeisA62567.reverseNat,id,congrArg, OeisA62567.reverseNat_of_lt,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true,Eq.refl,LT.lt,dvd_refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA62567.a_three_pow_eqsorry line 115 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Iff,Eq, OeisA62567.a,HPow.hPow,HSub.hSub,OrProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.