Periodic masks and independent connector holes #
Free positions are enumerated as a finite subtype of occurrences, not as
residue classes. In particular a connector of length m * period has
m * holes distinct projective blocks.
theorem
KoetheCounterexample.Mortality.compatible_append
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
{u v : List (Triple k)}
(hu : M.Compatible u)
(hv : M.Compatible v)
(hlen : M.period ∣ u.length)
:
M.Compatible (u ++ v)
@[instance_reducible]
instance
KoetheCounterexample.Mortality.freePosFintype
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
Equations
- KoetheCounterexample.Mortality.freePosFintype M L = Subtype.fintype fun (i : Fin L) => M.lookup ↑i = none
def
KoetheCounterexample.Mortality.freeCount
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
The number of free positions in the initial interval of length L.
Equations
Instances For
noncomputable def
KoetheCounterexample.Mortality.freeIndex
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
An enumeration of the free positions in the initial interval of length L.
Equations
Instances For
noncomputable def
KoetheCounterexample.Mortality.connectorLetter
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
(i : Fin L)
:
FormalLetter k (freeCount M L)
A fixed letter at assigned positions; a distinct variable block at each hole.
Equations
- KoetheCounterexample.Mortality.connectorLetter M L i = match h : M.lookup ↑i with | none => Sum.inr ((KoetheCounterexample.Mortality.freeIndex M L) ⟨i, h⟩) | some z => Sum.inl z
Instances For
noncomputable def
KoetheCounterexample.Mortality.formalConnector
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
List (FormalLetter k (freeCount M L))
The formal word of length L reading the mask: its fixed letter at each assigned position
and a distinct hole at each free position.
Equations
Instances For
@[simp]
theorem
KoetheCounterexample.Mortality.formalConnector_length
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
theorem
KoetheCounterexample.Mortality.connectorLetter_of_some
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
(i : Fin L)
(z : Triple k)
(h : M.lookup ↑i = some z)
:
theorem
KoetheCounterexample.Mortality.formalConnector_degree
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
:
Each enumerated hole contributes exactly one copy of its block degree.
theorem
KoetheCounterexample.Mortality.specialized_connector_nonzero
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
(x : Fin (freeCount M L) × Fin 3 → k)
(hx : ∀ (b : Fin (freeCount M L)), (fun (j : Fin 3) => x (b, j)) ≠ 0)
(z : Triple k)
:
z ∈ List.map (specializeLetter x) (formalConnector M L) → z ≠ 0
theorem
KoetheCounterexample.Mortality.specialized_connector_compatible
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
(L : ℕ)
(x : Fin (freeCount M L) × Fin 3 → k)
:
M.Compatible (List.map (specializeLetter x) (formalConnector M L))
theorem
KoetheCounterexample.Mortality.exists_compatible_block
{k : Type u_1}
[Field k]
(M : PeriodicMask k)
:
There is an initial compatible, nonzero word of exactly one mask period.