FormalConjecturesForMathlib/NumberTheory/AutomaticNumber.lean

GitHub source file

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

3 declarations, 0 contain sorry, 0 declared as axioms

Automatic numbers

A real number is automatic in base b if its base-b digit sequence is generated by a finite automaton. Two readings of this are in use, and they differ:

The broad reading is the weaker hypothesis on the number, so a theorem that rules out automatic numbers is stronger when stated with it. Adamczewski and Faverjon prove their two-base rigidity results in the broad form.

Only the digits after the radix point are used, as in NormalNumber.digitSeq. The integer part of a real number contributes finitely many digits, so it does not affect automaticity.

References:

Main definitions

Imports (2)
Imported by 1 file
  1. def AutomaticSequence.IsAutomaticInBase The base-b expansion of ξ is generated by a finite automaton, in the classical sense: its digit sequence is b-automatic line 59 source

    Source documentation

    The base-b expansion of ξ is generated by a finite automaton, in the classical sense: its digit sequence is b-automatic.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Real

    Proof uses: AutomaticSequence.IsAutomatic, NormalNumber.digitSeq

    def IsAutomaticInBase (b : ℕ) (ξ : ℝ) : Prop := IsAutomatic b (NormalNumber.digitSeq b ξ)

    Mentions: AutomaticSequence.IsAutomatic, NormalNumber.digitSeq

  2. def AutomaticSequence.IsBroadlyAutomaticInBase The base-b expansion of ξ is generated by a finite automaton, in the broad sense: its digit sequence is k-automatic for some k ≥ 2, not necessarily for k = b line 65 source

    Source documentation

    The base-b expansion of ξ is generated by a finite automaton, in the broad sense: its digit sequence is k-automatic for some k ≥ 2, not necessarily for k = b.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Real

    Proof uses: Exists, And, LE.le, OfNat.ofNat, AutomaticSequence.IsAutomatic, NormalNumber.digitSeq

    2 instances, coercions and auxiliary constants left out.

    def IsBroadlyAutomaticInBase (b : ℕ) (ξ : ℝ) : Prop :=
    …
  3. theorem AutomaticSequence.IsAutomaticInBase.broad The classical reading implies the broad one, by taking k = b line 69 source

    Source documentation

    The classical reading implies the broad one, by taking k = b.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Real, LE.le, OfNat.ofNat, AutomaticSequence.IsAutomaticInBase, AutomaticSequence.IsBroadlyAutomaticInBase

    Proof uses: Exists.intro, And, AutomaticSequence.IsAutomatic, NormalNumber.digitSeq, And.intro

    4 instances, coercions and auxiliary constants left out.

    theorem IsAutomaticInBase.broad {b : ℕ} {ξ : ℝ} (hb : 2 ≤ b) (h : IsAutomaticInBase b ξ) :
        IsBroadlyAutomaticInBase b ξ := ⟨b, hb, h⟩
    …

    Mentions: AutomaticSequence.IsAutomaticInBase, AutomaticSequence.IsBroadlyAutomaticInBase