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.CodimensionZeroSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SmoothSerreIntersection |
| 3 | |
| 4 | /-! # Zero Codimension Serre -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ZeroCodimensionSerre.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A codimension-zero support is the actual ambient integral scheme. |
| 11 | Its self-intersection has native Serre multiplicity one and the expected cup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open RingTheory.Sequence |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.CodimensionZeroSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.IntersectionCoordinates.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.SmoothImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions.Intersection OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (A : Geometric.DimensionCycles.DimensionCycleSupport V 0) |
| 23 | |
| 24 | theorem support_univ : (A.val : Set V.carrier) = Set.univ := |
| 25 | CodimensionZeroSupport.Constructions.integralSupport_eq_univ_of_codimension_zero V A.val A.property |
| 26 | |
| 27 | instance inclusion_isIso : IsIso A.inclusion := by |
| 28 | have hs : Function.Surjective A.inclusion := by |
| 29 | apply Set.range_eq_univ.mp |
| 30 | change Set.range (Geometric.GenericPoint.reducedSupportι A.val) = Set.univ |
| 31 | rw [Geometric.GenericPoint.range_reducedSupportι, support_univ V A] |
| 32 | let : AlgebraicGeometry.Surjective A.inclusion := ⟨hs⟩ |
| 33 | exact isIso_of_isClosedImmersion_of_surjective A.inclusion |
| 34 | |
| 35 | instance support_smooth : Smooth A.structureMap := inferInstanceAs (Smooth (A.inclusion ≫ V.structureMap)) |
| 36 | |
| 37 | theorem supportStalk_kernel (x : V.carrier) (hx : x ∈ (A.val : Set V.carrier)) : |
| 38 | RingHom.ker (SupportStalkModule.Constructions.supportStalkMap V.carrier A.val x hx).hom = ⊥ := by |
| 39 | let : IsIso (Geometric.GenericPoint.reducedSupportι A.val) := inclusion_isIso V A |
| 40 | let : IsIso (SupportStalkModule.Constructions.supportStalkMap V.carrier A.val x hx) := by unfold SupportStalkModule.Constructions.supportStalkMap; infer_instance |
| 41 | exact (RingHom.injective_iff_ker_eq_bot _).mp |
| 42 | (ConcreteCategory.bijective_of_isIso (SupportStalkModule.Constructions.supportStalkMap V.carrier A.val x hx)).1 |
| 43 | |
| 44 | theorem genericSupport_maximal (hx : IntersectionGeometry.supportPoint A.val ∈ (A.val : Set V.carrier)) : |
| 45 | IsLocalRing.maximalIdeal (A.scheme.presheaf.stalk (IntersectionGeometry.supportPreimage A.val (IntersectionGeometry.supportPoint A.val) hx)) = ⊥ := by |
| 46 | have he : IntersectionGeometry.supportPreimage A.val (IntersectionGeometry.supportPoint A.val) hx = genericPoint A.scheme := |
| 47 | (Geometric.GenericPoint.reducedSupportι A.val).isClosedEmbedding.injective |
| 48 | ((IntersectionGeometry.supportPreimage_spec A.val (IntersectionGeometry.supportPoint A.val) hx).trans (Geometric.GenericPoint.reducedSupport_genericPoint_eq A.val).symm) |
| 49 | rw [he] |
| 50 | change IsLocalRing.maximalIdeal A.scheme.functionField = ⊥ |
| 51 | exact IsLocalRing.maximalIdeal_eq_bot |
| 52 | |
| 53 | theorem zero_normalTransverse : Immersion.IntersectionCoordinates.Constructions.NormalTransverse (SmoothImmersion.Constructions.smoothCycleImmersion A) (SmoothImmersion.Constructions.smoothCycleImmersion A) := by |
| 54 | intro x y h z |
| 55 | refine ⟨0, ?_⟩ |
| 56 | funext i |
| 57 | exact Fin.elim0 i |
| 58 | |
| 59 | theorem geometricClass_selfSerre |
| 60 | (hproper : ∀ Z : IrreducibleCloseds V.carrier, |
| 61 | (Z : Set V.carrier) ⊆ Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V 0 0 A A → 0 + 0 ≤ Geometric.DimensionCycles.dimensionCodimension V Z) : |
| 62 | V.geometricCycleClassMap (0 + 0) |
| 63 | (Supported.Map.Constructions.forgetCycle V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V 0 0 A A) (0 + 0) (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V 0 0 A A hproper)) = |
| 64 | cast (congrArg (fun n => (V.rationalCohomology n : Type)) (add_add_add_comm 0 0 0 0)) |
| 65 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace V.toOver) (0 + 0) (0 + 0) |
| 66 | A.geometricCycleClass A.geometricCycleClass) := by |
| 67 | have hx : IntersectionGeometry.supportPoint A.val ∈ (A.val : Set V.carrier) := |
| 68 | (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 69 | exact SmoothSerreIntersection.Constructions.geometricClass_supportedSerreCycle A A A |
| 70 | (Set.inter_self _).symm (zero_normalTransverse V A) hx hx [] |
| 71 | (by simpa using supportStalk_kernel V A (IntersectionGeometry.supportPoint A.val) hx) |
| 72 | (by simp) (by simp) |
| 73 | (by rw [genericSupport_maximal V A hx]; simp) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.CycleClass.Thom.ZeroCodimensionSerre.Constructions |