Decoder round trips and exact rejection #
The position lemmas recover relation tables and the unique value of each constant. Re-encoding validation gives soundness for every input string.
theorem
Complexity.DescriptiveComplexity.readStructCandidate_encodeStruct_internal
{V : Vocabulary}
(A : DecFinStruct V)
:
theorem
Complexity.DescriptiveComplexity.decodeStruct_encodeStruct_internal
{V : Vocabulary}
(A : DecFinStruct V)
:
theorem
Complexity.DescriptiveComplexity.decodeStruct_sound_internal
{V : Vocabulary}
(bits : List Bool)
(A : DecFinStruct V)
(h : decodeStruct V bits = some A)
: