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.CurveFiberCycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.Integral |
| 3 | |
| 4 | /-! # Curve Flat Principal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFlatPrincipal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth pullback from an integral curve carries the actual principal |
| 11 | divisor to the principal divisor of its actual generic-field pullback. -/ |
| 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 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFiberCycle |
| 19 | |
| 20 | theorem point_codimension (Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral Y.carrier] |
| 21 | [SmoothOfRelativeDimension 1 Y.structureMap] (y : Y.carrier) (hy : y ≠ genericPoint Y.carrier) : |
| 22 | Y.supportCodimension (irreducibleSetEquivPoints.symm y) = 1 := by |
| 23 | let B := irreducibleSetEquivPoints.symm y |
| 24 | have hb := CurveSupports.codimension_le Y 1 B |
| 25 | by_contra hn |
| 26 | have hzero : Y.supportCodimension B = 0 := by change Y.supportCodimension B ≠ 1 at hn; omega |
| 27 | have ho := Open.Support.codimension_zero_isOpen Y 1 ⟨B, hzero⟩ |
| 28 | have ht : (B : Set Y.carrier) = Set.univ := |
| 29 | (show IsClopen (B : Set Y.carrier) from ⟨B.isClosed, ho⟩).eq_univ B.isIrreducible.nonempty |
| 30 | have hg := B.isIrreducible.isGenericPoint_genericPoint B.isClosed |
| 31 | change IsGenericPoint (CycleClass.Thom.IntersectionGeometry.supportPoint B) (B : Set Y.carrier) at hg |
| 32 | rw [ht] at hg |
| 33 | exact hy ((irreducibleSetEquivPoints.apply_symm_apply y).symm.trans (hg.eq (genericPoint_spec Y.carrier))) |
| 34 | |
| 35 | theorem flatMap_apply_at_point {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 36 | [SmoothOfRelativeDimension 1 Y.structureMap] (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 37 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 38 | (a : Y.RationalDimensionCycle 1) (A : X.DimensionCycleSupport 1) (B : Y.DimensionCycleSupport 1) |
| 39 | (h : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val) : CurveFiberCycle.flatMap f a A = a B := by |
| 40 | rw [CurveFiberCycle.flatMap_apply f m] |
| 41 | have he (D : Y.DimensionCycleSupport 1) : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val ↔ B = D := by |
| 42 | rw [h] |
| 43 | constructor |
| 44 | · intro hd |
| 45 | exact Subtype.ext (irreducibleSetEquivPoints.injective hd) |
| 46 | · rintro rfl |
| 47 | rfl |
| 48 | simp only [he, Finsupp.sum, mul_ite, mul_one, mul_zero] |
| 49 | rw [Finset.sum_ite_eq] |
| 50 | by_cases hb : B ∈ a.support |
| 51 | · rw [ite_eq_left hb] |
| 52 | · rw [ite_eq_right hb, Finsupp.notMem_support_iff.mp hb] |
| 53 | |
| 54 | theorem flatMap_apply_at_generic {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral Y.carrier] |
| 55 | [SmoothOfRelativeDimension 1 Y.structureMap] (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 56 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 57 | (a : Y.RationalDimensionCycle 1) (A : X.DimensionCycleSupport 1) |
| 58 | (h : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = genericPoint Y.carrier) : CurveFiberCycle.flatMap f a A = 0 := by |
| 59 | rw [CurveFiberCycle.flatMap_apply f m] |
| 60 | apply Finset.sum_eq_zero |
| 61 | intro B _ |
| 62 | change a B * (if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0) = 0 |
| 63 | rw [h, ite_eq_right (CurveFiberCycle.generic_ne_supportPoint B), mul_zero] |
| 64 | |
| 65 | theorem flatMap_principal {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 66 | [IsIntegral Y.carrier] [SmoothOfRelativeDimension 1 Y.structureMap] |
| 67 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 68 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] (g : Y.carrier.functionField) : |
| 69 | CurveFiberCycle.flatMap f (Principal.Integral.Cycle.cycle Y g) = |
| 70 | Principal.Integral.Cycle.cycle X (ProjectionFormula.Smooth.GenericField.fieldMap (X := X.carrier) (Y := Y.carrier) f.left g) := by |
| 71 | ext A |
| 72 | rw [Principal.Integral.Cycle.cycle_apply] |
| 73 | by_cases hy : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = genericPoint Y.carrier |
| 74 | · rw [flatMap_apply_at_generic f m _ A hy, |
| 75 | ProjectionFormula.Smooth.GenericField.ord_generic_image (X := X.carrier) (Y := Y.carrier) f.left |
| 76 | (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) (CurveSupports.coheight_one X m A) hy g, Int.cast_zero] |
| 77 | · let B : Y.DimensionCycleSupport 1 := |
| 78 | ⟨irreducibleSetEquivPoints.symm (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)), point_codimension Y _ hy⟩ |
| 79 | have hb : CycleClass.Thom.IntersectionGeometry.supportPoint B.val = f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) := |
| 80 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 81 | rw [flatMap_apply_at_point f m _ A B hb.symm, Principal.Integral.Cycle.cycle_apply, hb] |
| 82 | apply congrArg (fun z : ℤ => (z : ℚ)) |
| 83 | exact (ProjectionFormula.Smooth.Order.ord_smooth (X := X.carrier) (Y := Y.carrier) f.left |
| 84 | (ProjectionFormula.Smooth.GenericField.genericPoint_image (X := X.carrier) (Y := Y.carrier) f.left) |
| 85 | (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) (CurveSupports.coheight_one X m A) |
| 86 | (hb ▸ CurveSupports.coheight_one Y 1 B) g).symm |
| 87 | |
| 88 | theorem flatMap_preserves_relations {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 89 | [IsIntegral Y.carrier] [SmoothOfRelativeDimension 1 Y.structureMap] |
| 90 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 91 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] : |
| 92 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences Y 1 ≤ (CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1).comap (CurveFiberCycle.flatMap f) := by |
| 93 | apply Submodule.span_le.mpr |
| 94 | intro d hd |
| 95 | obtain ⟨g, hg, rfl⟩ := Principal.Integral.Cycle.principal_eq_cycle Y 1 d hd |
| 96 | change CurveFiberCycle.flatMap f (Principal.Integral.Cycle.cycle Y g) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 |
| 97 | rw [flatMap_principal f m] |
| 98 | apply Submodule.subset_span |
| 99 | apply Principal.Integral.Cycle.isPrincipal X m |
| 100 | exact (map_ne_zero (ProjectionFormula.Smooth.GenericField.fieldMap (X := X.carrier) (Y := Y.carrier) f.left).hom).mpr hg |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFlatPrincipal |