Names read back
pName_nameToks
: the tokens of a name read back to the name, whatever symbol table
printed them, before anything that does not continue a name (NameStop
: not the
scope dot, not an upright name subscript).
Splitting at dots
theorem splitDots_noDot (l : List Char) : โ s โ splitDots l, '.' โ s
Every segment of a split has no dot.
Segments
def NameStop (sf : Sf) (rest : List Tok) : Prop
What may follow a name: not the scope dot, not an upright name subscript.
theorem pName_nameToks (c : Ctx) (s : String) (hs : nameOK s = true) (rest : List Tok)
(hr : NameStop c.sf rest) : pName c.sf (nameToks c s ++ rest) = some (s, rest)
Names read back.