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.AbelianModuli.ReferenceFamily.SingularPeriodEquiv |
| 2 | import Mathlib.Algebra.Module.LinearMap.Rat |
| 3 | import Mathlib.LinearAlgebra.Dual.Defs |
| 4 | |
| 5 | /-! # Lattice Period Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticePeriodEvaluation.LatticeCharacters |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # ReferenceFamily: singular H¹ and actual rational lattice characters |
| 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⟩ := SingularPeriodEquiv.SingularPeriodComparison.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 HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Coeff (HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 ≃ₗ[ℚ] |
| 75 | Module.Dual ℚ (RationalSpan Λ) := |
| 76 | (SingularPeriodEquiv.SingularPeriodComparison.cohomologyPeriodEquiv Λ).trans (characterRestrictionEquiv Λ).symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | /-! The lattice-dual equivalence evaluates to the actual constructed |
| 81 | singular period character on every integral period. -/ |
| 82 | |
| 83 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] [Module ℚ V] |
| 84 | (Λ : Submodule ℤ V) [DiscreteTopology Λ] |
| 85 | |
| 86 | theorem singularH1LatticeDualEquiv_lattice (c : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Coeff (HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1) (ell : Λ) : |
| 87 | singularH1LatticeDualEquiv Λ c (latticeInclusion Λ ell) = HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod Λ c ell := by |
| 88 | have h := (characterRestrictionEquiv (K := ℚ) Λ).apply_symm_apply |
| 89 | (SingularPeriodEquiv.SingularPeriodComparison.cohomologyPeriodEquiv Λ c) |
| 90 | exact congrArg (fun a : Λ →+ ℚ => a ell) h |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticePeriodEvaluation.LatticeCharacters |