IndisputableMonolith.Cosmology.RegularNeighborhoodBoundary
Defines integer Betti data and Euler quantities for a compact 3D region and its regular neighborhood boundary, so characteristic algebra stays exact. Cosmology and 3-manifold arguments that need genus, boundary components, or CW Euler numbers cite these. The module is mostly definitions plus a few equational lemmas equating genus to first Betti number and relating region and boundary Euler characteristics.
claimFor a compact 3D region, package Betti numbers as an integer triple $(b_0,b_1,b_2)$, define the region Euler characteristic, and for a regular neighborhood boundary define component count, Euler characteristic, genus, and CW counts (vertices, edges, faces) with Euler number. The module asserts $\chi(\partial)=2\chi(\mathrm{region})$, genus equals $b_1$ of the boundary, and the CW Euler number equals the topological boundary Euler number.
background
Recognition Science forces $D=3$ spatial dimensions (forcing chain T8), so compact spatial regions are 3-manifolds (or 3D complexes) whose topology enters cosmology bookkeeping. This module supplies the discrete topological ledger for such a region and for a regular neighborhood of its boundary.
The central object is an integer Betti triple so that Euler characteristic $\chi=b_0-b_1+b_2$ is literal integer arithmetic rather than a real-valued placeholder. From that one defines the region Euler number, then boundary-side quantities: number of regular boundary components, boundary Euler characteristic, genus, and a CW presentation (vertices, edges, faces) with its own Euler number.
The setting is pure combinatorial topology over Mathlib; no metric, curvature, or field equations appear here. The point is to keep genus and Euler identities available as exact equalities downstream in cosmology arguments that count handles, voids, or boundary sheets.
proof idea
Definition-heavy module. Betti triple, region Euler, boundary component count, boundary Euler, genus, and CW vertex/edge/face counts are introduced as data or simple formulas. Three equational results close the ledger: genus equals the first Betti number of the boundary; boundary Euler equals twice the region Euler; CW Euler equals the topological boundary Euler. Those are algebraic identities from the integer packaging, not deep existence proofs.
why it matters in Recognition Science
Gives cosmology code a single place for 3D region and regular-boundary topology in integer form, matching the RS insistence on $D=3$. Downstream cosmology developments that need handle counts, void counts, or boundary genus can quote the genus–$b_1$ match and the factor-of-two Euler relation without re-deriving classical 3-manifold identities. No parent theorems are wired in the graph yet; the module is infrastructure for later cosmology claims that consume regular-neighborhood boundary data.
scope and limits
- Does not construct a geometric regular neighborhood in a Riemannian 3-manifold.
- Does not prove existence or uniqueness of CW structures on the boundary.
- Does not address noncompact, singular, or non-orientable regions.
- Does not connect Betti data to curvature, stress-energy, or observational cosmology.
- Does not import or cite upstream RS forcing lemmas beyond the ambient D=3 setting.
declarations in this module (176)
-
structure
BettiTriple -
def
regionEuler -
def
regularBoundaryComponents -
def
regularBoundaryEuler -
def
regularBoundaryGenus -
def
regularBoundaryCWVertices -
def
regularBoundaryCWEdges -
def
regularBoundaryCWFaces -
def
regularBoundaryCWEuler -
theorem
regularBoundaryGenus_eq_b1 -
theorem
regularBoundaryEuler_eq_two_regionEuler -
theorem
regularBoundaryCWEuler_eq_regularBoundaryEuler -
theorem
regularBoundaryCWEuler_eq_two_regionEuler -
theorem
components_minus_regionEuler_eq_b1 -
structure
IsRegularBoundaryOf -
theorem
genus_eq_b1_of_isRegularBoundaryOf -
structure
SingularGraphComponent -
def
halfVertexComponentDelta -
def
singularGraphHalfVertexDelta -
def
halfVertexCorrectedEuler -
def
HalfVertexQuotientCloses -
theorem
halfVertexCorrectedEuler_eq_cw_of_delta_eq_required -
def
singularV2E1 -
def
singularV4E3 -
structure
CorrectedBoundaryComponent -
def
correctedComponentCount -
def
correctedComponentEuler -
def
correctedComponentGenusFromHalfEuler -
def
ComponentAssemblyCloses -
theorem
correctedComponentGenus_eq_b1_of_componentAssemblyCloses -
def
sphereComponent -
def
torusComponent -
def
genus125Component -
def
horizonAnnulusHandleCorrectedComponents -
def
dyadicSpongeR20CorrectedComponents -
structure
PolygonGluingComponent -
def
PolygonComponentEulerOk -
def
PolygonComponentLinksCyclic -
def
polygonComponentToCorrected -
def
polygonComponentsToCorrected -
def
PolygonGluingCloses -
theorem
polygonGluedGenus_eq_b1_of_polygonGluingCloses -
def
horizonPolygonTorusComponent -
def
horizonPolygonSphereComponent -
def
horizonAnnulusHandlePolygonComponents -
def
dyadicPolygonGenus125Component -
def
dyadicPolygonSmallSphereComponent -
def
dyadicPolygonMediumSphereComponent -
def
dyadicPolygonLargeSphereComponent -
def
dyadicSpongeR20PolygonComponents -
structure
OrientedPolygonGluingComponent -
def
OrientedPolygonComponentOk -
def
orientedPolygonToPolygon -
def
orientedPolygonsToPolygons -
def
OrientedPolygonGluingCloses -
theorem
orientedPolygonGluedGenus_eq_b1_of_orientedPolygonGluingCloses -
def
horizonOrientedTorusComponent -
def
horizonOrientedSphereComponent -
def
horizonAnnulusHandleOrientedPolygonComponents -
def
dyadicOrientedGenus125Component -
def
dyadicOrientedSmallSphereComponent -
def
dyadicOrientedMediumSphereComponent -
def
dyadicOrientedLargeSphereComponent -
def
dyadicSpongeR20OrientedPolygonComponents -
structure
StandardSurfaceType -
def
standardSurfaceEuler -
def
PolygonComponentHasSurfaceType -
def
surfaceTypeGenusTotal -
def
surfaceTypeCount -
def
surfaceTypeEulerTotal -
def
orientedPolygonEulerList -
def
surfaceTypeEulerList -
def
orientedPolygonEulerTotal -
theorem
surfaceTypeEulerTotal_eq_count_genus -
theorem
correctedComponentCount_orientedPolygons -
def
SurfaceTypeClassificationCloses -
theorem
surfaceTypeGenusTotal_eq_b1_of_surfaceTypeClassificationCloses -
theorem
surfaceType_length_eq_orientedPolygon_length_of_surfaceTypeClassificationCloses -
theorem
orientedPolygonEulerList_eq_surfaceTypeEulerList_of_zip -
theorem
orientedPolygonEulerList_eq_surfaceTypeEulerList_of_surfaceTypeClassificationCloses