theoremadjacent_context_transport (small : I→J→Bool) (B : I→J→ℕ)
(r : I→ℕ) (c : J→ℕ) (L : ℕ) (s : I×J) (hs : small s.1 s.2=true)
(σ : I×J→ℕ) (Ul : ℕ) (hU : 2≤U) (hl0 : 1≤ l) (hlU : l ≤U)
(hB : ∀ i j, small i j=true→B i j=U)
(hlarge : ∀ i j, small i j=false→2≤B i j)
(hσ : ∀a : Earlier small s, σ a.val.val ≤U) {n : ℕ} (e : Fin n ≃ Later small s)
(hcap : ∀T : ResidualTables small r c
(fun i => r i+rowLargeCount small i*L) (fun j => c j+columnLargeCount small j*L),
∀ i j, T.val.val i j ≤B i j)
(H : (CoordinatesBool (widths (fun_ : Fin n =>U)) →ℕ) →ℝ)
(hleft : 0 < eliminate (widths (fun_ : Fin n =>U))
(contextHard small B r c L _ (contextEquiv small s hs e U) (prefixRaw small s σ U))
(childProfile U (l-1)))
(hright : 0 < eliminate (widths (fun_ : Fin n =>U))
(contextHard small B r c L _ (contextEquiv small s hs e U) (prefixRaw small s σ U))
(childProfile U l)) :
letMs:= widths (fun_ : Fin n =>U)
proof · 26
lines
let f := contextHard small B r c LMs (contextEquiv small s hs e U) (prefixRaw small s σ U)
let a := eliminate Ms f (childProfile U (l-1))
let b := eliminate Ms f (childProfile U l)
letE:= integerGraphEnergy
((leafVertices Ms (rootDisplay U l)).filter
(fun x =>InBox (bounds (fun_ : Bool=>U) Ms) x ∧ (∑ i, x i)=U+Ms.sum)) f H
min a b*(eliminate Ms (fun p => f p*H p) (childProfile U (l-1))/a-
eliminate Ms (fun p => f p*H p) (childProfile U l)/b)^2≤
(2+2*n*((U:ℝ)+1)^2)*E:=by
dsimp only
have htransport := context_box_transport small B r c L (widths (fun_ : Fin n =>U))
(contextEquiv small s hs e U) (prefixRaw small s σ U) (fun _ =>U)
(fun _ =>U) (rootDisplay U l) UU (prefixRaw_inBox small s σ U hσ) hlarge
(fun w hw =>by rw [widths_constant_mem U w hw]; exact hU)
(fun w hw => le_of_eq (widths_constant_mem U w hw))
(rootDisplay_inBox U l hl0 hlU) (rootDisplay_total U l hlU) H
(leafVertices _ (rootDisplay U l)) (Finset.Subset.refl _)
(by rw [rootDisplay_oneHole_false _ U l hl0 hlU]; exact hleft)
(by rw [rootDisplay_oneHole_true]; exact hright)
dsimp only at htransport
simp only [rootDisplay_oneHole_false _ U l hl0 hlU,rootDisplay_oneHole_true,
rootDisplay_removal _ U l hl0] at htransport
have haux := auxiliary_mass_le_adjacent small B r c L s hs σ U l hl0 hlU hB hσ e hcap
dsimp only at haux
exact repaired_root_transport _ _ _ n U _ _ hleft hright
(graphEnergy_nonnegative _ _ _ (contextHard_nonnegative small B r c L _ _ _)) haux htransport