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.ConstantCohomology |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechAffineBaseChange |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 5 | |
| 6 | /-! # Affine Constant -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineConstant |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A constant geometric family has a finite free detector for its first |
| 13 | Cech cohomology, with arbitrary further base change. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.AffineConstantDetector |
| 23 | |
| 24 | variable {K : Type u} [Field K] {X Y T : Scheme.{u}} [IsAffine T] |
| 25 | variable (f : Y ⟶ X) (π : X ⟶ Spec (.of K)) (ρ : Y ⟶ T) (g : T ⟶ Spec (.of K)) |
| 26 | variable (hp : IsPullback f ρ π g) (M : X.Modules) [M.IsQuasicoherent] |
| 27 | variable {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 28 | variable (ha : ∀ (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q), IsAffineOpen (∏ᶜ fun k => U (i.1 k))) |
| 29 | |
| 30 | abbrev source := (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).sc' 0 1 2 |
| 31 | abbrev family := (CechBaseTmul.Construction.CechBaseChangeMap.target f ρ M U).sc' 0 1 2 |
| 32 | abbrev target : ShortComplex (ModuleCat.{u} Γ(T, ⊤)) := |
| 33 | letI : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 34 | ConstantCohomology.Construction.ConstantCohomologyDetector.target g.appTop.hom (source π M U) |
| 35 | |
| 36 | def shortIso : ((source π M U).map (ModuleCat.extendScalars g.appTop.hom)) ≅ family f ρ M U := by |
| 37 | have := CechAffineBaseChange.Construction.CechBaseChangeMap.isIso_of_affine_intersections f π ρ g hp M U ha |
| 38 | exact (HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(T, ⊤)) |
| 39 | (ComplexShape.up ℕ) 0 1 2).mapIso (asIso (CechBaseTmul.Construction.CechBaseChangeMap.map f π ρ g hp.w M U)) |
| 40 | |
| 41 | def comparison : family f ρ M U ⟶ target π g M U := by |
| 42 | letI : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 43 | exact ConstantCohomology.Construction.ConstantCohomologyDetector.comparison g.appTop.hom (source π M U) |
| 44 | (shortIso f π ρ g hp M U ha) |
| 45 | |
| 46 | theorem incoming_zero : (family f ρ M U).f ≫ (comparison f π ρ g hp M U ha).τ₂ = 0 := by |
| 47 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 48 | rw [← (comparison f π ρ g hp M U ha).comm₁₂, |
| 49 | ConstantCohomology.Construction.ConstantCohomologyDetector.first_zero, comp_zero] |
| 50 | |
| 51 | omit [IsAffine T] [M.IsQuasicoherent] [Finite ι] in |
| 52 | theorem finite [Module.Finite Γ(Spec (.of K), ⊤) ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).homology 1)] : |
| 53 | Module.Finite Γ(T, ⊤) (target π g M U).X₂ := by |
| 54 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 55 | have : Module.Finite Γ(Spec (.of K), ⊤) (source π M U).homology := |
| 56 | Module.Finite.equiv ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).homologyIsoSc' 0 1 2 |
| 57 | (by simp) (by simp)).toLinearEquiv |
| 58 | exact ConstantCohomology.Construction.ConstantCohomologyDetector.finite g.appTop.hom (source π M U) |
| 59 | |
| 60 | omit [IsAffine T] [M.IsQuasicoherent] [Finite ι] in |
| 61 | theorem free : Module.Free Γ(T, ⊤) (target π g M U).X₂ := by |
| 62 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 63 | exact ConstantCohomology.Construction.ConstantCohomologyDetector.free g.appTop.hom (source π M U) |
| 64 | |
| 65 | theorem baseChange_quasiIso {A : Type u} [CommRing A] (a : Γ(T, ⊤) →+* A) : |
| 66 | ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map |
| 67 | (comparison f π ρ g hp M U ha)) := by |
| 68 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 69 | exact ConstantCohomology.Construction.ConstantCohomologyDetector.baseChange_quasiIso g.appTop.hom (source π M U) |
| 70 | (shortIso f π ρ g hp M U ha) a |
| 71 | |
| 72 | end Construction.AffineConstantDetector |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineConstant |