Internal laws for appendable raw-circuit fragments #
This module proves generic composition and prefix-preservation facts for the
iterative raw-circuit evaluator. The statements are exposed by
Complexitylib.Circuits.Encoding.Fragment.
theorem
Complexity.CircuitCode.RawCircuit.topologicallyWellFormed_append_internal
(available : ℕ)
(first second : RawCircuit)
:
TopologicallyWellFormed available (first ++ second) ↔ TopologicallyWellFormed available first ∧ TopologicallyWellFormed (available + List.length first) second
Internal topological decomposition for appended raw fragments.