Shifts, cellular automata, surjunctive, residually finite and sofic groups
DefinitionGottschalkSurjunctivity_DefsLet be a group and a set. For and a configuration , the left shift is
It satisfies and .
- A map is shift-equivariant if for all , .
- A map is a cellular automaton if there are a finite set (memory set) and a map (local rule) with for all and .
- is surjunctive if for every finite nonempty set with the discrete topology, every continuous, shift-equivariant, injective (product topology on ) is surjective.
- is residually finite if for every there is a normal subgroup of finite index with .
- is sofic if for every finite and every there are a finite nonempty set and a map with
These are the basic notions of Gottschalk's surjunctivity problem and of the known sufficient conditions for surjunctivity.
Formalization Note The shift is a plain function rather than a MulAction instance, to avoid a clash with Mathlib's pointwise action on function types. In IsSurjunctive the alphabet is a type in universe 0 with a Fintype structure and an arbitrary topology assumed discrete.
import Mathlib
namespace GottschalkSurjunctivity
variable (G : Type*) [Group G]
/-- The left shift of `x : G → A` by `g : G`, defined by `(shift g x)(h) = x(g⁻¹ * h)`. -/
def shift {A : Type*} (g : G) (x : G → A) : G → A :=
fun h => x (g⁻¹ * h)
@[simp]
theorem shift_apply {A : Type*} (g : G) (x : G → A) (h : G) :
shift G g x h = x (g⁻¹ * h) := rfl
@[simp]
theorem shift_one {A : Type*} (x : G → A) :
shift G 1 x = x := by
ext h; simp [shift]
theorem shift_mul {A : Type*} (g₁ g₂ : G) (x : G → A) :
shift G (g₁ * g₂) x = shift G g₁ (shift G g₂ x) := by
ext h; simp [shift, mul_assoc]
/-- A map `τ : (G → A) → (G → A)` is shift-equivariant if
`τ (shift g x) = shift g (τ x)` for all `g : G` and `x : G → A`. -/
def IsShiftEquivariant {A : Type*} (τ : (G → A) → (G → A)) : Prop :=
∀ (g : G) (x : G → A), τ (shift G g x) = shift G g (τ x)
/-- A map `τ : (G → A) → (G → A)` is a cellular automaton if there are a finite memory set
`S ⊆ G` and a local rule `μ : (S → A) → A` with `τ x g = μ (s ↦ x (g * s))` for all `x` and `g`. -/
def IsCellularAutomaton {A : Type*} (τ : (G → A) → (G → A)) : Prop :=
∃ (S : Finset G) (μ : (S → A) → A), ∀ (x : G → A) (g : G),
τ x g = μ (fun s => x (g * (s : G)))
/-- A group `G` is surjunctive if for every finite nonempty type `A`, every injective,
continuous, shift-equivariant map `(G → A) → (G → A)` is also surjective
(product topology on `G → A`, discrete topology on `A`). -/
def IsSurjunctive : Prop :=
∀ (A : Type) [Fintype A] [Nonempty A] [TopologicalSpace A] [DiscreteTopology A]
(τ : (G → A) → (G → A)),
Continuous τ →
IsShiftEquivariant G τ →
Function.Injective τ →
Function.Surjective τ
/-- A group `G` is residually finite if every non-identity element lies outside some
normal subgroup of finite index. -/
def IsResiduallyFinite : Prop :=
∀ g : G, g ≠ 1 → ∃ N : Subgroup G, N.Normal ∧ N.FiniteIndex ∧ g ∉ N
/-- A group `G` is sofic if for every finite `K ⊆ G` and every `ε > 0` there are a finite
nonempty set `X` and a map `σ : G → Sym(X)` such that
* for all `g, h ∈ K`, `σ (g * h) x = σ g (σ h x)` for at least `(1 - ε)|X|` points `x`;
* for all `g ∈ K` with `g ≠ 1`, `σ g x ≠ x` for at least `(1 - ε)|X|` points `x`. -/
def IsSofic : Prop :=
∀ (K : Finset G) (ε : ℝ), 0 < ε →
∃ (X : Type) (_ : Finite X) (_ : Nonempty X) (σ : G → Equiv.Perm X),
(∀ g ∈ K, ∀ h ∈ K,
(1 - ε) * (Nat.card X : ℝ) ≤ (Nat.card {x : X // σ (g * h) x = σ g (σ h x)} : ℝ)) ∧
(∀ g ∈ K, g ≠ 1 →
(1 - ε) * (Nat.card X : ℝ) ≤ (Nat.card {x : X // σ g x ≠ x} : ℝ))
end GottschalkSurjunctivity
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind
Disclosure — non-blind read-back. This read-back is not independent testimony. It was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements of this proposal, with full knowledge of the source material and of the intended meaning. It was not produced by a blind auditor, and reviewers should not treat it as an independent check of faithfulness.
The file introduces, for a group (in any universe):
-
Shift. For any type , and , the function is . Three lemmas are proved: ; ; .
-
Shift-equivariance. For , the predicate holds iff for all and all . No finiteness or topology on is involved.
-
Cellular automaton. For the predicate holds iff there exist a finite subset of and a function from functions to such that for all and all : (multiplication on the right by ). may be empty; no condition on .
-
Surjunctive. is surjunctive iff for every type in universe equipped with a
Fintypestructure (so is finite), a proof that is nonempty, any topology on together with the assumption that this topology is discrete, and every : if is continuous (for the product topology on ), shift-equivariant in the sense of 2, and injective, then is surjective. Empty alphabets are excluded; alphabets in higher universes are not quantified over. -
Residually finite. is residually finite iff for every with there is a subgroup that is normal, has finite index, and does not contain . (For the trivial group this holds vacuously.)
-
Sofic. is sofic iff for every finite subset and every real there exist a type in universe that is finite and nonempty and a function from to the permutations of (not required to be a homomorphism, and not required to be the identity) such that
- for all : ;
- for all with : .
Here and the counts are natural-number cardinalities cast to the reals. For both inequalities are automatic, so only carries content.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.