FormalConjectures/ErdosProblems/406.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
2 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 406
Reference: erdosproblems.com/406
Imports (1)
- theorem
Erdos406.erdos_406Is it true that there are only finitely many powers of $2$ which have only the digits $0$ and $1$ when written in base $3$? sorry line 35 sourceSource documentation
Is it true that there are only finitely many powers of $2$ which have only the digits $0$ and $1$ when written in base $3$?
depends on sorry what this means
Statement uses:
Iff,True,Set.Finite,Nat,Set.ofPred,And,Nat.isPowerOfTwo,HasSubset.Subset,List,Nat.digits,OfNat.ofNat,List.cons,List.nilProof 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.
theorem erdos_406 : answer(sorry) ↔ { n | n.isPowerOfTwo ∧ Nat.digits 3 n ⊆ [0, 1] }.Finite := by … - theorem
Erdos406.erdos_406.variants.one_twoIf we only allow the digits $1$ and $2$ then $2^{15}$ seems to be the largest such power of $2$ sorry line 43 sourceSource documentation
If we only allow the digits $1$ and $2$ then $2^{15}$ seems to be the largest such power of $2$.
depends on sorry what this means
Statement uses:
IsGreatest,Nat,Set.ofPred,And,Nat.isPowerOfTwo,HasSubset.Subset,List,Nat.digits,OfNat.ofNat,List.cons,List.nil,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_406.variants.one_two : IsGreatest { n | n.isPowerOfTwo ∧ Nat.digits 3 n ⊆ [1, 2] } (2 ^ 15) := by …