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.AbelianModuli.HilbertConstruction.PrescribedRecoveryEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrescribedClosedFamilyCompatibility |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.CartesianEquality |
| 4 | |
| 5 | /-! # Prescribed Closed Family Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The smooth model recovers the given ideal-defined family in its prescribed projective space. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel.prescribedClosedFamily_recovery |
| 18 | {C K R : CommRingCat.{u}} (φ : C ⟶ K) (ψ : K ⟶ R) {n : ℕ} |
| 19 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n)) |
| 20 | {X : Over (Spec C)} (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace C n) [IsClosedImmersion i.left] |
| 21 | (L : Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel ((Over.pullback (Spec.map φ)).obj X) (Spec.map ψ)) |
| 22 | (q : F.scheme.left ⟶ X.left) |
| 23 | (h : IsPullback q F.scheme.hom X.hom (Spec.map ψ ≫ Spec.map φ)) |
| 24 | (hw : q ≫ i.left = F.inclusion.left ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (φ ≫ ψ) n) : |
| 25 | F = (L.prescribedClosedFamily φ (Spec.map ψ) i).pullbackAlong |
| 26 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap ψ n) (Spec.map ψ) (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback ψ n) := by |
| 27 | let G := L.prescribedClosedFamily φ (Spec.map ψ) i |
| 28 | let e : L.scheme ≅ G.scheme := L.prescribedClosedFamilyIso φ (Spec.map ψ) i |
| 29 | let j : L.scheme.left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace K n).left := |
| 30 | (L.prescribedEmbedding φ (Spec.map ψ) i).left |
| 31 | let qY : F.scheme.left ⟶ L.scheme.left := L.prescribedRecoveryMap φ ψ q h |
| 32 | have he : e.hom.left ≫ G.inclusion.left = j := |
| 33 | congrArg (fun k => k.left) (L.prescribedClosedFamilyIso_inclusion φ (Spec.map ψ) i) |
| 34 | have : IsIso e.hom.left := (Over.forget (Spec K)).map_isIso e.hom |
| 35 | have hi : IsPullback e.hom.left j G.inclusion.left (𝟙 (Projective.ProjectivePresentations.affineProjectiveSpace K n).left) := |
| 36 | IsPullback.of_horiz_isIso ⟨he.trans (Category.comp_id j).symm⟩ |
| 37 | have hq : IsPullback qY F.inclusion.left j (Projective.CoefficientFunctoriality.polynomialProjectiveMap ψ n) := |
| 38 | L.prescribedEmbedding_recovery_isPullback φ ψ F.inclusion i q h hw |
| 39 | have H := hq.paste_horiz hi |
| 40 | simp only [Category.comp_id] at H |
| 41 | exact Closed.Families.FlatClosedFamily.eq_pullbackAlong_of_isPullback F G _ _ |
| 42 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback ψ n) (qY ≫ e.hom.left) H |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |