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.Resolution.Blowups.GlobalComponent.Center |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Surface.TangentCenter |
| 3 | |
| 4 | /-! # Tangent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual glued finite-order surface center is smooth, permissible, and nonzero. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 15 | (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (ℓ : ℕ) |
| 16 | (C : ∀ i, Surface.TangentCenterChoice.Construction.SurfaceTangentCenterChoice ℂ (A.rings i) (A.ideals i) n ℓ) |
| 17 | (I : X.IdealSheafData) (hI : ∀ i, I.comap (A.map i) = Affine.QuotientKernel.Construction.affineQuotientKernel (C i).center) |
| 18 | |
| 19 | include hI |
| 20 | |
| 21 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.surfaceCenter_ideal (i : A.indices) : I.ideal (A.nativeOpens i) = |
| 22 | (C i).center.comap (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom := |
| 23 | Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_ideal (A.rings i) (A.map i) I _ (hI i) |
| 24 | |
| 25 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.surfaceCenter_permissible (hdim : ∀ i, ringKrullDim (A.rings i) ≤ 2) |
| 26 | (hlevel : (n + 1).factorial ≤ ℓ + 1) : J ≤ I ^ (n + 1) := by |
| 27 | apply GlobalComponent.Center.Construction.idealSheaf_le_of_native_affine_cover A.nativeOpens A.nativeOpens_cover |
| 28 | intro i |
| 29 | change J.ideal (A.nativeOpens i) ≤ I.ideal (A.nativeOpens i) ^ (n + 1) |
| 30 | rw [A.surfaceCenter_ideal ℓ C I hI i, Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_ideal (A.rings i) (A.map i) J _ (A.ideal_eq i)] |
| 31 | rw [← IdealSheaf.ColonRestriction.Construction.ideal_comap_pow_of_bijective (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom |
| 32 | (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).bijective] |
| 33 | exact Ideal.comap_mono ((C i).permissible (hdim i) hlevel) |
| 34 | |
| 35 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.surfaceCenter_smooth (hdim : ∀ i, ringKrullDim (A.rings i) ≤ 2) |
| 36 | (hlevel : (n + 1).factorial ≤ ℓ + 1) : Smooth (I.subschemeι ≫ f) := by |
| 37 | apply Global.MonomialBoundaryAtlas.Construction.idealSheaf_complex_center_smooth_of_chosen_affine_cover f I A.nativeOpens A.nativeOpens_cover |
| 38 | intro i |
| 39 | let : Algebra ℂ Γ(X, A.nativeOpens i) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.nativeOpens i) |
| 40 | let e := Affine.OpenBoundaryTransport.Construction.specOpenSectionAlgEquiv f (A.rings i) (A.map i) (A.ground i) |
| 41 | rw [A.surfaceCenter_ideal ℓ C I hI i] |
| 42 | let : Algebra.Smooth ℂ (A.rings i ⧸ (C i).center) := (C i).center_smooth (hdim i) hlevel |
| 43 | exact Algebra.Smooth.of_equiv (Ideal.quotientEquivAlg (C i).center _ e.symm |
| 44 | (Ideal.map_symm e.toRingEquiv).symm) |
| 45 | |
| 46 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.surfaceCenter_ne_bot [Nonempty X] : I ≠ ⊥ := by |
| 47 | intro hz |
| 48 | let x : X := Classical.choice inferInstance |
| 49 | have hx : x ∈ ⨆ i, (A.map i).opensRange := by rw [A.cover]; trivial |
| 50 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 51 | obtain ⟨q, _⟩ := hi |
| 52 | let : q.asIdeal.IsPrime := q.isPrime |
| 53 | let : Nontrivial (A.rings i) := (algebraMap (A.rings i) q.asIdeal.ResidueField).domain_nontrivial |
| 54 | have he : I.ideal (A.nativeOpens i) = ⊥ := by rw [hz]; rfl |
| 55 | rw [A.surfaceCenter_ideal ℓ C I hI i] at he |
| 56 | have hm := congrArg (Ideal.map (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom) he |
| 57 | rw [Ideal.map_comap_of_surjective (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom |
| 58 | (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).surjective, Ideal.map_bot] at hm |
| 59 | exact (C i).center_ne_bot hm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Resolution.Blowups |