OAI/Combinatorics/ContingencyTables/Rooted/ForestLiteralCount.lean
16 declarations, 0 contain sorry, 0 declared as axioms
Literal doubled-coordinate profiles for companion completion counts
Small views are retained separately. Every large pair is balanced, with its physical tree or free-cell value represented in the prescribed finite interval. These identities connect the concrete laminar factor family to the actual graph completion sum.
- def
OAI.ContingencyTables.ForestLiteralCount.widthline 22 - def
OAI.ContingencyTables.ForestLiteralCount.lowerline 25 - def
OAI.ContingencyTables.ForestLiteralCount.cellCountline 28 - def
OAI.ContingencyTables.ForestLiteralCount.profileline 32 - def
OAI.ContingencyTables.ForestLiteralCount.largeValueline 38 - lemma
OAI.ContingencyTables.ForestLiteralCount.cellCount_leline 43 - lemma
OAI.ContingencyTables.ForestLiteralCount.row_profileline 56 - lemma
OAI.ContingencyTables.ForestLiteralCount.column_profileline 72 - def
OAI.ContingencyTables.ForestLiteralCount.actualDeviationline 101 - def
OAI.ContingencyTables.ForestLiteralCount.actualPenaltyline 108 - lemma
OAI.ContingencyTables.ForestLiteralCount.deviation_profileline 115 - lemma
OAI.ContingencyTables.ForestLiteralCount.penalty_profileline 139 - lemma
OAI.ContingencyTables.ForestLiteralCount.row_pointwiseline 164 - lemma
OAI.ContingencyTables.ForestLiteralCount.column_pointwiseline 178 - lemma
OAI.ContingencyTables.ForestLiteralCount.nonroot_iffline 191 - theorem
OAI.ContingencyTables.ForestLiteralCount.literal_tree_sumline 256Source documentation
For each actual small profile and free assignment, the concrete laminar factor sum retains exactly the source's root/tree penalty at the unique integral completion, with its tree values in the prescribed completion intervals.
theorem literal_tree_sum (small : I → J → Bool) (b : I → J → ℕ) (T : SimpleGraph (I⊕J)) (hTG : T≤cellGraph small) (hT : T.IsAcyclic) (hmax : ∀ F : SimpleGraph (I⊕J), F≤cellGraph small → F.IsAcyclic → MaximumForest.weight F (capacity b)≤MaximumForest.weight T (capacity b)) (r : I → ℤ) (c : J → ℤ) (x y free : I → J → ℕ) (X : I → J → ℤ) (d W : ℕ) (alpha : ℝ) (hd : 1≤d) (hcard : Fintype.card I*Fintype.card J≤d) (hlarge : ∀ i j, small i j=false → W≤b i j ∧ 1≤b i j) (hsmall : ∀ i j, small i j=true → b i j<W ∧ x i j≤b i j ∧ y i j≤b i j) (hf : ∀ i j, small i j=false → ¬T.Adj (.inl i) (.inr j) → free i j≤b i j) (hX : ∀ i j, 0≤X i j ∧ X i j≤b i j) (hXr : ∀ i, (∑ j, X i j)=r i) (hXc : ∀ j, (∑ i, X i j)=c j) : (∑ a : TreeIndex T d b, ForestPenaltyApplication.physicalWeight T b …Mentions: OAI.ContingencyTables.MaximumForest.weight, OAI.ContingencyTables.ForestPenaltyApplication.physicalWeight