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.Support.FiberCycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.SupportMultiplicity |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberCycles |
| 4 | |
| 5 | /-! # Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.Pair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native projection identity for a properly positioned pair |
| 12 | whose support fibers over the target intersection are etale. -/ |
| 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 | open scoped Classical |
| 19 | |
| 20 | namespace Projection |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 23 | |
| 24 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 25 | [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] |
| 26 | (m n p q s : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 27 | (hd : q + n = s + m) (A : Y.DimensionCycleSupport p) (W : X.DimensionCycleSupport q) |
| 28 | (B : Y.DimensionCycleSupport s) (hB : ProperCycleLinearity.imageSupport f W.val = B.val) |
| 29 | (hX : Supports.ProperCycle.pairMeetsProperly X p q (Integral.FiberCycles.support f m n p A) W) |
| 30 | (hY : Supports.ProperCycle.pairMeetsProperly Y p s A B) (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).Opens) |
| 31 | [Etale (U.ι ≫ Support.Map.supportImageMap f W.val)] |
| 32 | (hgood : ∀ D : Y.DimensionCycleSupport (p + s), |
| 33 | CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∈ (A.val : Set Y.carrier) → |
| 34 | ∀ hDW : CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∈ (ProperCycleLinearity.imageSupport f W.val : Set Y.carrier), |
| 35 | CycleClass.Thom.IntersectionGeometry.supportPreimage (ProperCycleLinearity.imageSupport f W.val) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hDW ∈ |
| 36 | Proper.EtaleRestriction.good (Support.Map.supportImageMap f W.val) U) |
| 37 | |
| 38 | local instance : IsLocallyNoetherian Y.toOver.left := inferInstanceAs (IsLocallyNoetherian Y.carrier) |
| 39 | |
| 40 | omit [Smooth f.left] [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] |
| 41 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 42 | [Etale (U.ι ≫ Support.Map.supportImageMap f W.val)] in |
| 43 | theorem image_point (C : X.DimensionCycleSupport (p + q)) (D : Y.DimensionCycleSupport (p + s)) |
| 44 | (h : ProperCycleLinearity.imageSupport f C.val = D.val) : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val := by |
| 45 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm.trans (congrArg CycleClass.Thom.IntersectionGeometry.supportPoint h) |
| 46 | |
| 47 | include hB hX in |
| 48 | theorem outside (D : Y.DimensionCycleSupport (p + s)) |
| 49 | (hD : CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∉ (A.val : Set Y.carrier) ∩ B.val) : |
| 50 | ProperCycleLinearity.cyclePushforward f (p + q) (p + s) |
| 51 | (Supports.ProperCycle.pairCycle X m p q (Integral.FiberCycles.support f m n p A) W) D = 0 := by |
| 52 | have he := PushforwardCoefficientCongruence.eq f (p + q) (p + s) |
| 53 | (Supports.ProperCycle.pairCycle X m p q (Integral.FiberCycles.support f m n p A) W) 0 D |
| 54 | rw [he] |
| 55 | · simp |
| 56 | · intro C hC |
| 57 | rw [Supports.ProperCycle.pairCycle_apply X m p q _ W hX, Finsupp.zero_apply] |
| 58 | apply dite_eq_right |
| 59 | intro hx |
| 60 | have hxy := image_point f p q s C D hC |
| 61 | have hxA : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) ∈ (A.val : Set Y.carrier) := by |
| 62 | have hh := hx.1 |
| 63 | change CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ |
| 64 | (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) A.val : Set X.carrier) at hh |
| 65 | rwa [Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_coe] at hh |
| 66 | have hxB : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) ∈ (B.val : Set Y.carrier) := by |
| 67 | rw [← hB, ProperCycleLinearity.imageSupport_eq_image] |
| 68 | exact ⟨CycleClass.Thom.IntersectionGeometry.supportPoint C.val, hx.2, rfl⟩ |
| 69 | exact hD (hxy ▸ ⟨hxA, hxB⟩) |
| 70 | |
| 71 | include hd hB hX hY hgood in |
| 72 | theorem pair : ProperCycleLinearity.cyclePushforward f (p + q) (p + s) |
| 73 | (Supports.ProperCycle.pairCycle X m p q (Integral.FiberCycles.support f m n p A) W) = |
| 74 | (f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W.val) : ℚ) • Supports.ProperCycle.pairCycle Y n p s A B := by |
| 75 | ext D |
| 76 | rw [Finsupp.smul_apply, Supports.ProperCycle.pairCycle_apply Y n p s A B hY] |
| 77 | by_cases hD : CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∈ (A.val : Set Y.carrier) ∩ B.val |
| 78 | · have hDW : CycleClass.Thom.IntersectionGeometry.supportPoint D.val ∈ (ProperCycleLinearity.imageSupport f W.val : Set Y.carrier) := hB.symm ▸ hD.2 |
| 79 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage (ProperCycleLinearity.imageSupport f W.val) (CycleClass.Thom.IntersectionGeometry.supportPoint D.val) hDW |
| 80 | have hy := hgood D hD.1 hDW |
| 81 | have hc : ∀ C : X.DimensionCycleSupport (p + q), ProperCycleLinearity.imageSupport f C.val = D.val → |
| 82 | Supports.ProperCycle.pairCycle X m p q (Integral.FiberCycles.support f m n p A) W C = |
| 83 | if CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W.val : Set X.carrier) then CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity Y A.val B.val D.val else 0 := by |
| 84 | intro C hC |
| 85 | rw [Supports.ProperCycle.pairCycle_apply X m p q _ W hX] |
| 86 | by_cases hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W.val : Set X.carrier) |
| 87 | · rw [ite_eq_left hxW] |
| 88 | have hxy := image_point f p q s C D hC |
| 89 | have hxU : CycleClass.Thom.IntersectionGeometry.supportPreimage W.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW ∈ U := by |
| 90 | apply Proper.EtaleRestriction.preimage_le (Support.Map.supportImageMap f W.val) U |
| 91 | change Support.Map.supportImageMap f W.val (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW) ∈ |
| 92 | Proper.EtaleRestriction.good (Support.Map.supportImageMap f W.val) U |
| 93 | have he : Support.Map.supportImageMap f W.val (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW) = y := by |
| 94 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W.val)).isClosedEmbedding.injective |
| 95 | have hh := congrArg (fun g : CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val ⟶ Y.carrier => |
| 96 | g (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxW)) (Support.Map.supportImageMap_inclusion f W.val) |
| 97 | exact hh.trans ((congrArg f.left (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W.val _ hxW)).trans |
| 98 | (hxy.trans (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec (ProperCycleLinearity.imageSupport f W.val) _ hDW).symm)) |
| 99 | rw [he] |
| 100 | exact hy |
| 101 | change CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X |
| 102 | (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) A.val) W.val C.val = _ |
| 103 | rw [← hB] |
| 104 | exact SupportMultiplicity.multiplicity f m n W.val C.val (ProperCycleLinearity.imageSupport f W.val) |
| 105 | A.val D.val (Support.Map.supportImageMap f W.val) (Support.Map.supportImageMap_inclusion f W.val).symm |
| 106 | U hxW hDW hD.1 hxy hxU |
| 107 | · rw [ite_eq_right hxW] |
| 108 | exact dite_eq_right (fun h => hxW h.2) |
| 109 | have he := Support.FiberCycle.coefficient f m n (p + q) (p + s) (by omega) W.val U y hy D |
| 110 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec (ProperCycleLinearity.imageSupport f W.val) _ hDW) |
| 111 | (Supports.ProperCycle.pairCycle X m p q (Integral.FiberCycles.support f m n p A) W) |
| 112 | (CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity Y A.val B.val D.val) hc |
| 113 | exact he.trans (mul_comm _ _) |
| 114 | · rw [outside f m n p q s A W B hB hX D hD] |
| 115 | rw [show CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity Y A.val B.val D.val = 0 from dite_eq_right hD, smul_zero] |
| 116 | |
| 117 | end Projection |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.Pair |