Partrec Chain Alphabet Fragments #
This file provides basic definitions and lemmas for working with the
chain tape alphabet ChainΓ:
γ'ToChainΓandchainConsBottom: distinguished cellschainBinaryRepr: binary representation of natural numbers as ChainΓ cells- Basic non-defaultness properties used by the direct code bridge
Key results #
chainConsBottom_ne_default: the cons-bottom marker is a valid nonblank cell.chainBinaryRepr_zero: zero is represented by the empty fragment.chainBinaryRepr_ne_default: every encoded natural-number cell is nonblank.
Instances #
Equations
Distinguished ChainΓ cells #
Map a Γ' value to its corresponding ChainΓ cell (without bottom marker).
Equations
- γ'ToChainΓ γ' = (false, Function.update (fun (x : Turing.PartrecToTM2.K') => none) Turing.PartrecToTM2.K'.main (some γ'))
Instances For
The ChainΓ cell for the bottom marker with cons.
Equations
Instances For
Binary Representation #
Binary representation of n as ChainΓ cells (LSB first, no markers).
Equations
Instances For
All elements of chainBinaryRepr n are non-default.