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.IntersectionTheory.ProjectionFormula.Local.CurveEscape |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntermediateSupports |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeOrder |
| 4 | |
| 5 | /-! # Escape -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Escape |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A support of codimension r+1 lies in an actual support of codimension r |
| 12 | on which any prescribed nonzero function at its generic point survives. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 20 | |
| 21 | theorem exists_support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m r : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] |
| 23 | (C : X.DimensionCycleSupport (r + 1)) |
| 24 | (f : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) (hf : f ≠ 0) : |
| 25 | ∃ A : X.DimensionCycleSupport r, ∃ hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier), |
| 26 | Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA f ≠ 0 := by |
| 27 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 28 | let R := X.carrier.presheaf.stalk x |
| 29 | let : IsDomain R := X.stalk_isDomain x |
| 30 | obtain ⟨p, hp, hfp⟩ := Local.CurveEscape.exists_prime R |
| 31 | (by rw [IntermediateSupports.stalk_height X m (r + 1) C]; exact_mod_cast Nat.succ_pos r) f hf |
| 32 | let W := Stalk.DivisorSupport.primeClosure X.carrier x p |
| 33 | let hxW := Stalk.DivisorSupport.point_mem_primeClosure X.carrier x p |
| 34 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hxW |
| 35 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y |
| 36 | let σ := Local.Principal.supportStalkMap X.carrier W x hxW |
| 37 | let : Algebra R T := σ.hom.toAlgebra |
| 38 | have hk : RingHom.ker σ.hom = p.asIdeal := Stalk.PrimeQuotient.kernel_eq |
| 39 | X.carrier W x hxW p (Stalk.DivisorSupport.primeClosure_point X.carrier x p).symm |
| 40 | have hσ : Function.Surjective (Algebra.ofId R T) := Local.Principal.supportStalkMap_surjective X.carrier W x hxW |
| 41 | have he : ringKrullDim (R ⧸ p.asIdeal) = ringKrullDim T := by |
| 42 | rw [← hk] |
| 43 | exact (Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId R T) hσ).toRingEquiv.ringKrullDim |
| 44 | have hy : Order.coheight y = 1 := by |
| 45 | apply WithBot.coe_injective |
| 46 | rw [← ringKrullDim_stalk_eq_coheight, ← he, hp] |
| 47 | rfl |
| 48 | let Z : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) := irreducibleSetEquivPoints.symm y |
| 49 | have hZ : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint Z) = 1 := by |
| 50 | change Order.coheight (irreducibleSetEquivPoints (irreducibleSetEquivPoints.symm y)) = 1 |
| 51 | rwa [irreducibleSetEquivPoints.apply_symm_apply] |
| 52 | have himage : DivisorImage.image X W Z = C.val := by |
| 53 | apply irreducibleSetEquivPoints.injective |
| 54 | change CycleClass.Thom.IntersectionGeometry.supportPoint (DivisorImage.image X W Z) = CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 55 | rw [DivisorImage.image_point] |
| 56 | change CycleClass.Geometric.GenericPoint.reducedSupportι W (irreducibleSetEquivPoints (irreducibleSetEquivPoints.symm y)) = x |
| 57 | rw [irreducibleSetEquivPoints.apply_symm_apply, CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 58 | have hW : X.supportCodimension W = r := by |
| 59 | have h := DivisorImage.codimension X W m Z hZ |
| 60 | rw [himage, C.property] at h |
| 61 | omega |
| 62 | exact ⟨⟨W, hW⟩, hxW, Stalk.PrimeOrder.image_ne_zero X.carrier x p f hfp⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Escape |