Local metadata is preserved when label dependencies match across tiles
ProvedPvsNP.initialized_cell_agrees_with_donorcomplexity-theoryformal-verification
Labels and metadata cells belong to tiles. The patched assignment uses each label value from the donor for its owning tile. Every cell depends on a specified set of labels. Whenever a dependency crosses between tiles, suppose both the label owner’s donor and the cell owner’s donor give that label the source value. Then initializing metadata on the patched labels gives each cell exactly the content it has on its own tile’s donor.
Preamble
import Mathlib.Data.Set.Basic set_option autoImplicit false
Formal statement
theorem PvsNP.initialized_cell_agrees_with_donor {Label Tile Cell Value Symbol : Type*}
(labelTile : Label → Tile) (cellTile : Cell → Tile)
(support : Cell → Set Label) (initialContent : Cell → (Label → Value) → Symbol)
(source : Label → Value) (donor : Tile → Label → Value)
(depends : ∀ (cell : Cell) {left right : Label → Value},
(∀ label ∈ support cell, left label = right label) →
initialContent cell left = initialContent cell right)
(ownerAgrees : ∀ (cell : Cell) (label : Label), label ∈ support cell →
labelTile label ≠ cellTile cell → donor (labelTile label) label = source label)
(readerAgrees : ∀ (cell : Cell) (label : Label), label ∈ support cell →
labelTile label ≠ cellTile cell → donor (cellTile cell) label = source label)
(cell : Cell) :
initialContent cell (fun label => donor (labelTile label) label) =
initialContent cell (donor (cellTile cell)) := by sorrySource
Local initialization lemma for crossing-sequence splicing.