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.Smooth.GeometricEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.ClosedComponents |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TotalTorCoefficient |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedGeometricComponents |
| 5 | |
| 6 | /-! # Serre Vanishing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.SerreVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every irreducible intersection component gives an isolated |
| 13 | native stalk pairing. Components of excess dimension have zero |
| 14 | native Tor Euler coefficient by Serre vanishing. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | theorem maximal (Z : Scheme.{0}) (S : Closeds Z) (c : irreducibleComponents S) |
| 22 | (D : IrreducibleCloseds Z) (hD : (D : Set Z) ⊆ S) |
| 23 | (hcD : CycleClass.Thom.IntersectionGeometry.closedComponentSupport Z S c ≤ D) : D = CycleClass.Thom.IntersectionGeometry.closedComponentSupport Z S c := by |
| 24 | let : IrreducibleSpace D := isIrreducible_iff_irreducibleSpace.mp D.isIrreducible |
| 25 | let j : D → S := fun y => ⟨y, hD y.property⟩ |
| 26 | have hj : Continuous j := continuous_subtype_val.subtype_mk _ |
| 27 | have hi : IsIrreducible (j '' (Set.univ : Set D)) := |
| 28 | (IrreducibleSpace.isIrreducible_univ D).image j hj.continuousOn |
| 29 | have hc : c.val ⊆ j '' (Set.univ : Set D) := by |
| 30 | intro y hy |
| 31 | have hyD : y.val ∈ (D : Set Z) := hcD ⟨y, hy, rfl⟩ |
| 32 | exact ⟨⟨y.val, hyD⟩, Set.mem_univ _, Subtype.ext rfl⟩ |
| 33 | have hback := c.property.2 hi hc |
| 34 | apply le_antisymm |
| 35 | · intro y hy |
| 36 | exact ⟨⟨y, hD hy⟩, hback ⟨⟨y, hy⟩, Set.mem_univ _, rfl⟩, rfl⟩ |
| 37 | · exact hcD |
| 38 | |
| 39 | theorem isolated (Z : Scheme.{0}) [NoetherianSpace Z] |
| 40 | (A B C : IrreducibleCloseds Z) |
| 41 | (hC : C ∈ Finite.ClosedComponents.components Z (IsolatedGeometricComponents.intersection Z A B)) |
| 42 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set Z)) (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set Z)) : |
| 43 | Module.support (Z.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA) ∩ |
| 44 | Module.support (Z.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxB) ⊆ |
| 45 | {IsLocalRing.closedPoint (Z.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C))} := by |
| 46 | intro p hp |
| 47 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C |
| 48 | let z := Z.fromSpecStalk x p |
| 49 | let D : IrreducibleCloseds Z := irreducibleSetEquivPoints.symm z |
| 50 | let S := IsolatedGeometricComponents.intersection Z A B |
| 51 | have hzA : z ∈ (A : Set Z) := Local.SupportSpectrum.image_mem_support Z A x hxA p hp.1 |
| 52 | have hzB : z ∈ (B : Set Z) := Local.SupportSpectrum.image_mem_support Z B x hxB p hp.2 |
| 53 | have hD : (D : Set Z) ⊆ S := |
| 54 | closure_minimal (Set.singleton_subset_iff.mpr ⟨hzA, hzB⟩) S.isClosed |
| 55 | have hz : z ⤳ x := by |
| 56 | have hr : z ∈ Set.range (Z.fromSpecStalk x) := ⟨p, rfl⟩ |
| 57 | rwa [Scheme.range_fromSpecStalk] at hr |
| 58 | have hCD : C ≤ D := by |
| 59 | apply (Supports.supportPoint_mem_iff_subset ⟨D, D.isClosed⟩ C).mp |
| 60 | exact hz.mem_closed isClosed_closure (subset_closure (Set.mem_singleton z)) |
| 61 | obtain ⟨c, hc⟩ := (Finite.ClosedComponents.mem_iff Z S C).mp hC |
| 62 | have he : D = C := (maximal Z S c D hD (hc.symm ▸ hCD)).trans hc |
| 63 | have hzx : z = x := (irreducibleSetEquivPoints.apply_symm_apply z).symm.trans |
| 64 | (congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he) |
| 65 | apply Set.mem_singleton_iff.mpr |
| 66 | apply (Z.fromSpecStalk x).isEmbedding.injective |
| 67 | exact hzx.trans Scheme.fromSpecStalk_closedPoint.symm |
| 68 | |
| 69 | theorem zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 70 | [SmoothOfRelativeDimension m X.structureMap] |
| 71 | (A B C : IrreducibleCloseds X.carrier) |
| 72 | (hC : C ∈ Finite.ClosedComponents.components X.carrier |
| 73 | (IsolatedGeometricComponents.intersection X.carrier A B)) |
| 74 | (hd : X.supportCodimension C < X.supportCodimension A + X.supportCodimension B) : |
| 75 | TotalTorCoefficient.coefficient X.carrier A B (CycleClass.Thom.IntersectionGeometry.supportPoint C) m = 0 := by |
| 76 | have hsubset := Finite.ClosedComponents.subset X.carrier |
| 77 | (IsolatedGeometricComponents.intersection X.carrier A B) C hC |
| 78 | have hx := hsubset (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 79 | change CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier) ∧ CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier) at hx |
| 80 | rw [TotalTorCoefficient.coefficient, dite_eq_left hx] |
| 81 | exact Smooth.GeometricEuler.supports_at X m A B C (CycleClass.Thom.IntersectionGeometry.supportPoint C) rfl hx.1 hx.2 hd |
| 82 | (isolated X.carrier A B C hC hx.1 hx.2) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.SerreVanishing |