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.CycleClass.Thom.SpecSupportKernel |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportCoordinates |
| 3 | |
| 4 | /-! # Support Prime -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportPrime.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine prime of a genuine irreducible support and its precise |
| 11 | localized stalk kernel in the chosen actual affine coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.StalkCoordinates OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalStalk.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SpecSupportKernel.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (R : CommRingCat) (X : Scheme) (e : X ≅ Spec R) (A : IrreducibleCloseds X) |
| 22 | |
| 23 | def coordinateSupport : IrreducibleCloseds (Spec R) := irreducibleSetEquivPoints.symm (e.hom (IntersectionGeometry.supportPoint A)) |
| 24 | |
| 25 | theorem coordinateSupport_genericPoint : IntersectionGeometry.supportPoint (coordinateSupport R X e A) = e.hom (IntersectionGeometry.supportPoint A) := |
| 26 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 27 | |
| 28 | theorem coordinateSupport_coe : (coordinateSupport R X e A : Set (Spec R)) = e.inv ⁻¹' (A : Set X) := by |
| 29 | have h := e.inv.isOpenEmbedding.isEmbedding.closure_eq_preimage_closure_image ({e.hom (IntersectionGeometry.supportPoint A)} : Set (Spec R)) |
| 30 | rw [Set.image_singleton] at h |
| 31 | have he : e.inv (e.hom (IntersectionGeometry.supportPoint A)) = IntersectionGeometry.supportPoint A := |
| 32 | congrArg (fun f : X ⟶ X => f (IntersectionGeometry.supportPoint A)) e.hom_inv_id |
| 33 | rw [he] at h |
| 34 | exact h.trans (congrArg (fun S : Set X => e.inv ⁻¹' S) |
| 35 | (A.isIrreducible.isGenericPoint_genericPoint A.isClosed)) |
| 36 | |
| 37 | theorem coordinateSupport_mem (x : X) (hx : x ∈ (A : Set X)) : e.hom x ∈ (coordinateSupport R X e A : Set (Spec R)) := by |
| 38 | rw [coordinateSupport_coe] |
| 39 | change e.inv (e.hom x) ∈ (A : Set X) |
| 40 | have he : e.inv (e.hom x) = x := congrArg (fun f : X ⟶ X => f x) e.hom_inv_id |
| 41 | rw [he] |
| 42 | exact hx |
| 43 | |
| 44 | theorem support_preimage_zeroLocus : |
| 45 | (A : Set X) = e.hom ⁻¹' PrimeSpectrum.zeroLocus ((e.hom (IntersectionGeometry.supportPoint A)).asIdeal : Set R) := by |
| 46 | have h := SpecSupportKernel.Constructions.support_coe R (coordinateSupport R X e A) |
| 47 | rw [coordinateSupport_genericPoint] at h |
| 48 | rw [← h, coordinateSupport_coe, ← Set.preimage_comp] |
| 49 | have he : (e.inv ∘ e.hom : X → X) = id := |
| 50 | congrArg (fun f : X ⟶ X => (f : X → X)) e.hom_inv_id |
| 51 | rw [he] |
| 52 | rfl |
| 53 | |
| 54 | theorem coordinate_support_kernel (x : X) (hx : x ∈ (A : Set X)) : |
| 55 | (StalkPrimeQuotient.Constructions.kernelPrime X A x hx).asIdeal.map (ProductIs.Constructions.StalkCoordinates.stalkCoordinateIso R X e x).hom.hom = |
| 56 | (e.hom (IntersectionGeometry.supportPoint A)).asIdeal.map (algebraMap R (Localization.AtPrime (e.hom x).asIdeal)) := by |
| 57 | have h := SupportCoordinates.Constructions.kernelPrime_coordinates R X e A (coordinateSupport R X e A) |
| 58 | (coordinateSupport_genericPoint R X e A).symm x hx (e.hom x) rfl (coordinateSupport_mem R X e A x hx) |
| 59 | have hs := SpecSupportKernel.Constructions.support_kernel R (coordinateSupport R X e A) (e.hom x) (coordinateSupport_mem R X e A x hx) |
| 60 | rw [coordinateSupport_genericPoint] at hs |
| 61 | exact h.trans hs |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportPrime.Constructions |