The coboundary of a `1`-cochain, evaluated on a face: the sum of the four
ProvedToricCode.d2T_mulVecaether-cataloggeometry
The coboundary of a 1-cochain, evaluated on a face: the sum of the four
sides of that face.
theorem ToricCode.d2T_mulVec(z : Edge M N → F2) (f : Face M N) :
((d2 M N)ᵀ *ᵥ z) f = z (false, f) + z (false, f + (0, 1))
+ (z (true, f) + z (true, f + (1, 0))) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Geometry/ToricCode/Basic.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Geometry/ToricCode/Basic.lean import Mathlib import Definitions.Def_Geometry_ToricCode_Basic /-! # The `M × N` torus surface code: cellular chain complex This file builds the *geometric* object requested by target 3 of the previous research cycle: the cellular chain complex of the standard square-grid cellulation of the two-dimensional torus `(ℤ/M) × (ℤ/N)`, over the binary field `𝔽₂`. * vertices `Vert M N = ZMod M × ZMod N` (`MN` of them), * edges `Edge M N = Bool × ZMod M × ZMod N` (`2MN` of them): the edge `(false, u)` joins `u` to `u + (1,0)`, the edge `(true, u)` joins `u` to `u + (0,1)`, * faces `Face M N = ZMod M × ZMod N` (`MN` of them): the face `f` is the unit square with corners `f, f+(1,0), f+(0,1), f+(1,1)`. The two boundary matrices are `d1 : Vert × Edge` and `d2 : Edge × Face`. The main content of this file is a set of *explicit pointwise formulas* for the four maps `d1 *ᵥ ·`, `d2 *ᵥ ·`, `d1ᵀ *ᵥ ·`, `d2ᵀ *ᵥ ·`, together with the chain condition `d1 ∘ d2 = 0`. Everything downstream is proved from these formulas, never by unfolding the matrices again. -/ open Matrix open ToricCode variable (M N : ℕ) [NeZero M] [NeZero N] /-! ### Pointwise formulas -/
Formal statement
theorem ToricCode.d2T_mulVec(z : Edge M N → F2) (f : Face M N) :
((d2 M N)ᵀ *ᵥ z) f = z (false, f) + z (false, f + (0, 1))
+ (z (true, f) + z (true, f + (1, 0))) := by sorrySource