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.IntersectionRecoveryTransformation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReferenceIntersectionColimit |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramGlobalRecovery |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.DiagramGluing |
| 5 | |
| 6 | /-! # Glued Intersection Recovery -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The glued intersection scheme recovers the original scheme by base change. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {X : Over (Spec (.of R))} |
| 19 | variable [CompactSpace X.left] [IsSeparated X.hom] (M : FiniteIntersection.IntersectionModel.FiniteIntersectionModel X) |
| 20 | variable (D : Subalgebra M.coefficients R) |
| 21 | variable [(M.baseChangedSchemeFunctor D ⋙ Scheme.forget).IsLocallyDirected] |
| 22 | |
| 23 | local instance FiniteIntersection.IntersectionModel.FiniteIntersectionModel.original_scheme_arrow_open {S T : (Finite.AffineIntersections.finiteIntersectionIndex X)ᵒᵈ} (h : S ⟶ T) : |
| 24 | IsOpenImmersion ((ReferenceIntersectionFunctor.originalIntersectionFunctor X ⋙ Over.forget (Spec (.of R))).map h) := |
| 25 | ReferenceIntersectionFunctor.originalIntersectionFunctor_open X h |
| 26 | |
| 27 | def FiniteIntersection.IntersectionModel.FiniteIntersectionModel.recoveredIntersectionMap : X.left ⟶ colimit (M.baseChangedSchemeFunctor D) := |
| 28 | (ReferenceIntersectionColimit.originalIntersectionColimitIso X).inv ≫ |
| 29 | Cartesian.DiagramGluing.cartesianDiagramGluedMap (ReferenceIntersectionFunctor.originalIntersectionFunctor X ⋙ Over.forget (Spec (.of R))) |
| 30 | (M.baseChangedSchemeFunctor D) (M.intersectionRecoveryNat D) (M.intersectionRecoveryNat_equifibered D) |
| 31 | |
| 32 | theorem FiniteIntersection.IntersectionModel.FiniteIntersectionModel.recoveredIntersectionMap_isPullback : |
| 33 | IsPullback (M.recoveredIntersectionMap D) X.hom |
| 34 | (Smooth.DiagramGluing.smoothDiagramGluedMap (C := D) (M.baseChangedFunctor D)) |
| 35 | (Spec.map (CommRingCat.ofHom D.val.toRingHom)) := by |
| 36 | let F := ReferenceIntersectionFunctor.originalIntersectionFunctor X ⋙ Over.forget (Spec (.of R)) |
| 37 | let G := M.baseChangedSchemeFunctor D |
| 38 | let q := M.intersectionRecoveryNat D |
| 39 | let hq := M.intersectionRecoveryNat_equifibered D |
| 40 | have H := Cartesian.DiagramGlobalRecovery.cartesianDiagramGluedMap_base_isPullback F G q hq |
| 41 | ((ReferenceIntersectionColimit.originalIntersectionColimitIso X).hom ≫ X.hom) |
| 42 | (Smooth.DiagramGluing.smoothDiagramGluedMap (C := D) (M.baseChangedFunctor D)) |
| 43 | (Spec.map (CommRingCat.ofHom D.val.toRingHom)) (fun S => by |
| 44 | let qi : F.obj S ⟶ G.obj S := M.chartBaseChangeRecovery D S |
| 45 | have ho := ReferenceIntersectionColimit.originalIntersectionColimitIso_ι_base X S |
| 46 | have hn := Smooth.DiagramGluing.smoothDiagramGluedMap_ι (C := D) (M.baseChangedFunctor D) S |
| 47 | exact (congrArg₂ (fun (a : F.obj S ⟶ Spec (.of R)) (b : G.obj S ⟶ Spec (.of D)) => |
| 48 | IsPullback qi a b (Spec.map (CommRingCat.ofHom D.val.toRingHom))) ho hn).mpr |
| 49 | (M.chartBaseChangeRecovery_isPullback D S)) |
| 50 | apply H.of_iso (ReferenceIntersectionColimit.originalIntersectionColimitIso X) (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 51 | · change _ ≫ 𝟙 _ = (ReferenceIntersectionColimit.originalIntersectionColimitIso X).hom ≫ |
| 52 | ((ReferenceIntersectionColimit.originalIntersectionColimitIso X).inv ≫ _) |
| 53 | dsimp only [F, G, q, hq] |
| 54 | simp |
| 55 | · simp |
| 56 | · simp |
| 57 | · simp |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |