Every digit-definable function reduces to the number written by a circuit #
DescriptiveComplexity.DigitLFPDef.orderedParsimonious: a function whose binary
digits are relations of a least fixed point
(DescriptiveComplexity.DigitDefinable) reduces to
DescriptiveComplexity.CircuitNumber by an ordered parsimonious reduction, the
circuit being the one drawn from the rules
(DescriptiveComplexity.CircNum.drawInterp).
- The circuit evaluates the fixed point
(
DescriptiveComplexity.CircNum.gateVal_atom_iff): the gate of an atom derives1exactly when the rules derive the atom. One direction rebuilds a derivation of the rules as a derivation of the gates, link by link along a conjunction chain (DescriptiveComplexity.CircNum.gateVal_of_derives); the other inverts a derivation of the gates, every rule that can fire at a gate of the drawn circuit firing for the intended reason (DescriptiveComplexity.CircNum.val_of_gateVal). - The outputs are the digits: the output gates are the canonically padded
atoms of the relations holding the digits, and padding preserves the
lexicographic order (
DescriptiveComplexity.CircNum.tupLeLex_pad), so the outputs are compared as their positions are (DescriptiveComplexity.CircNum.below_bitPt), and the number is read off the positions (DescriptiveComplexity.finsum_digits_eq).
Padding and the lexicographic order #
Padding preserves the lexicographic order.
Dependency graph
What the gates derive #
What a gate deriving 1 means: an atom is canonically padded and derived
by the rules; a link of a conjunction chain has every body atom from its
position on derived.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Nothing else evaluates to 1. By induction on the derivation of the
gates: every rule that can fire at a gate of the drawn circuit fires for the
intended reason. The false rail carries no information and is not tracked.
Dependency graph
Every atom the rules derive has its gate deriving 1: a derivation of
the rules is rebuilt as a derivation of the gates, the conjunction chain of
each rule instance being climbed from its end.
Dependency graph
The circuit evaluates the fixed point: the gate of an atom derives 1
exactly when it is canonically padded and the rules derive the atom.
Dependency graph
The outputs are the digits #
Dependency graph
The output gate of a position: the atom of its tuple in the relation variable of its group, canonically padded.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Dependency graph
The gates of the positions are compared as the positions are.
Dependency graph
The drawn circuit writes the number whose digits are the relations
bit τ of the least fixed point.
Dependency graph
The reduction #
A function whose binary digits are relations of a least fixed point reduces to the number written by a circuit, by drawing the circuit of the rules inside the instance.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Every digit-definable problem parsimoniously reduces to the number written by a circuit.