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.AffineConstant |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrdinaryCechBase |
| 3 | |
| 4 | /-! # Ordinary Constant -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrdinaryConstant |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constant-family detector on actual ordinary Cech section coordinates. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.OrdinaryConstantDetector |
| 20 | |
| 21 | variable {K : Type u} [Field K] {X Y T : Scheme.{u}} [IsAffine T] |
| 22 | variable (f : Y ⟶ X) (π : X ⟶ Spec (.of K)) (ρ : Y ⟶ T) (g : T ⟶ Spec (.of K)) |
| 23 | variable (hp : IsPullback f ρ π g) (M : X.Modules) [M.IsQuasicoherent] |
| 24 | variable {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 25 | variable (ha : ∀ (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q), IsAffineOpen (∏ᶜ fun k => U (i.1 k))) |
| 26 | |
| 27 | abbrev source := CechShort.Construction.CechShortCoordinates.target ρ ((Scheme.Modules.pullback f).obj M) |
| 28 | (fun i => f ⁻¹ᵁ U i) |
| 29 | |
| 30 | def comparison : source f ρ M U ⟶ AffineConstant.Construction.AffineConstantDetector.target π g M U := |
| 31 | OrdinaryCechBase.Construction.OrdinaryCechProjection.map ρ ((Scheme.Modules.pullback f).obj M) (fun i => f ⁻¹ᵁ U i) ≫ |
| 32 | AffineConstant.Construction.AffineConstantDetector.comparison f π ρ g hp M U ha |
| 33 | |
| 34 | theorem incoming_zero : (source f ρ M U).f ≫ (comparison f π ρ g hp M U ha).τ₂ = 0 := by |
| 35 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 36 | rw [← (comparison f π ρ g hp M U ha).comm₁₂, |
| 37 | ConstantCohomology.Construction.ConstantCohomologyDetector.first_zero, comp_zero] |
| 38 | |
| 39 | theorem baseChange_quasiIso {A : Type u} [CommRing A] (a : Γ(T, ⊤) →+* A) : |
| 40 | ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map |
| 41 | (comparison f π ρ g hp M U ha)) := by |
| 42 | have := OrdinaryCechBase.Construction.OrdinaryCechProjection.baseChange_quasiIso ρ ((Scheme.Modules.pullback f).obj M) |
| 43 | (fun i => f ⁻¹ᵁ U i) a |
| 44 | have := AffineConstant.Construction.AffineConstantDetector.baseChange_quasiIso f π ρ g hp M U ha a |
| 45 | change ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map (_ ≫ _)) |
| 46 | rw [Functor.map_comp] |
| 47 | exact ShortComplex.quasiIso_comp _ _ |
| 48 | |
| 49 | end Construction.OrdinaryConstantDetector |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrdinaryConstant |