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.NumberTheory.PadicHodge.GeometricComparison.Integrality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSplitMap |
| 4 | |
| 5 | /-! # Global Functions -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalFunctions.IntegralGlobalFunctions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual global functions of an abelian scheme over an integral noetherian affine base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem appTop_isIso {R : Type u} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 19 | {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of R))) : |
| 20 | IsIso A.scheme.hom.appTop := by |
| 21 | let : GeometricallyIntegral A.scheme.hom := |
| 22 | Integrality.GeometricIntegrality.of_smooth_geometricallyConnected A.scheme.hom |
| 23 | let : IsIntegral A.scheme.left := |
| 24 | GeometricallyIntegral.isIntegral_of_isLocallyNoetherian A.scheme.hom |
| 25 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 26 | apply AlgebraicGeometry.FormalGeometry.Completion.IntegralSplitMap.Construction.integral_split_bijective A.scheme.hom.appTop.hom (η[A.scheme]).left.appTop.hom |
| 27 | (isIntegral_appTop_of_universallyClosed A.scheme.hom) |
| 28 | have h : A.scheme.hom.appTop ≫ (η[A.scheme]).left.appTop = 𝟙 _ := by |
| 29 | rw [← Scheme.Hom.comp_appTop, (η[A.scheme]).w] |
| 30 | rfl |
| 31 | exact congrArg CommRingCat.Hom.hom h |
| 32 | |
| 33 | theorem spec_appTop_surjective {R S : Type u} [CommRing R] [CommRing S] |
| 34 | (r : R →+* S) (hr : Function.Surjective r) : |
| 35 | Function.Surjective (Spec.map (CommRingCat.ofHom r)).appTop.hom := by |
| 36 | have h := Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom r) |
| 37 | have hs : Function.Surjective |
| 38 | (((Scheme.ΓSpecIso (.of R)).inv ≫ (Spec.map (CommRingCat.ofHom r)).appTop).hom) := by |
| 39 | rw [← h] |
| 40 | exact ((Scheme.ΓSpecIso (.of S)).commRingCatIsoToRingEquiv.symm.surjective).comp hr |
| 41 | change Function.Surjective ((Spec.map (CommRingCat.ofHom r)).appTop.hom ∘ |
| 42 | (Scheme.ΓSpecIso (.of R)).inv.hom) at hs |
| 43 | exact hs.of_comp |
| 44 | |
| 45 | theorem baseChange_surjective {R S : Type u} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 46 | [CommRing S] [IsDomain S] [IsNoetherianRing S] |
| 47 | {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of R))) |
| 48 | (r : R →+* S) (hr : Function.Surjective r) : |
| 49 | Function.Surjective (pullback.fst A.scheme.hom (Spec.map (CommRingCat.ofHom r))).appTop.hom := by |
| 50 | let b := Spec.map (CommRingCat.ofHom r) |
| 51 | let B := A.pullback b |
| 52 | let : IsIso B.scheme.hom.appTop := appTop_isIso B |
| 53 | have hB : Function.Surjective B.scheme.hom.appTop.hom := |
| 54 | (ConcreteCategory.isIso_iff_bijective B.scheme.hom.appTop).mp inferInstance |>.surjective |
| 55 | have h := congrArg Scheme.Hom.appTop (pullback.condition (f := A.scheme.hom) (g := b)) |
| 56 | simp only [Scheme.Hom.comp_appTop] at h |
| 57 | have hs : Function.Surjective |
| 58 | ((A.scheme.hom.appTop ≫ (pullback.fst A.scheme.hom b).appTop).hom) := by |
| 59 | rw [h] |
| 60 | exact hB.comp (spec_appTop_surjective r hr) |
| 61 | change Function.Surjective ((pullback.fst A.scheme.hom b).appTop.hom ∘ |
| 62 | A.scheme.hom.appTop.hom) at hs |
| 63 | exact hs.of_comp |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalFunctions.IntegralGlobalFunctions |