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.NormalizedScalar |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.FunctorEquivalence |
| 3 | |
| 4 | /-! # Scalar Short -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ScalarShort |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble normalized scalar-extension comparisons on three module |
| 11 | terms into an isomorphism of short complexes. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open scoped ChangeOfRings |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.ScalarShortComplexData |
| 21 | |
| 22 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 23 | |
| 24 | theorem square {A B : ModuleCat.{u} R} {C D : ModuleCat.{u} S} |
| 25 | (p : A ⟶ B) (q : C ⟶ D) (v : A → C) (w : B → D) |
| 26 | (e : NormalizedScalar.Construction.NormalizedScalarIso.Data f v) (d : NormalizedScalar.Construction.NormalizedScalarIso.Data f w) |
| 27 | (h : ∀ x, q (v x) = w (p x)) : e.val.hom ≫ q = (ModuleCat.extendScalars f).map p ≫ d.val.hom := by |
| 28 | apply ModuleCat.ExtendScalars.hom_ext |
| 29 | intro x |
| 30 | change q (e.val.hom ((1 : S) ⊗ₜ[R,f] x)) = |
| 31 | d.val.hom ((ModuleCat.extendScalars f).map p ((1 : S) ⊗ₜ[R,f] x)) |
| 32 | exact (congrArg q (e.property x)).trans ((h x).trans (d.property (p x)).symm) |
| 33 | |
| 34 | def iso (C : ShortComplex (ModuleCat.{u} R)) (D : ShortComplex (ModuleCat.{u} S)) |
| 35 | (v₁ : C.X₁ → D.X₁) (v₂ : C.X₂ → D.X₂) (v₃ : C.X₃ → D.X₃) |
| 36 | (e₁ : NormalizedScalar.Construction.NormalizedScalarIso.Data f v₁) (e₂ : NormalizedScalar.Construction.NormalizedScalarIso.Data f v₂) |
| 37 | (e₃ : NormalizedScalar.Construction.NormalizedScalarIso.Data f v₃) |
| 38 | (h₁ : ∀ x, D.f (v₁ x) = v₂ (C.f x)) (h₂ : ∀ x, D.g (v₂ x) = v₃ (C.g x)) : |
| 39 | C.map (ModuleCat.extendScalars f) ≅ D := |
| 40 | ShortComplex.isoMk e₁.val e₂.val e₃.val |
| 41 | (square f C.f D.f v₁ v₂ e₁ e₂ h₁) (square f C.g D.g v₂ v₃ e₂ e₃ h₂) |
| 42 | |
| 43 | end Construction.ScalarShortComplexData |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ScalarShort |