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.Integral.ComponentFactor |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveSupports |
| 3 | |
| 4 | /-! # Curve Fiber Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFiberCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth inverse images of curve points have their actual reduced |
| 11 | codimension-one cycle, with coefficient one on each fiber component. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 16 | open scoped Classical |
| 17 | |
| 18 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 19 | |
| 20 | def support (B : Y.DimensionCycleSupport 1) : Closeds X.carrier := |
| 21 | ⟨f.left ⁻¹' (B.val : Set Y.carrier), B.val.isClosed.preimage f.left.continuous⟩ |
| 22 | |
| 23 | def cycle (B : Y.DimensionCycleSupport 1) : X.RationalDimensionCycle 1 := |
| 24 | CycleClass.Thom.IntersectionGeometry.reducedClosedCycle X 1 (support f B) |
| 25 | |
| 26 | def flatMap : Y.RationalDimensionCycle 1 →ₗ[ℚ] X.RationalDimensionCycle 1 := |
| 27 | Finsupp.linearCombination ℚ (cycle f) |
| 28 | |
| 29 | theorem generic_ne_supportPoint [IsIntegral Y.carrier] [SmoothOfRelativeDimension 1 Y.structureMap] |
| 30 | (B : Y.DimensionCycleSupport 1) : genericPoint Y.carrier ≠ CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 31 | intro he |
| 32 | have hz : coheight (genericPoint Y.carrier) = 0 := |
| 33 | coheight_eq_zero.mpr (fun y _ => genericPoint_specializes y) |
| 34 | rw [he, CurveSupports.coheight_one Y 1 B] at hz |
| 35 | exact one_ne_zero hz |
| 36 | |
| 37 | theorem fiber_codimension [SmoothOfRelativeDimension 1 Y.structureMap] |
| 38 | [Smooth f.left] (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 39 | (B : Y.DimensionCycleSupport 1) (W : IrreducibleCloseds X.carrier) |
| 40 | (hW : (W : Set X.carrier) ⊆ support f B) : 1 ≤ X.supportCodimension W := by |
| 41 | by_contra hn |
| 42 | have hzero : X.supportCodimension W = 0 := by omega |
| 43 | let : IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι W) := Open.Support.inclusion_isOpenImmersion W |
| 44 | (Open.Support.codimension_zero_isOpen X m ⟨W, hzero⟩) |
| 45 | have he := Integral.ComponentFactor.generic_coheight Y (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ f.left) |
| 46 | change coheight (f.left (CycleClass.Geometric.GenericPoint.reducedSupportι W (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)))) = 0 at he |
| 47 | rw [CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq] at he |
| 48 | change coheight (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint W)) = 0 at he |
| 49 | have hx := hW ((W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem) |
| 50 | change f.left (CycleClass.Thom.IntersectionGeometry.supportPoint W) ∈ (B.val : Set Y.carrier) at hx |
| 51 | rw [CurveSupports.support_eq_singleton Y B, Set.mem_singleton_iff] at hx |
| 52 | rw [hx, CurveSupports.coheight_one Y 1 B] at he |
| 53 | exact one_ne_zero he |
| 54 | |
| 55 | theorem cycle_apply [SmoothOfRelativeDimension 1 Y.structureMap] |
| 56 | [Smooth f.left] (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 57 | (B : Y.DimensionCycleSupport 1) (A : X.DimensionCycleSupport 1) : |
| 58 | cycle f B A = if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0 := by |
| 59 | rw [cycle, CycleClass.Thom.IntersectionGeometry.reducedClosedCycle_apply] |
| 60 | congr 1 |
| 61 | apply propext |
| 62 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ support f B ↔ f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 63 | change f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ∈ (B.val : Set Y.carrier) ↔ _ |
| 64 | rw [CurveSupports.support_eq_singleton, Set.mem_singleton_iff] |
| 65 | constructor |
| 66 | · rintro ⟨D, hD⟩ |
| 67 | apply hp.mp |
| 68 | have hs := Supports.closedComponentSupport_subset X.carrier (support f B) D |
| 69 | rw [hD] at hs |
| 70 | exact hs ((A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem) |
| 71 | · intro h |
| 72 | exact Supports.support_eq_component X m 1 (support f B) (fiber_codimension f m B) |
| 73 | A ((Supports.supportPoint_mem_iff_subset (support f B) A.val).mp (hp.mpr h)) |
| 74 | |
| 75 | theorem flatMap_apply [SmoothOfRelativeDimension 1 Y.structureMap] |
| 76 | [Smooth f.left] (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 77 | (a : Y.RationalDimensionCycle 1) (A : X.DimensionCycleSupport 1) : |
| 78 | flatMap f a A = a.sum (fun B r => r * if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0) := by |
| 79 | simp only [flatMap, Finsupp.linearCombination_apply, Finsupp.sum, Finsupp.finsetSum_apply, |
| 80 | Finsupp.smul_apply, smul_eq_mul, cycle_apply f m] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFiberCycle |