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.GlobalParameterSum |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Global Parameter Weight Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterWeightDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native principal weight vanishes at a support's generic point. |
| 11 | Thus only supports of strictly smaller codimension can contribute at |
| 12 | a prescribed coefficient point on a smooth presentation. -/ |
| 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 |
| 20 | |
| 21 | theorem generic_unit (Y : Scheme) [IsIntegral Y] (y : Y) (hy : y = genericPoint Y) |
| 22 | (r : Y.presheaf.stalk y) (hr : r ≠ 0) : IsUnit r := by |
| 23 | subst y |
| 24 | exact isUnit_iff_ne_zero.mpr hr |
| 25 | |
| 26 | theorem generic (X : Scheme) (C : IrreducibleCloseds X) |
| 27 | (r : X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) : |
| 28 | GlobalParameterSum.Weights.weight X (CycleClass.Thom.IntersectionGeometry.supportPoint C) r C = 0 := by |
| 29 | classical |
| 30 | have hx : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set X) := (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 31 | have hy : CycleClass.Thom.IntersectionGeometry.supportPreimage C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hx = genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) := by |
| 32 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι C).isClosedEmbedding.injective |
| 33 | exact (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec C _ hx).trans (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq C).symm |
| 34 | rw [GlobalParameterSum.Weights.weight, dite_eq_left hx] |
| 35 | split_ifs with hr |
| 36 | · rw [Ring.ord_of_isUnit (generic_unit (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) _ hy _ hr)] |
| 37 | rfl |
| 38 | · rfl |
| 39 | |
| 40 | theorem vanishes (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 41 | [SmoothOfRelativeDimension m X.structureMap] |
| 42 | (C D : IrreducibleCloseds X.carrier) (hcodim : X.supportCodimension C ≤ X.supportCodimension D) |
| 43 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) : |
| 44 | GlobalParameterSum.Weights.weight X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C) r D = 0 := by |
| 45 | classical |
| 46 | by_cases hx : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (D : Set X.carrier) |
| 47 | · have hCD : C ≤ D := |
| 48 | (Supports.supportPoint_mem_iff_subset |
| 49 | (X := X.carrier) ⟨(D : Set X.carrier), D.isClosed⟩ C).mp hx |
| 50 | have he : C = D := by |
| 51 | by_contra hne |
| 52 | exact (not_lt_of_ge hcodim) (Supports.codimension_strictAnti X m |
| 53 | (lt_of_le_of_ne hCD hne)) |
| 54 | subst D |
| 55 | exact generic X.carrier C r |
| 56 | · exact dite_eq_right hx |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterWeightDimension |