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.Smooth.AffineIsomorphismDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverPullbackProperties |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MappedSquareComparisonIso |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MappedComparisonPullback |
| 5 | |
| 6 | /-! # Ambient Square Pullback Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientSquarePullbackDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finitely many ambient overlap squares become Cartesian over one finite coefficient extension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem exists_common_ambient_square_pullbacks |
| 19 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 20 | {I : Type v} [Finite I] (A B X Y : I → Over (Spec (.of C))) |
| 21 | [∀ i, IsAffine (A i).left] [∀ i, IsAffine (B i).left] |
| 22 | [∀ i, IsAffine (X i).left] [∀ i, IsAffine (Y i).left] |
| 23 | [∀ i, Smooth (A i).hom] [∀ i, Smooth (B i).hom] |
| 24 | (f : ∀ i, A i ⟶ B i) (a : ∀ i, A i ⟶ X i) (b : ∀ i, B i ⟶ Y i) (g : ∀ i, X i ⟶ Y i) |
| 25 | [∀ i, IsOpenImmersion (g i).left] (h : ∀ i, f i ≫ b i = a i ≫ g i) |
| 26 | [∀ i, IsIso ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))).map (a i))] |
| 27 | [∀ i, IsIso ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))).map (b i))] |
| 28 | (E : Subalgebra C R) (hE : E.FG) : |
| 29 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 30 | ∀ i, IsPullback |
| 31 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map (f i)) |
| 32 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map (a i)) |
| 33 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map (b i)) |
| 34 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map (g i)) := by |
| 35 | let P (i : I) := pullback (b i) (g i) |
| 36 | let c (i : I) : A i ⟶ P i := pullback.lift (f i) (a i) (h i) |
| 37 | have (i : I) : IsAffine (P i).left := Affine.OverPullbackProperties.affineOverPullback_affine (b i) (g i) |
| 38 | have (i : I) : Smooth (P i).hom := Affine.OverPullbackProperties.affineOverPullback_smooth (b i) (g i) |
| 39 | have (i : I) : IsIso ((Over.pullback |
| 40 | (Spec.map (CommRingCat.ofHom (algebraMap C R)))).map (c i)) := |
| 41 | MappedSquareComparisonIso.isIso_mapped_pullbackLift_of_vert_isIso _ (f i) (a i) (b i) (g i) (h i) |
| 42 | obtain ⟨D, hED, hD, hd⟩ := HilbertConstruction.Smooth.AffineIsomorphismDescent.exists_common_smooth_affine_isomorphisms A P c E hE |
| 43 | refine ⟨D, hED, hD, ?_⟩ |
| 44 | intro i |
| 45 | have : IsIso ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map (c i)) := hd i |
| 46 | exact MappedComparisonPullback.isPullback_of_mapped_comparison_isIso |
| 47 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))) |
| 48 | (pullback.fst (b i) (g i)) (pullback.snd (b i) (g i)) (b i) (g i) |
| 49 | (IsPullback.of_hasPullback (b i) (g i)) (c i) (f i) (a i) |
| 50 | (pullback.lift_fst _ _ _) (pullback.lift_snd _ _ _) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientSquarePullbackDescent |