Documentation

CslibFrontier.Computability.Languages.Copy

The copy language #

The copy language consists of words x ++ x, with no separator between the two copies. The alphabet is arbitrary. Splitting a word into two equal-length parts reduces membership to equality of the parts (Cslib.Language.append_mem_copy_iff); this is the interface used by single-tape crossing-sequence lower bounds.

Main definitions #

Main results #

def Cslib.Language.copy (α : Type u_1) :

The language {x ++ x | x : List α}, without a separator. In particular, it contains the empty word.

theorem Cslib.Language.append_mem_copy_iff {α : Type u_1} {u v : List α} (h : u.length = v.length) :
u ++ v ∈ copy α ↔ u = v

Two equal-length words concatenate to a copy word exactly when they are equal.