FormalConjectures/OEIS/306424.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
15 declarations, 1 contain sorry, 0 declared as axioms
Maximality of $k = 43$ with restricted digit counts in bases $3 \le b < k$
Numbers $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits.
The sequence Numbers $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits.
References:
- A306424
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA306424.ConditionNumbers $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits line 45 sourceSource documentation
Numbers $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
And,LE.le,OfNat.ofNat,LT.lt,Finset.card,List.toFinset,Nat.digits4 instances, coercions and auxiliary constants left out.
def Condition (k : ℕ) : Prop := …
- def
OeisA306424.aThe $n$-th number $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits line 53 sourceSource documentation
The $n$-th number $k$ such that the base $b$ expansion of $k$ for each $b = 3..k-1$ never contains more than two distinct digits.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.nth, OeisA306424.Conditionnoncomputable def a (n : ℕ) : ℕ := n.nth Condition …
Mentions: OeisA306424.Condition
- lemma
OeisA306424.Condition_lt_fourline 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat, OeisA306424.ConditionProof uses:
And,LT.lt,Finset.card,List.toFinset,Nat.digits,Decidable.byContradiction,Not9 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_zeroline 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses: OeisA306424.Condition_lt_four,
Decidable.byContradiction,LE.le,Not5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_oneline 64 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses: OeisA306424.Condition_lt_four,
Decidable.byContradiction,LE.le,Not5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_twoline 67 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses: OeisA306424.Condition_lt_four,
Decidable.byContradiction,LE.le,Not5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_threeline 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses: OeisA306424.Condition_lt_four,
Decidable.byContradiction,LE.le,Not5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_fourline 73 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses:
And,LE.le,LT.lt,Finset.card,List.toFinset,Nat.digits,Eq,Decidable.byContradiction,Not,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.symm9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.Condition_fiveline 80 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA306424.Condition,
OfNat.ofNat,NatProof uses:
And,LE.le,LT.lt,Finset.card,List.toFinset,Nat.digits,dite,of_decide_eq_true,id,Eq,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.symm,le_antisymm,Nat.ge_of_not_lt,Mathlib.Tactic.IntervalCases.of_lt_right,Nat.rawCast,Mathlib.Meta.NormNum.IsNat.to_raw_eqand 3 more11 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.a_1line 88 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA306424.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.nth, OeisA306424.Condition,InfSet.sInf,Set.ofPred,And,LT.lt,congrArg,Nat.nth_eq_sInf,Nat.nth_zero_of_zero, OeisA306424.Condition_zero,Membership.mem,Set,And.intro, OeisA306424.Condition_one,zero_lt_one,Eq.symm,le_antisymm,Nat.ge_of_not_ltand 15 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.a_2line 105 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA306424.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.nth, OeisA306424.Condition,InfSet.sInf,Set.ofPred,And,LT.lt,congrArg,Nat.nth_eq_sInf,Nat.nth_zero_of_zero, OeisA306424.Condition_zero, OeisA306424.a_1,Membership.mem,Set,And.intro, OeisA306424.Condition_two,dite,LE.le,one_lt_twoand 18 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.a_3line 123 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA306424.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.nth, OeisA306424.Condition,InfSet.sInf,Set.ofPred,And,LT.lt,congrArg,Nat.nth_eq_sInf,Nat.nth_zero_of_zero, OeisA306424.Condition_zero, OeisA306424.a_1, OeisA306424.a_2,Membership.mem,Set,And.intro, OeisA306424.Condition_three,dite,LE.leand 17 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 23 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.a_4line 143 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA306424.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.nth, OeisA306424.Condition,InfSet.sInf,Set.ofPred,And,LT.lt,congrArg,Nat.nth_eq_sInf,Nat.nth_zero_of_zero, OeisA306424.Condition_zero, OeisA306424.a_1, OeisA306424.a_2, OeisA306424.a_3,Membership.mem,Set,And.intro, OeisA306424.Condition_four,diteand 18 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA306424.a_5line 165 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA306424.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.nth, OeisA306424.Condition,InfSet.sInf,Set.ofPred,And,LT.lt,congrArg,Nat.nth_eq_sInf,Nat.nth_zero_of_zero, OeisA306424.Condition_zero, OeisA306424.a_1, OeisA306424.a_2, OeisA306424.a_3, OeisA306424.a_4,Membership.mem,Set,And.intro, OeisA306424.Condition_five and 19 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA306424.forty_three_is_maxsorry line 197 sourcedepends on sorry what this means
Statement uses:
And, OeisA306424.Condition,OfNat.ofNat,Nat,LT.lt,NotProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.