Aether Catalog definitions — Tropical_HodgeShadow_TropicalCycleCorrespondence
DefinitionTropical_HodgeShadow_TropicalCycleCorrespondenceaether-catalogtropical
Definition bundle for the Aether Catalog module Tropical.HodgeShadow.TropicalCycleCorrespondence, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from Tropical/HodgeShadow/TropicalCycleCorrespondence.lean by skeleton subtraction
import Mathlib
/-
Copyright (c) 2025 Harmonic. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
# Tropical Cycle Correspondence: A Formal Tropical Hodge Theory
## Overview
This file establishes a formal framework for **tropical Hodge theory** on finite
combinatorial models (shadow complexes). The central results are:
1. **Theorem A** (`tropical_hodge_iff_cycle`): An exact equivalence between
tropical Hodge classes and tropical cycle classes under explicit generation
hypotheses — a finitary tropical analogue of the Hodge conjecture.
2. **Theorem B** (`fg_cycle_image`): Finite generation of the cycle-class
image submodule, implying algorithmic representability.
3. **Theorem C** (`cycle_transfer_algebraic`): A transfer principle from
tropical algebraicity to classical algebraic-shadow classes.
## Mathematical Context
The Hodge conjecture asserts that on a smooth projective complex variety,
every rational (p,p)-class is algebraic. Our approach replaces the
transcendental setting with a **finite polyhedral** one: cohomology becomes
`Fin m → ℤ`, cycles become balanced integer weight functions on cells, and
the cycle class map becomes a ℤ-linear map. In this regime, the Hodge-cycle
correspondence becomes a theorem in linear algebra over ℤ.
## Main Definitions
* `FiniteTropicalModel` — finite combinatorial model with graded ℤ-module
cohomology, a linear cycle class map, and Hodge/balanced submodules.
* `IsHodgeClass` / `IsCycleClass` — membership predicates.
* `cycleImage` — the submodule of cycle classes.
* `ClassicalModel` — a classical cohomological target.
* `TransferData` — a comparison map preserving cycle classes.
## Main Results
* `tropical_hodge_iff_cycle` — **Theorem A**: Hodge ↔ cycle.
* `hodge_eq_cycle` — Submodule equality version.
* `fg_cycle_image` — **Theorem B**: Finite generation.
* `cycle_transfer_algebraic` — **Theorem C**: Transfer principle.
* `master_tropical_hodge_theorem` — Combined A+B+C.
## Keywords
tropical Hodge theory, algebraic cycles, polyhedral cohomology, certified
transfer principle, finite generation, algorithmic representability
-/
namespace TropicalHodgeShadow
open Submodule
/-! ## Part 1: Finite Tropical Model -/
/-- A finite tropical model for tropical Hodge theory.
Each cohomology group is concretely represented as `Fin (cohRank p) → ℤ`,
a free ℤ-module of finite rank. This makes all type class instances automatic
and all linear algebra computable. -/
structure FiniteTropicalModel where
/-- Number of cells in the tropical complex -/
nCells : ℕ
/-- Rank of cohomology in each degree -/
cohRank : ℕ → ℕ
/-- The Hodge submodule in each degree -/
hodgeSub : (p : ℕ) → Submodule ℤ (Fin (cohRank p) → ℤ)
/-- The cycle class map: ℤ-linear from weights to cohomology -/
cycleMap : (p : ℕ) → (Fin nCells → ℤ) →ₗ[ℤ] (Fin (cohRank p) → ℤ)
/-- The submodule of balanced weight functions -/
balancedSub : (p : ℕ) → Submodule ℤ (Fin nCells → ℤ)
namespace FiniteTropicalModel
variable (M : FiniteTropicalModel)
/-! ## Part 2: Core Definitions -/
/-- The submodule of cycle classes: image of balanced weights under the cycle map. -/
def cycleImage (p : ℕ) : Submodule ℤ (Fin (M.cohRank p) → ℤ) :=
Submodule.map (M.cycleMap p) (M.balancedSub p)
/-- A class is a **Hodge class** if it belongs to the Hodge submodule. -/
def IsHodgeClass (p : ℕ) (x : Fin (M.cohRank p) → ℤ) : Prop :=
x ∈ M.hodgeSub p
/-- A class is a **cycle class** if it lies in the cycle image. -/
def IsCycleClass (p : ℕ) (x : Fin (M.cohRank p) → ℤ) : Prop :=
x ∈ M.cycleImage p
/-! ## Part 3: Theorem A — Tropical Hodge ↔ Cycle Correspondence -/
/-! ## Part 4: Theorem B — Finite Generation -/
end FiniteTropicalModel
/-! ## Part 5: Classical Model and Transfer -/
/-- A classical cohomological model with algebraic classes. -/
structure ClassicalModel where
/-- Rank of cohomology in each degree -/
classRank : ℕ → ℕ
/-- The submodule of algebraic classes -/
algSub : (p : ℕ) → Submodule ℤ (Fin (classRank p) → ℤ)
/-- Transfer data: a comparison map from tropical to classical cohomology. -/
structure TransferData (M : FiniteTropicalModel) (X : ClassicalModel) where
/-- The comparison map in each degree -/
compareMap : (p : ℕ) → (Fin (M.cohRank p) → ℤ) →ₗ[ℤ] (Fin (X.classRank p) → ℤ)
/-- Cycle classes transfer to algebraic classes -/
preserves_cycles : ∀ (p : ℕ) (w : Fin M.nCells → ℤ),
w ∈ M.balancedSub p →
compareMap p (M.cycleMap p w) ∈ X.algSub p
namespace TransferData
variable {M : FiniteTropicalModel} {X : ClassicalModel}
end TransferData
/-! ## Part 6: Master Theorem -/
/-! ## Part 7: Verified Models -/
/-- A verified model: one where Hodge = cycle by construction. -/
structure VerifiedTropicalModel extends FiniteTropicalModel where
hodge_eq : ∀ (p : ℕ), hodgeSub p = toFiniteTropicalModel.cycleImage p
namespace VerifiedTropicalModel
end VerifiedTropicalModel
/-! ## Part 8: Concrete Example -/
section ConcreteExample
/-- A model with 1 cell, rank-1 cohomology, identity cycle map, and full submodules.
The simplest model where Hodge = cycle holds. -/
def trivialModel : FiniteTropicalModel where
nCells := 1
cohRank := fun _ => 1
hodgeSub := fun _ => ⊤
cycleMap := fun _ => LinearMap.id
balancedSub := fun _ => ⊤
/-- The trivial model is verified: Hodge = cycle. -/
def trivialVerifiedModel : VerifiedTropicalModel where
toFiniteTropicalModel := trivialModel
hodge_eq := fun p => by
simp only [FiniteTropicalModel.cycleImage, trivialModel]
ext x
constructor
· intro _
exact ⟨x, trivial, rfl⟩
· rintro ⟨y, -, rfl⟩
trivial
end ConcreteExample
/-! ## Part 9: Polyhedral Embedding -/
section PolyhedralEmbedding
/-- A polyhedral complex structure (adjacency + dimension data). -/
structure PolyhedralData where
nCells : ℕ
topDim : ℕ
cellDim : Fin nCells → ℕ
adj : Fin nCells → Fin nCells → Prop
[instDecAdj : DecidableRel adj]
attribute [instance] PolyhedralData.instDecAdj
/-- The balanced-and-supported condition for a polyhedral complex. -/
def polyBalancedSub (P : PolyhedralData) (p : ℕ) : Submodule ℤ (Fin P.nCells → ℤ) where
carrier := { w |
(∀ c, P.cellDim c + p ≠ P.topDim → w c = 0) ∧
(∀ σ, P.cellDim σ + p = P.topDim + 1 →
(Finset.univ.filter (fun τ => P.adj σ τ)).sum w = 0) }
add_mem' := by
intro a b ⟨ha1, ha2⟩ ⟨hb1, hb2⟩
exact ⟨fun c hc => by simp [ha1 c hc, hb1 c hc],
fun σ hσ => by simp [Finset.sum_add_distrib, ha2 σ hσ, hb2 σ hσ]⟩
zero_mem' := ⟨fun _ _ => rfl, fun _ _ => by simp⟩
smul_mem' := by
intro c w ⟨hw1, hw2⟩
exact ⟨fun cell hc => by simp [hw1 cell hc],
fun σ hσ => by
simp only [Pi.smul_apply, smul_eq_mul, ← Finset.mul_sum]
rw [hw2 σ hσ, mul_zero]⟩
/-- Embed a polyhedral complex into a `VerifiedTropicalModel`.
Cohomology = cochains on cells, cycle map = identity. -/
def embedPolyhedral (P : PolyhedralData) (p : ℕ) : VerifiedTropicalModel where
nCells := P.nCells
cohRank := fun _ => P.nCells
hodgeSub := fun q => if q = p then polyBalancedSub P p else ⊤
cycleMap := fun _ => LinearMap.id
balancedSub := fun q => if q = p then polyBalancedSub P p else ⊤
hodge_eq := by
intro q
simp only [FiniteTropicalModel.cycleImage, Submodule.map_id]
end PolyhedralEmbedding
/-! ## Part 10: Self-Transfer -/
section SelfTransfer
/-- An identity transfer: tropical model maps to itself (algebraic = cycle). -/
def selfTransfer (M : FiniteTropicalModel) : TransferData M
{ classRank := M.cohRank, algSub := M.cycleImage } where
compareMap := fun _ => LinearMap.id
preserves_cycles := by
intro p w hw
simp [FiniteTropicalModel.cycleImage, Submodule.mem_map]
exact ⟨w, hw, rfl⟩
end SelfTransfer
end TropicalHodgeShadow