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.ArithmeticGeometry.OrdinaryLocus.Openness.ScalarRingCycleEquiv |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CechModelSectionCompatibility |
| 3 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 4 | |
| 5 | /-! # Affine Base Point Sections -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineBasePointSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coefficient-ring point of an affine base and its canonical section-lifting condition. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} [IsAffine S] {A : Type u} [CommRing A] |
| 19 | variable (a : Γ(S, ⊤) →+* A) |
| 20 | |
| 21 | def affineBasePoint : Spec (.of A) ⟶ S := Spec.map (CommRingCat.ofHom a) ≫ S.isoSpec.inv |
| 22 | |
| 23 | theorem affineBasePoint_appTop : |
| 24 | (affineBasePoint a).appTop ≫ (Scheme.ΓSpecIso (.of A)).hom = CommRingCat.ofHom a := by |
| 25 | have hS : S.isoSpec.inv.appTop ≫ (Scheme.ΓSpecIso Γ(S, ⊤)).hom = 𝟙 Γ(S, ⊤) := by |
| 26 | rw [← Scheme.toSpecΓ_appTop] |
| 27 | change S.isoSpec.inv.appTop ≫ S.isoSpec.hom.appTop = 𝟙 Γ(S, ⊤) |
| 28 | rw [← Scheme.Hom.comp_appTop, Iso.hom_inv_id] |
| 29 | rfl |
| 30 | rw [affineBasePoint, Scheme.Hom.comp_appTop, Category.assoc, Scheme.ΓSpecIso_naturality, |
| 31 | ← Category.assoc] |
| 32 | exact (congrArg (fun b : Γ(S, ⊤) ⟶ Γ(S, ⊤) ↦ b ≫ CommRingCat.ofHom a) hS).trans |
| 33 | (Category.id_comp _) |
| 34 | |
| 35 | theorem cochain_cycles_lift_iff_affineBasePoint |
| 36 | (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) : |
| 37 | Function.Surjective (CochainBaseChangeCycles.Construction.cochainBaseChangeFirstCycle (affineBasePoint a).appTop.hom D) ↔ |
| 38 | Function.Surjective (CochainBaseChangeCycles.Construction.cochainBaseChangeFirstCycle a D) := |
| 39 | ScalarRingCycleEquiv.Construction.cochain_cycles_lift_iff_of_scalarRingIso (affineBasePoint a).appTop.hom a |
| 40 | (Scheme.ΓSpecIso (.of A)).commRingCatIsoToRingEquiv |
| 41 | (fun x ↦ ConcreteCategory.congr_hom (affineBasePoint_appTop a) x) D |
| 42 | |
| 43 | theorem affineBasePoint_model_sections_surjective_iff |
| 44 | {X Y : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ Spec (.of A)) |
| 45 | (h : f ≫ π = ρ ≫ affineBasePoint a) (M : X.Modules) |
| 46 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 47 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 48 | (φ : D ⟶ OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U) [QuasiIsoAt φ 0] |
| 49 | [QuasiIsoAt (OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap f π ρ (affineBasePoint a) h M U φ) 0] : |
| 50 | Function.Surjective (OpenPullbackSections.Construction.modulePullbackSection f M ⊤) ↔ |
| 51 | Function.Surjective (CochainBaseChangeCycles.Construction.cochainBaseChangeFirstCycle a D) := |
| 52 | (CechModelSectionCompatibility.Construction.cechModel_sections_surjective_iff_cycles_lift f π ρ (affineBasePoint a) h M U hU φ).trans |
| 53 | (cochain_cycles_lift_iff_affineBasePoint a D) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineBasePointSections.Construction |