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.ChoiceAtlas |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Component.Choice |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.FlatBaseChange |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.MapGluing |
| 5 | |
| 6 | /-! # Center -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The glued canonical component center is smooth, permissible, nonzero, and has an isomorphic ambient blowup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Center.Construction.idealSheaf_le_of_native_affine_cover {X : Scheme} {ι : Type} |
| 17 | (U : ι → X.affineOpens) (hcover : ⨆ i, (U i).val = ⊤) |
| 18 | (I J : X.IdealSheafData) (h : ∀ i, I.ideal (U i) ≤ J.ideal (U i)) : I ≤ J := by |
| 19 | apply inf_eq_left.mp |
| 20 | apply Scheme.IdealSheafData.ext_of_iSup_eq_top U hcover |
| 21 | intro i |
| 22 | exact inf_eq_left.mpr (h i) |
| 23 | |
| 24 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 25 | |
| 26 | def ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : X.IdealSheafData := |
| 27 | A.existsUnique_center.choose |
| 28 | |
| 29 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_restrict (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (i : A.indices) : |
| 30 | A.center.comap (A.map i) = Affine.QuotientKernel.Construction.affineQuotientKernel (A.choice i).center := |
| 31 | A.existsUnique_center.choose_spec.1 i |
| 32 | |
| 33 | abbrev ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.nativeOpens (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (i : A.indices) : X.affineOpens := |
| 34 | Affine.OpenBoundaryTransport.Construction.specOpenImage (A.rings i) (A.map i) |
| 35 | |
| 36 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.nativeOpens_cover (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : |
| 37 | (⨆ i, (A.nativeOpens i).val) = ⊤ := by |
| 38 | simp only [ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.nativeOpens, Affine.OpenBoundaryTransport.Construction.specOpenImage_eq_opensRange] |
| 39 | exact A.cover |
| 40 | |
| 41 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_ideal (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (i : A.indices) : |
| 42 | A.center.ideal (A.nativeOpens i) = |
| 43 | (A.choice i).center.comap (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom := |
| 44 | Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_ideal (A.rings i) (A.map i) A.center _ (A.center_restrict i) |
| 45 | |
| 46 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_permissible (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : J ≤ A.center ^ (n + 1) := by |
| 47 | apply Center.Construction.idealSheaf_le_of_native_affine_cover A.nativeOpens A.nativeOpens_cover |
| 48 | intro i |
| 49 | change J.ideal (A.nativeOpens i) ≤ A.center.ideal (A.nativeOpens i) ^ (n + 1) |
| 50 | rw [A.center_ideal i, Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_ideal (A.rings i) (A.map i) J _ (A.ideal_eq i)] |
| 51 | rw [← IdealSheaf.ColonRestriction.Construction.ideal_comap_pow_of_bijective (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom |
| 52 | (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).bijective] |
| 53 | exact Ideal.comap_mono (A.choice i).permissible |
| 54 | |
| 55 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_smooth (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : Smooth (A.center.subschemeι ≫ f) := by |
| 56 | apply Global.MonomialBoundaryAtlas.Construction.idealSheaf_complex_center_smooth_of_chosen_affine_cover f A.center A.nativeOpens A.nativeOpens_cover |
| 57 | intro i |
| 58 | let : Algebra ℂ Γ(X, A.nativeOpens i) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.nativeOpens i) |
| 59 | let e := Affine.OpenBoundaryTransport.Construction.specOpenSectionAlgEquiv f (A.rings i) (A.map i) (A.ground i) |
| 60 | rw [A.center_ideal i] |
| 61 | let : Algebra.Smooth ℂ (A.rings i ⧸ (A.choice i).center) := (A.choice i).center_smooth |
| 62 | exact Algebra.Smooth.of_equiv (Ideal.quotientEquivAlg (A.choice i).center _ e.symm |
| 63 | (Ideal.map_symm e.toRingEquiv).symm) |
| 64 | |
| 65 | theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_ne_bot [Nonempty X] (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : A.center ≠ ⊥ := by |
| 66 | intro hzero |
| 67 | let x : X := Classical.choice inferInstance |
| 68 | have hx : x ∈ ⨆ i, (A.map i).opensRange := by rw [A.cover]; trivial |
| 69 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 70 | obtain ⟨q, _⟩ := hi |
| 71 | let : q.asIdeal.IsPrime := q.isPrime |
| 72 | let : Nontrivial (A.rings i) := (algebraMap (A.rings i) q.asIdeal.ResidueField).domain_nontrivial |
| 73 | have he : A.center.ideal (A.nativeOpens i) = ⊥ := by rw [hzero]; rfl |
| 74 | rw [A.center_ideal i] at he |
| 75 | have hm := congrArg (Ideal.map (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom) he |
| 76 | rw [Ideal.map_comap_of_surjective (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).toRingHom |
| 77 | (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv (A.rings i) (A.map i)).surjective, Ideal.map_bot] at hm |
| 78 | exact (A.choice i).center_ne_bot hm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent |