TM1BinaryAdapter #
Part of the dependency closure of the small undecidable group constructions.
The initial state belongs to every certified support.
Equations
Instances For
Restrict a finitely supported TM0 to the finite subtype of states in its
support.
Equations
Instances For
The Post machine obtained by restricting the compiled machine to its finite state support.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The configuration map including supported states into the original state type.
Equations
Instances For
Restricting to a certified finite support preserves the halting domain.
A fixed-length binary encoding of a finite tape alphabet, with the blank symbol represented by an all-zero block.
- width : ℕ
The fixed length of each binary code word.
- enc : Γ → List.Vector Bool self.width
The fixed-width binary encoding of an alphabet symbol.
- dec : List.Vector Bool self.width → Γ
The decoder from a fixed-width binary word to an alphabet symbol.
Instances For
A canonical (noncomputably chosen) binary code for a finite alphabet.
Instances For
The binary TM1 program produced by Mathlib's block-code compiler.
Equations
Instances For
Compile a finite-alphabet TM1 program all the way to a binary TM0.
Equations
Instances For
Encode a finite input word by concatenating its fixed-width codewords.
Equations
- Undecidability.TM1BinaryAdapter.encodeInput B input = List.flatMap (fun (a : Γ) => (B.enc a).toList) input
Instances For
Fixed-width block encoding of words over a finite computably coded alphabet is computable. No effectiveness hypothesis on the particular code table is needed: every function on a finite domain is primitive recursive.
Mathlib's binary block compiler preserves the halting domain.
Compiling further from TM1 to TM0 preserves the halting domain.
A finite support for the compiled binary TM0, obtained by composing
Mathlib's two support transformations.
Equations
Instances For
A support certificate for the source program induces one for the binary
TM0.
The inhabited finite subtype of the compiled machine's certified support.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restrict the binary compiler output to its certified finite state set.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite-state binary machine has exactly the source program's halting domain on encoded inputs.