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.Closed.PrincipalCycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.DivisorImage |
| 3 | |
| 4 | /-! # Nested Cycle Relation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedCycleRelation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Principal cycles on curve supports inside a surface give native |
| 13 | ambient zero-cycle relations, with explicit coefficients at surface points. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | namespace Principal |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.DivisorNorm |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) (W : IrreducibleCloseds X.carrier) |
| 25 | (Z : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField) |
| 26 | |
| 27 | def cycle : X.RationalDimensionCycle p := |
| 28 | CyclePushforward.degreeComponent X p (CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 29 | (Affine.DivisorNorm.rationalPrincipalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z) g)) |
| 30 | |
| 31 | theorem coefficient (C : X.DimensionCycleSupport p) |
| 32 | (hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W : Set X.carrier)) : |
| 33 | cycle X p W Z g C = |
| 34 | if hxZ : CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW ∈ (Z : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) then |
| 35 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).ord g |
| 36 | (CycleClass.Thom.IntersectionGeometry.supportPreimage Z (CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW) hxZ) : ℚ) |
| 37 | else 0 := by |
| 38 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW |
| 39 | rw [cycle, Principal.ClosedSectionCycle.degreeComponent_apply, CyclePushforward.pointPushforward_comp] |
| 40 | change CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 41 | (CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι Z) (Affine.DivisorNorm.rationalPrincipalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z) g)) |
| 42 | (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) = _ |
| 43 | rw [PushforwardFiber.pointPushforward_uniqueFiber (CycleClass.Geometric.GenericPoint.reducedSupportι W) y (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 44 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W _ hxW) |
| 45 | (fun z hz => (CycleClass.Geometric.GenericPoint.reducedSupportι W).isEmbedding.injective (hz.trans (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W _ hxW).symm)), |
| 46 | Principal.ClosedSectionCycle.residueDegree_immersion, Nat.cast_one, mul_one] |
| 47 | by_cases hy : y ∈ (Z : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) |
| 48 | · rw [dite_eq_left hy] |
| 49 | rw [PushforwardFiber.pointPushforward_uniqueFiber (CycleClass.Geometric.GenericPoint.reducedSupportι Z) (CycleClass.Thom.IntersectionGeometry.supportPreimage Z y hy) y |
| 50 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec Z y hy) |
| 51 | (fun z hz => (CycleClass.Geometric.GenericPoint.reducedSupportι Z).isEmbedding.injective (hz.trans (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec Z y hy).symm)), |
| 52 | Principal.ClosedSectionCycle.residueDegree_immersion, Nat.cast_one, mul_one, Affine.DivisorNorm.rationalPrincipalDivisor_apply] |
| 53 | · rw [dite_eq_right hy] |
| 54 | apply PushforwardFiber.pointPushforward_apply_eq_zero |
| 55 | intro z _ hz |
| 56 | apply hy |
| 57 | rw [← hz, ← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 58 | exact ⟨z, rfl⟩ |
| 59 | |
| 60 | theorem coefficient_zero (C : X.DimensionCycleSupport p) |
| 61 | (hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∉ (W : Set X.carrier)) : cycle X p W Z g C = 0 := by |
| 62 | rw [cycle, Principal.ClosedSectionCycle.degreeComponent_apply] |
| 63 | apply PushforwardFiber.pointPushforward_apply_eq_zero |
| 64 | intro z _ hz |
| 65 | apply hxW |
| 66 | rw [← hz, ← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 67 | exact ⟨CycleClass.Geometric.GenericPoint.reducedSupportι Z z, rfl⟩ |
| 68 | |
| 69 | omit p W Z g in |
| 70 | theorem isPrincipal (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 71 | (W : X.DimensionCycleSupport 1) (Z : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val)) |
| 72 | (hZ : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint Z) = 1) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField) |
| 73 | (hg : g ≠ 0) : CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X 3 (cycle X 3 W.val Z g) := by |
| 74 | apply Closed.PrincipalCycle.isPrincipal X (CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W.val) 3 _ g hg |
| 75 | have h := Support.DivisorImage.codimension X W.val m Z hZ |
| 76 | change X.supportCodimension (Support.DivisorImage.image X W.val Z) + 1 = 3 |
| 77 | rw [h, W.property] |
| 78 | |
| 79 | end Principal |
| 80 | |
| 81 | end |
| 82 | |
| 83 | /-! A principal divisor on a divisor inside an arbitrary support is |
| 84 | an actual ambient rational-equivalence generator in the correct degree. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 87 | |
| 88 | theorem isPrincipal (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m r p : ℕ) |
| 89 | [SmoothOfRelativeDimension m X.structureMap] |
| 90 | (W : X.DimensionCycleSupport r) (Z : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val)) |
| 91 | (hZ : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint Z) = 1) (hp : p = r + 2) |
| 92 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField) (hg : g ≠ 0) : |
| 93 | CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X p (Principal.cycle X p W.val Z g) := by |
| 94 | apply Closed.PrincipalCycle.isPrincipal X (CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W.val) p _ g hg |
| 95 | have h := Support.DivisorImage.codimension X W.val m Z hZ |
| 96 | change X.supportCodimension (Support.DivisorImage.image X W.val Z) + 1 = p |
| 97 | rw [h, W.property, hp] |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedCycleRelation |