Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PeriodSurjectivityOne |
| 2 | import Mathlib.Algebra.Module.LinearMap.Rat |
| 3 | import Mathlib.LinearAlgebra.Dual.Defs |
| 4 | |
| 5 | /-! # Lattice Period -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.DegreeTwo.LatticePeriod.Constructions.LatticeDual |
| 12 | |
| 13 | /-! |
| 14 | # DegreeTwo: singular H¹ and the rational lattice dual |
| 15 | |
| 16 | Restriction to the lattice identifies the dual of its rational span with |
| 17 | additive rational lattice characters. Together with the singular period |
| 18 | equivalence this supplies the rational H¹ model used by BettiLattice. |
| 19 | -/ |
| 20 | |
| 21 | variable {K : Type} [Field K] [CharZero K] |
| 22 | |
| 23 | variable {V : Type} [NormedAddCommGroup V] [Module ℚ V] (Λ : Submodule ℤ V) |
| 24 | |
| 25 | abbrev RationalSpan := Submodule.span ℚ (Λ : Set V) |
| 26 | |
| 27 | /-- The actual lattice embeds in its rational linear span. -/ |
| 28 | def latticeInclusion : Λ →+ RationalSpan Λ where |
| 29 | toFun ℓ := ⟨ℓ, Submodule.subset_span ℓ.property⟩ |
| 30 | map_zero' := rfl |
| 31 | map_add' _ _ := rfl |
| 32 | |
| 33 | /-- Restrict a rational covector to the actual lattice. -/ |
| 34 | def characterRestriction : (RationalSpan Λ →ₗ[ℚ] K) →ₗ[K] (Λ →+ K) where |
| 35 | toFun f := f.toAddMonoidHom.comp (latticeInclusion Λ) |
| 36 | map_add' _ _ := by ext; rfl |
| 37 | map_smul' _ _ := by ext; rfl |
| 38 | |
| 39 | /-- A rational covector is determined by its values on the spanning lattice. -/ |
| 40 | theorem characterRestriction_injective : Function.Injective (characterRestriction (K := K) Λ) := by |
| 41 | intro f g h |
| 42 | ext v |
| 43 | rcases v with ⟨v, hv⟩ |
| 44 | induction hv using Submodule.span_induction with |
| 45 | | mem x hx => exact DFunLike.congr_fun h ⟨x, hx⟩ |
| 46 | | zero => |
| 47 | change f 0 = g 0 |
| 48 | simp |
| 49 | | add x y hx hy hfx hfy => |
| 50 | change f (⟨x, hx⟩ + ⟨y, hy⟩) = g (⟨x, hx⟩ + ⟨y, hy⟩) |
| 51 | rw [map_add, map_add, hfx, hfy] |
| 52 | | smul r x hx hfx => |
| 53 | change f (r • (⟨x, hx⟩ : RationalSpan Λ)) = g (r • (⟨x, hx⟩ : RationalSpan Λ)) |
| 54 | rw [map_smul, map_smul, hfx] |
| 55 | |
| 56 | /-- An additive rational character extends rationally linearly to the span. -/ |
| 57 | theorem characterRestriction_surjective : Function.Surjective (characterRestriction (K := K) Λ) := by |
| 58 | intro φ |
| 59 | obtain ⟨F, hF⟩ := PeriodSurjectivityOne.Constructions.PeriodSurjectivity.exists_additive_extension Λ φ |
| 60 | refine ⟨F.toRatLinearMap.domRestrict (RationalSpan Λ), ?_⟩ |
| 61 | ext ℓ |
| 62 | exact hF ℓ |
| 63 | |
| 64 | /-- The rational lattice dual and additive lattice characters are canonically |
| 65 | the same vector space. -/ |
| 66 | def characterRestrictionEquiv : (RationalSpan Λ →ₗ[ℚ] K) ≃ₗ[K] (Λ →+ K) := |
| 67 | LinearEquiv.ofBijective (characterRestriction Λ) |
| 68 | ⟨characterRestriction_injective Λ, characterRestriction_surjective Λ⟩ |
| 69 | |
| 70 | variable [NormedSpace ℝ V] [DiscreteTopology Λ] |
| 71 | |
| 72 | /-- The project's actual singular H¹ is canonically the BettiLattice lattice dual. -/ |
| 73 | def singularH1LatticeDualEquiv : |
| 74 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology SingularPeriodsD.Constructions.SingularPeriods.Coeff (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 ≃ₗ[ℚ] |
| 75 | Module.Dual ℚ (RationalSpan Λ) := |
| 76 | (PeriodSurjectivityOne.Constructions.PeriodSurjectivity.cohomologyPeriodEquiv Λ).trans (characterRestrictionEquiv Λ).symm |
| 77 | |
| 78 | end AlgebraicGeometry.HodgeConjecture.DegreeTwo.LatticePeriod.Constructions.LatticeDual |
| 79 | |
| 80 | namespace AlgebraicGeometry.HodgeConjecture.DegreeTwo.LatticePeriod.Constructions.PeriodNaturality |
| 81 | |
| 82 | /-! |
| 83 | # DegreeTwo: naturality of the genuine singular period comparison |
| 84 | |
| 85 | For a commuting diagram of pointed covering maps, the normalized primitive |
| 86 | of a pulled-back cocycle is the pullback of its normalized primitive. |
| 87 | Therefore the period comparison respects actual singular pullback. |
| 88 | -/ |
| 89 | |
| 90 | open _root_.CategoryTheory |
| 91 | |
| 92 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OnePrimitives.Constructions.DegreeOnePrimitives |
| 93 | |
| 94 | variable {K : Type} [Field K] |
| 95 | |
| 96 | variable {V W : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 97 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 98 | (Λ : Submodule ℤ V) (Γ : Submodule ℤ W) |
| 99 | (f : SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V) ⟶ SingularPeriodsD.Constructions.SingularPeriods.Cover (V := W)) (g : SingularPeriodsD.Constructions.SingularPeriods.Base Λ ⟶ SingularPeriodsD.Constructions.SingularPeriods.Base Γ) |
| 100 | (hsquare : f ≫ SingularPeriodsD.Constructions.SingularPeriods.projection Γ = SingularPeriodsD.Constructions.SingularPeriods.projection Λ ≫ g) (hf₀ : f 0 = 0) |
| 101 | |
| 102 | include hsquare hf₀ |
| 103 | |
| 104 | /-- Pullback commutes with the uniquely normalized primitive. -/ |
| 105 | theorem primitive_naturality (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Γ) 1) : |
| 106 | SingularPeriodsD.Constructions.SingularPeriods.primitive Λ (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c) = |
| 107 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) f).f 0 (SingularPeriodsD.Constructions.SingularPeriods.primitive Γ c) := by |
| 108 | apply OnePrimitives.Constructions.DegreeOnePrimitives.zeroCochain_eq_of_d_eq (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)) 0 |
| 109 | · rw [SingularPeriodsD.Constructions.SingularPeriods.primitive_d, SingularPeriodsD.Constructions.SingularPeriods.zeroPullback_d, SingularPeriodsD.Constructions.SingularPeriods.primitive_d] |
| 110 | change (((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).f 1) c.1 = |
| 111 | (((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Γ)) ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) f).f 1) c.1 |
| 112 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, hsquare] |
| 113 | · rw [AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso_pullback] |
| 114 | change SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Λ (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c) 0 = |
| 115 | SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Γ c (f 0) |
| 116 | rw [hf₀, SingularPeriodsD.Constructions.SingularPeriods.primitiveValue_zero, SingularPeriodsD.Constructions.SingularPeriods.primitiveValue_zero] |
| 117 | |
| 118 | /-- The naturality formula holds at each point of the covering vector space. -/ |
| 119 | theorem primitiveValue_naturality (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Γ) 1) (v : V) : |
| 120 | SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Λ (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c) v = |
| 121 | SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Γ c (f v) := by |
| 122 | change (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).hom |
| 123 | (SingularPeriodsD.Constructions.SingularPeriods.primitive Λ (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c)) v = _ |
| 124 | rw [primitive_naturality Λ Γ f g hsquare hf₀, AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso_pullback] |
| 125 | rfl |
| 126 | |
| 127 | /-- The period map intertwines actual singular pullback with the induced |
| 128 | map on lattice vectors in a commuting pointed covering diagram. -/ |
| 129 | theorem cohomologyPeriod_naturality [DiscreteTopology Λ] [DiscreteTopology Γ] |
| 130 | (u : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Γ) 1) (ℓ : Λ) (k : Γ) (hk : (k : W) = f ℓ) : |
| 131 | SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod Λ (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of K K) g 1 u) ℓ = |
| 132 | SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod Γ u k := by |
| 133 | obtain ⟨c, rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_surjective (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Γ) 1 u |
| 134 | have hn := AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c |
| 135 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of K K) g 1 (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Γ) 1 c) = |
| 136 | AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c) at hn |
| 137 | rw [hn, SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod_class, SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod_class] |
| 138 | change SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Λ (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) g) 1 c) ℓ = |
| 139 | SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Γ c k |
| 140 | rw [primitiveValue_naturality Λ Γ f g hsquare hf₀, hk] |
| 141 | |
| 142 | end AlgebraicGeometry.HodgeConjecture.DegreeTwo.LatticePeriod.Constructions.PeriodNaturality |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI |