Erdős 406: the three known examples
ProvedErdos406.known_examplesAmong powers of two, the only known natural numbers whose base-3 expansion uses only the digits and are , and .
This milestone records that these three concrete powers satisfy the digit condition.
Formalization Note Nat.digits 3 m is the list of base-3 digits of in least-significant-first order; list containment in says every digit is or .
import Mathlib
namespace Erdos406
theorem known_examples :
Nat.digits 3 (2 ^ 0) ⊆ [0, 1] ∧
Nat.digits 3 (2 ^ 2) ⊆ [0, 1] ∧
Nat.digits 3 (2 ^ 8) ⊆ [0, 1] := by
sorry
end Erdos406
Read-back
What the Lean code literally says, in plain math · claude-opus-6
known_examples, a theorem in the namespace Erdos406, asserts the conjunction of three ground statements — there are no free variables or hypotheses — about the base-3 digit expansions of three powers of two. For a natural number and a base , Nat.digits b n is the list of base- digits of ordered from least significant to most significant, with the convention that Nat.digits b 0 is the empty list; here the base is fixed at , and each argument is nonzero, so none of the three digit lists is empty. The relation between lists means that every element occurring in also occurs in , and is the two-element list with entries and ; hence "" says precisely that every digit occurring in equals or equals (membership in a list, not in a set, with only occurrence mattering). The three conjuncts concern , , and : every digit of the base- expansion of is or ; every digit of the base- expansion of is or ; and every digit of the base- expansion of is or — that is, writing for the property that all base- digits of lie in , the statement is , with all three conjuncts required to hold simultaneously. The declared proof term is sorry.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.