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.DivisorCycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.Fundamental |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.Integral |
| 4 | |
| 5 | /-! # Divisor Principal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DivisorPrincipal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth pullback between integral smooth presentations in arbitrary dimensions carries the actual principal |
| 12 | divisor to the principal divisor of its actual generic-field pullback. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFiberCycle |
| 20 | |
| 21 | theorem image_codimension {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral Y.carrier] |
| 22 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] (m n : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 24 | (A : X.DimensionCycleSupport 1) |
| 25 | (hy : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ≠ genericPoint Y.carrier) : |
| 26 | Y.supportCodimension (ProperCycleLinearity.imageSupport f A.val) = 1 := by |
| 27 | have h := Flat.ImageCodimension.image_codimension_le f m n 1 A |
| 28 | by_contra hn |
| 29 | have hz : Y.supportCodimension (ProperCycleLinearity.imageSupport f A.val) = 0 := by omega |
| 30 | have he := Integral.Fundamental.support_unique Y n ⟨ProperCycleLinearity.imageSupport f A.val, hz⟩ |
| 31 | have hp := congrArg (fun C : Y.DimensionCycleSupport 0 => CycleClass.Thom.IntersectionGeometry.supportPoint C.val) he |
| 32 | exact hy ((irreducibleSetEquivPoints.apply_symm_apply _).symm.trans |
| 33 | (hp.trans (Integral.Fundamental.whole_point Y))) |
| 34 | |
| 35 | theorem flatMap_apply_at_point {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 36 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 37 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 38 | [SmoothOfRelativeDimension n Y.structureMap] |
| 39 | (a : Y.RationalDimensionCycle 1) (A : X.DimensionCycleSupport 1) (B : Y.DimensionCycleSupport 1) |
| 40 | (h : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val) : CurveFiberCycle.flatMap f a A = a B := by |
| 41 | rw [DivisorCycle.flatMap_apply f m n] |
| 42 | have he (D : Y.DimensionCycleSupport 1) : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val ↔ B = D := by |
| 43 | rw [h] |
| 44 | constructor |
| 45 | · intro hd |
| 46 | exact Subtype.ext (irreducibleSetEquivPoints.injective hd) |
| 47 | · rintro rfl |
| 48 | rfl |
| 49 | simp only [he, Finsupp.sum, mul_ite, mul_one, mul_zero] |
| 50 | rw [Finset.sum_ite_eq] |
| 51 | by_cases hb : B ∈ a.support |
| 52 | · rw [ite_eq_left hb] |
| 53 | · rw [ite_eq_right hb, Finsupp.notMem_support_iff.mp hb] |
| 54 | |
| 55 | theorem flatMap_apply_at_generic {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral Y.carrier] |
| 56 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 57 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 58 | [SmoothOfRelativeDimension n Y.structureMap] |
| 59 | (a : Y.RationalDimensionCycle 1) (A : X.DimensionCycleSupport 1) |
| 60 | (h : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = genericPoint Y.carrier) : CurveFiberCycle.flatMap f a A = 0 := by |
| 61 | rw [DivisorCycle.flatMap_apply f m n] |
| 62 | apply Finset.sum_eq_zero |
| 63 | intro B _ |
| 64 | change a B * (if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0) = 0 |
| 65 | rw [h, ite_eq_right (DivisorCycle.generic_ne_supportPoint n B), mul_zero] |
| 66 | |
| 67 | theorem flatMap_principal {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 68 | [IsIntegral Y.carrier] |
| 69 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 70 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 71 | [SmoothOfRelativeDimension n Y.structureMap] (g : Y.carrier.functionField) : |
| 72 | CurveFiberCycle.flatMap f (Principal.Integral.Cycle.cycle Y g) = |
| 73 | Principal.Integral.Cycle.cycle X (GenericField.fieldMap (X := X.carrier) (Y := Y.carrier) f.left g) := by |
| 74 | ext A |
| 75 | rw [Principal.Integral.Cycle.cycle_apply] |
| 76 | by_cases hy : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = genericPoint Y.carrier |
| 77 | · rw [flatMap_apply_at_generic f m n _ A hy, |
| 78 | GenericField.ord_generic_image (X := X.carrier) (Y := Y.carrier) f.left |
| 79 | (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) (CurveSupports.coheight_one X m A) hy g, Int.cast_zero] |
| 80 | · let B : Y.DimensionCycleSupport 1 := |
| 81 | ⟨irreducibleSetEquivPoints.symm (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)), image_codimension f m n A hy⟩ |
| 82 | have hb : CycleClass.Thom.IntersectionGeometry.supportPoint B.val = f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) := |
| 83 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 84 | rw [flatMap_apply_at_point f m n _ A B hb.symm, Principal.Integral.Cycle.cycle_apply, hb] |
| 85 | apply congrArg (fun z : ℤ => (z : ℚ)) |
| 86 | exact (Order.ord_smooth (X := X.carrier) (Y := Y.carrier) f.left |
| 87 | (GenericField.genericPoint_image (X := X.carrier) (Y := Y.carrier) f.left) |
| 88 | (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) (CurveSupports.coheight_one X m A) |
| 89 | (hb ▸ CurveSupports.coheight_one Y n B) g).symm |
| 90 | |
| 91 | theorem flatMap_preserves_relations {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 92 | [IsIntegral Y.carrier] |
| 93 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 94 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 95 | [SmoothOfRelativeDimension n Y.structureMap] : |
| 96 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences Y 1 ≤ (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1).comap (CurveFiberCycle.flatMap f) := by |
| 97 | apply Submodule.span_le.mpr |
| 98 | intro d hd |
| 99 | obtain ⟨g, hg, rfl⟩ := Principal.Integral.Cycle.principal_eq_cycle Y n d hd |
| 100 | change CurveFiberCycle.flatMap f (Principal.Integral.Cycle.cycle Y g) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 |
| 101 | rw [flatMap_principal f m n] |
| 102 | apply Submodule.subset_span |
| 103 | apply Principal.Integral.Cycle.isPrincipal X m |
| 104 | exact (map_ne_zero (GenericField.fieldMap (X := X.carrier) (Y := Y.carrier) f.left).hom).mpr hg |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DivisorPrincipal |