Fixed character inputs and outputs #
Ordinary Char values use Lean's Unicode scalar codes in the existing natural
layout. Arrays retain every character and their actual length. These fixed
invocation and final-heap observations perform no source-level decoding;
construction, comparison and access need their own real source operations.
instance
Complexity.Program.Input.PrefixClosed.charProd
{β : Type u}
[Input β]
[PrefixClosed β]
:
PrefixClosed (Char × β)
instance
Complexity.Program.Input.PrefixClosed.arrayCharProd
{β : Type u}
[Input β]
[PrefixClosed β]
:
PrefixClosed (Array Char × β)
Equations
- Complexity.Program.Output.char = { type := Complexity.Language.Ty.nat, representation := Complexity.Language.Representation.char }
Equations
- One or more equations did not get rendered due to their size.