Twist Graph: mem bad Heavy Layer Set iff
ProvedQEC.Coding.FiberBundle.TwistGraph.mem_badHeavyLayerSet_ifflean-qecert-4a64933quantum-computingquantum-error-correction
The Twist Graph construction uses the mem bad Heavy 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_TwistGraphLTC import Definitions.Def_QEC_Coding_FiberBundle_TwistGraphMixing 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_badHeavyLayerSet_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 ∈ badHeavyLayerSet Delta twistSample w ↔
u ∈ heavyLayerSet Delta w ∧
u ∉ usableHeavyLayerSet Delta twistSample w := by sorrySource