Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Internal.InductiveRecursive

Generating flat encodings of directly recursive inductive types #

Implementation of the recursive branch of enc_inductive. Scalar payloads use the explicitly supplied embeddings. Every constructor contributes exactly one framed token; recursive children contribute their streams without further framing. Parameters select a family and its scalar embeddings and are not serialized. Tags use the declaration order and right-nested encSum.

Generate the flat recursive representation after checking all constructors and fields. Explicit parameters are section variables during checking and explicit binders in every output.