Encoded size of constraint graphs #
The encoding charges unary vertex identifiers and each constraint descriptor, including the frames around the endpoint pairs and the edge list. Well-formed graphs therefore have encoded size bounded by their vertex and edge counts together with the descriptor lengths.
Main results #
Cslib.PCP.Encoded.Edge.length_encoding: exact size of one encoded edge.Cslib.PCP.Encoded.Graph.length_encoding: exact size of the whole encoded graph.Cslib.PCP.Encoded.Graph.WellFormed.length_encoding_le: cardinality and descriptor-size bound.
References #
theorem Cslib.PCP.Encoded.Graph.WellFormed.length_encoding_le {C : Type} (enc : C ↪ List Bool) {g : Graph C} (hg : g.WellFormed) (bound : ℕ) (hbound : ∀ edge ∈ g.edges, (enc edge.constraint).length ≤ bound) :
Endpoint bounds give a full encoded-size bound for arbitrary bounded descriptors.