Twist Graph: mem usable Nonheavy Layer Set iff
ProvedQEC.Coding.FiberBundle.TwistGraph.mem_usableNonheavyLayerSet_ifflean-qecert-4a64933quantum-computingquantum-error-correction
The Twist Graph construction uses the mem usable Nonheavy Layer Set iff property established by this source lemma. The formal statement records the complete hypotheses and conclusion.
Preamble
import Definitions.Def_QEC_Coding_FiberBundle_TwistGraph import Definitions.Def_QEC_Coding_FiberBundle_TwistGraphLTC set_option autoImplicit false open QEC QEC.Coding QEC.Coding.FiberBundle QEC.Coding.FiberBundle.TwistGraph open scoped BigOperators
Formal statement
theorem QEC.Coding.FiberBundle.TwistGraph.mem_usableNonheavyLayerSet_iff
{r typeCount ell : Nat}
[NeZero ell]
(Delta : Nat)
(twistSample : RandomTwist.Sample r typeCount ell)
(w : Word (ZMod 2) (ZMod ell × Fin (4 * r)))
(u : ZMod ell) :
u ∈ usableNonheavyLayerSet Delta twistSample w ↔
u ∈ nonheavyLayerSet Delta w ∧
typeCount ≤
5 * neighborIncidenceCount twistSample
(nonheavyLayerSet Delta w) u := by sorrySource