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.Quotients.FiniteDescent.FieldExtension |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechAffineBaseChange |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | |
| 5 | /-! # Cech Field Base Change -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.CechFieldBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Field extension preserves the H1 dimension of the actual geometric |
| 12 | Cech complex; the comparison is the existing tensor base-change map. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem fieldExtension_homology_finrank {K T : Type u} [Field K] [CommRing T] [Nontrivial T] |
| 22 | (f : K →+* T) (C : ShortComplex (ModuleCat.{u} K)) : |
| 23 | Module.finrank T (C.map (ModuleCat.extendScalars f)).homology = Module.finrank K C.homology := by |
| 24 | let : Algebra K T := f.toAlgebra |
| 25 | have := AlgebraicGeometry.Quotients.FiniteDescent.FieldExtension.Construction.FieldExtensionExact.preservesHomology f |
| 26 | have h := (C.mapHomologyIso (ModuleCat.extendScalars f)).toLinearEquiv.finrank_eq |
| 27 | change Module.finrank T (C.map (ModuleCat.extendScalars f)).homology = |
| 28 | Module.finrank T (T ⊗[K] C.homology) at h |
| 29 | rw [Module.finrank_baseChange] at h |
| 30 | exact h |
| 31 | |
| 32 | theorem geometricCech_H1_finrank_field_baseChange |
| 33 | {X Y S T : Scheme.{u}} [IsAffine S] [IsAffine T] [Nontrivial Γ(T, ⊤)] |
| 34 | (hS : IsField Γ(S, ⊤)) (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 35 | (hp : IsPullback f ρ π g) (M : X.Modules) [M.IsQuasicoherent] |
| 36 | {I : Type u} [LinearOrder I] [Finite I] (U : I → X.Opens) |
| 37 | (ha : ∀ (n : ℕ) (i : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex I n), IsAffineOpen (∏ᶜ fun k => U (i.1 k))) : |
| 38 | Module.finrank Γ(T, ⊤) ((AlgebraicGeometry.Quotients.FiniteDescent.CechBaseTmul.Construction.CechBaseChangeMap.target f ρ M U).sc' 0 1 2).homology = |
| 39 | Module.finrank Γ(S, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).sc' 0 1 2).homology := by |
| 40 | let : Field Γ(S, ⊤) := hS.toField |
| 41 | have := AlgebraicGeometry.Quotients.FiniteDescent.CechAffineBaseChange.Construction.CechBaseChangeMap.isIso_of_affine_intersections f π ρ g hp M U ha |
| 42 | let k := (HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(T, ⊤)) |
| 43 | (ComplexShape.up ℕ) 0 1 2).map (AlgebraicGeometry.Quotients.FiniteDescent.CechBaseTmul.Construction.CechBaseChangeMap.map f π ρ g hp.w M U) |
| 44 | have : IsIso k := inferInstance |
| 45 | have h := (asIso (ShortComplex.homologyMap k)).toLinearEquiv.finrank_eq |
| 46 | exact h.symm.trans (fieldExtension_homology_finrank g.appTop.hom |
| 47 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).sc' 0 1 2)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.RepresentationTheory.Theta.Geometric.CechFieldBaseChange |