import Mathlib import OAI.Combinatorics.MatchingCount.Algorithm.GuardProbability import OAI.Combinatorics.MatchingCount.Algorithm.TreeGeneratedUpdate namespace OAI namespace MatchingFPRAS.ExecutableSource open TreeTyped TreeFraction TreeTyped.Numbered ExecutableBottleneck ExecutableHierarchy ExecutableRefresh Enlargement RealGeometry NumericLadder open ExecutableLadder UnitRefresh Replica.Ladder Transport NumericMarking ExecutableStatistics ExecutableScaling ExecutableAdaptive attribute [local instance] NumberedHierarchy.labelOrder attribute [local instance] Transport.sym2Order Transport.bagEdgeOrder Transport.bagEdgeFintype attribute [local instance] UnitRefresh.Computable.allowedDec Transport.prodOrder Transport.sumOrder lemma generatedSourceSample_support {n : ℕ} [Nontrivial (Fin n)] (he : Even n) (w : Fin n→Fin n→ℚ) (hw : ∀ a b,0(w a b:ℝ)) K D ((RationalSource.sourceMarkedEquiv w K).symm (generatedSourceSample he w hw K D hD hu ft fq hq bits mb)) := by let x:=generatedSourceSample he w hw K D hD hu ft fq hq bits mb have hs:=RationalSource.source_draw_support w hw K D km hD (fun _ : Unit=>x.1) ((),mb) exact hs lemma generated_certificate_zero {G : GraphInput} [Nontrivial (Fin G.n)] (he : Even G.n) {j : ℕ} (s : FiniteTrial.ScaleState G j) (hZ : Z G=0) (K D : ℕ) (hD : 0