Distillation: t Actual Raw Tree retains Rejected Pair Leaf
ProvedQEC.Distillation.tActualRawTree_retainsRejectedPairLeaflean-qecert-4a64933quantum-computingquantum-error-correction
If the first physical T phase attempt is reached, the bounded supplier's
all-rejected outcome becomes a retained tPairExhausted leaf. The target and
zero-block cases are deliberately excluded because they stop before a pair is
requested.
Preamble
import Definitions.Def_QEC_Distillation_FiveQubitT_Recurrence import Definitions.Def_QEC_Distillation_FifteenQubitH_Threshold import Definitions.Def_QEC_Distillation_Universality_FiniteRegisterUniversality import Definitions.Def_QEC_Distillation_Universality_GeneratedUniversality import Definitions.Def_QEC_Distillation_Universality_IdealResourceUniversality import Definitions.Def_QEC_Semantics_Core_OperatorTraceNorm import Definitions.Def_QEC_Semantics_Entropy_MatrixRelative import Definitions.Def_QEC_Semantics_Channels_TraceNorm import Definitions.Def_QEC_Semantics_Channels_ChoiKraus import Definitions.Def_QEC_Semantics_Dynamics_ThermalEncoding import Definitions.Def_QEC_Distillation_MagicStateThreshold_Universality set_option autoImplicit false noncomputable section universe u v open QEC open QEC.Distillation open Semantics Semantics.Qubit open Coding.PauliSymplectic open OneQubitMagic open GeneratedUniversality open FiniteRegisterUniversality open FiniteRegisterUniversality.FiniteRegisterCircuit open scoped BigOperators Matrix.Norms.Elementwise open AdaptiveIdealClifford PhaseInjection
Formal statement
theorem QEC.Distillation.tActualRawTree_retainsRejectedPairLeaf
(t : DensityOperator QubitSpace) (pairAttempts : Nat) (target : ZMod 12)
(blocks : Nat) (rho : DensityOperator QubitSpace)
(htarget : (0 : ZMod 12) ≠ target) (hblocks : 0 < blocks) :
pairAttempts = 0 ∨
(0 < pairAttempts →
∃ leaf ∈ tActualRawTree t pairAttempts target blocks rho,
leaf.kind = .tPairExhausted ∧
leaf.ledger.card = 2 * pairAttempts ∧
List.replicate pairAttempts false = leaf.history ∧ false ∈ leaf.history) := by sorrySource