Module 11: Sheaves and Local-to-Global Reasoning

A sheaf is a structure that guarantees local consistency implies global consistency. This module formalizes the sheaf condition, develops sheaf cohomology as an algebraic obstruction detector, and connects the theory to the spin glass problem: frustrated systems are precisely those with nonzero first cohomology H¹. The module also develops symmetric delta lenses as the engineering implementation of sheaf-based contradiction detection, providing a principled way to synchronize heterogeneous models and surface structural inconsistencies rather than silently resolving them.

Learning Objectives

  • Define presheaves as contravariant functors and give three concrete examples.
  • State the sheaf gluing condition and explain why it guarantees local-to-global consistency.
  • Compute Čech cohomology for a simple open cover of a topological space.
  • Interpret H¹(U, F) ≠ 0 as an algebraic obstruction to the existence of a global section.
  • Connect spin glass frustration to nonzero H¹: locally consistent spin assignments that cannot be globally extended.
  • Implement a symmetric lens between two heterogeneous models and demonstrate contradiction detection.

Materials

Key Concepts

Central Concepts from Prerequisites