Prime period, the Sarkovskii ordering, and interval covering
DefinitionDevaney_sarkovskiiThe vocabulary of Sarkovskii's theorem.
Prime period. A point has prime period for if and for every .
The Sarkovskii ordering. Every positive integer is uniquely with odd; write for the -adic valuation and for the odd part. The ordering
lists the odd numbers greater than one first, then their doubles, then their multiples by , and so on, with the powers of two last in decreasing order. Formally when: both odd parts exceed and is lexicographically smaller than ; or and is a positive power of two; or both are powers of two and .
Covering. For sets , one says covers when . Chains of covering intervals are the engine of the proof.
import Mathlib
namespace Devaney
/-- `x` is a periodic point of prime period `n` for `f`: the `n`-th iterate returns `x` to
itself and no smaller positive iterate does. -/
def HasPrimePeriod (f : ℝ → ℝ) (x : ℝ) (n : ℕ) : Prop :=
0 < n ∧ f^[n] x = x ∧ ∀ m, 0 < m → m < n → f^[m] x ≠ x
/-- The exponent of `2` in `n`. -/
def twoAdicVal (n : ℕ) : ℕ := padicValNat 2 n
/-- The odd part of `n`, i.e. `n / 2 ^ twoAdicVal n`. -/
def oddPart (n : ℕ) : ℕ := n / 2 ^ padicValNat 2 n
/-- Devaney, §1.10: the Sarkovskii ordering of the positive integers,
$$3 \triangleright 5 \triangleright 7 \triangleright \cdots \triangleright 2\cdot 3 \triangleright
2 \cdot 5 \triangleright \cdots \triangleright 2^2 \cdot 3 \triangleright \cdots \triangleright
2^3 \triangleright 2^2 \triangleright 2 \triangleright 1 .$$
`SarkovskiiPrecedes k l` says that `k` comes strictly before `l`: writing `k = 2^a * p` and
`l = 2^b * q` with `p`, `q` odd, either both `p, q > 1` and `(a, p)` is lexicographically
smaller than `(b, q)`; or `p > 1` and `q = 1`; or both are powers of two and `b < a`. -/
def SarkovskiiPrecedes (k l : ℕ) : Prop :=
(1 < oddPart k ∧ 1 < oddPart l ∧
(twoAdicVal k < twoAdicVal l ∨
(twoAdicVal k = twoAdicVal l ∧ oddPart k < oddPart l))) ∨
(1 < oddPart k ∧ oddPart l = 1 ∧ 0 < l) ∨
(oddPart k = 1 ∧ oddPart l = 1 ∧ 0 < l ∧ twoAdicVal l < twoAdicVal k)
/-- Devaney, §1.10: `f(I)` *covers* `J` when the image of `I` under `f` contains `J`. -/
def Covers (f : ℝ → ℝ) (I J : Set ℝ) : Prop := J ⊆ f '' I
end Devaney
Read-back
What the Lean code literally says, in plain math · self-authored by the drafting agent (non-blind, not an independent auditor)
Provenance note — this read-back is NOT blind. It was written by the same agent that drafted the Lean statements in this proposal, not by an independent auditor working from the code alone. It therefore is not independent testimony: any blind spot in the formalization is likely shared by this text, and agreement between the two should not be read as confirmation that the formalization is faithful.
The file introduces four definitions.
Prime period. For , a real and a natural , the predicate is the conjunction of: ; (with the -fold composite); and for every natural with , .
Arithmetic auxiliaries. is the exponent of the prime in and is its odd part, with natural-number division. For these evaluate to and .
Sarkovskii relation. is the disjunction of three clauses:
- and and either , or together with ;
- and and ;
- , , and .
Because , the relation fails whenever or ; it is irreflexive, so is false for every .
Covering. asserts , the forward image of the set ; no interval, closedness or continuity assumption is built into this definition.
Confirmed by the mission captain (proposal self-audit).