Documentation

Complexitylib.Classes.P.Cobham.Internal.BlockScan

What the block scanners compute — proof internals #

The two total parsers of a self-delimiting block — pairFst decodes the leading block's payload, pairSnd returns the suffix after it (both defined in Complexitylib.Encoding.Pairing) — and the control states their scanners share. Complexity.pairSplitCoreTM handles only valid pair inputs, so the total decoders need machines of their own; those are Internal.SndBlock, Internal.FstBlock and Internal.Cat, one per machine.

Stripping the head component of an encoded vector yields the encoded tail. (Not a simp lemma: simp already reaches this via encodeVec_succ and pairFst_pair.)

The suffix of an encoded vector is its head component. (Not a simp lemma: simp already reaches this via encodeVec_succ and pairSnd_pair.)

Control states of the block-decoding scanners.

Instances For
    @[instance_reducible]
    Equations
    @[instance_reducible]
    Equations
    • One or more equations did not get rendered due to their size.