Native access rules for flat recursive inductive encodings #
The recursive branch of enc_inductive uses a framed scalar token followed by flat child
streams. Its constructor matchers read the token's finite tag, and scalar projections read
fields of that token. These operations need no scalar decoder. Recursive-field extraction and
its stream scanner are handled separately.
def Turing.MultiTapeTM.Internal.elabRecursiveAccess (eT : Lean.Ident) (ps : Array Lean.Ident) (params : Lean.TSyntaxArray `Lean.Parser.Term.bracketedBinder) (T : Lean.Term) (cs : Array Lean.Ident) (encss : Array (Array Lean.Term)) (recursive : Array (Array Bool)) :
Generate native rules for the constructor matchers and scalar fields of a checked flat
recursive encoding. Constructor equations, semantic matchers, and semantic field projections
must already have been declared by enc_inductive. Recursive fields are omitted here.