OAI/Computability/Superstring/Model.lean
10 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.Superstring.Symbolline 7Also declared: ComparatorChallenges/Superstring.lean:7 (same declaration text).
- abbrev
OAI.Superstring.Wordline 8Also declared: ComparatorChallenges/Superstring.lean:8 (same declaration text).
- abbrev
OAI.Superstring.Instanceline 9Also declared: ComparatorChallenges/Superstring.lean:9 (same declaration text).
- def
OAI.Superstring.encodeListline 12Source documentation
Prefix markers encode the list spine, including its final boundary.
Also declared: ComparatorChallenges/Superstring.lean:12 (same declaration text).
def encodeList {α : Type} (enc : α → List Bool) : List α → List Bool | [] => [true] | a :: as => false :: (enc a ++ encodeList enc as) - def
OAI.Superstring.encodeSymbolline 16Also declared: ComparatorChallenges/Superstring.lean:16 (same declaration text).
- def
OAI.Superstring.encodeWordline 17Also declared: ComparatorChallenges/Superstring.lean:17 (same declaration text).
- def
OAI.Superstring.encodeInstanceline 18Also declared: ComparatorChallenges/Superstring.lean:18 (same declaration text).
- def
OAI.Superstring.IsCommonSuperstringline 21Source documentation
Ordinary contiguous substring containment, including the empty word.
Also declared: ComparatorChallenges/Superstring.lean:21 (same declaration text).
def IsCommonSuperstring (S : Instance) (T : Word) : Prop := …
Mentions: OAI.Superstring.Instance, OAI.Superstring.Word
- def
OAI.Superstring.optline 25Source documentation
The optimum in symbols, not in bits.
Also declared: ComparatorChallenges/Superstring.lean:25 (same declaration text).
noncomputable def opt (S : Instance) : ℕ := …
Mentions: OAI.Superstring.Instance
- def
OAI.Superstring.HasPolynomialImplementationline 30Source documentation
A deterministic finite-stack-machine implementation, with a polynomial bound on bit-level running time in the explicitly encoded input length.
Also declared: ComparatorChallenges/Superstring.lean:30 (same declaration text).
def HasPolynomialImplementation (f : Instance → Word) : Prop := …
Mentions: OAI.Superstring.Instance, OAI.Superstring.Word