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.FiberGrading |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardComposition |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.PulledSupport |
| 5 | |
| 6 | /-! # Fiber Cycles -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Smooth inverse-image cycles with integral fibers are the native graded |
| 13 | components of extension along actual fiber generic points. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped Classical |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.PulledSupport.BundleCycles OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 22 | |
| 23 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 24 | [Smooth (show X.carrier ⟶ Y.carrier from f.left)] [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] |
| 25 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 26 | [SmoothOfRelativeDimension n Y.structureMap] |
| 27 | |
| 28 | local instance : IsLocallyNoetherian X.toOver.left := |
| 29 | inferInstanceAs (IsLocallyNoetherian X.carrier) |
| 30 | |
| 31 | local instance : IsLocallyNoetherian Y.toOver.left := |
| 32 | inferInstanceAs (IsLocallyNoetherian Y.carrier) |
| 33 | |
| 34 | include m n |
| 35 | |
| 36 | theorem codimension (W : IrreducibleCloseds Y.carrier) : |
| 37 | X.supportCodimension (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) W) = Y.supportCodimension W := by |
| 38 | have hx := IntermediateSupports.support_coheight X m _ |
| 39 | (⟨Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) W, rfl⟩ : X.DimensionCycleSupport _) |
| 40 | have hy := IntermediateSupports.support_coheight Y n _ |
| 41 | (⟨W, rfl⟩ : Y.DimensionCycleSupport _) |
| 42 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) W) = |
| 43 | Divisors.LineBundles.Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (show X.carrier ⟶ Y.carrier from f.left) (CycleClass.Thom.IntersectionGeometry.supportPoint W) := Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_genericPoint (show X.carrier ⟶ Y.carrier from f.left) W |
| 44 | have he : (X.supportCodimension (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) W) : ℕ∞) = |
| 45 | Y.supportCodimension W := hx.symm.trans |
| 46 | ((congrArg Order.coheight hp).trans ((FiberGrading.coheight (show X.carrier ⟶ Y.carrier from f.left) (CycleClass.Thom.IntersectionGeometry.supportPoint W)).trans hy)) |
| 47 | exact_mod_cast he |
| 48 | |
| 49 | def support (p : ℕ) (B : Y.DimensionCycleSupport p) : X.DimensionCycleSupport p := |
| 50 | ⟨Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) B.val, (codimension f m n B.val).trans B.property⟩ |
| 51 | |
| 52 | theorem support_point (p : ℕ) (B : Y.DimensionCycleSupport p) : |
| 53 | CycleClass.Thom.IntersectionGeometry.supportPoint (support f m n p B).val = Divisors.LineBundles.Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (show X.carrier ⟶ Y.carrier from f.left) (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) := |
| 54 | Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_genericPoint (show X.carrier ⟶ Y.carrier from f.left) B.val |
| 55 | |
| 56 | theorem cycle_single (p : ℕ) (B : Y.DimensionCycleSupport p) : |
| 57 | ProjectionFormula.Smooth.Cycle.cycle f p B = Finsupp.single (support f m n p B) 1 := by |
| 58 | ext A |
| 59 | rw [ProjectionFormula.Smooth.Cycle.cycle_apply f p m n, Finsupp.single_apply] |
| 60 | congr 1 |
| 61 | apply propext |
| 62 | constructor |
| 63 | · intro ha |
| 64 | have hle : A.val ≤ (support f m n p B).val := by |
| 65 | change (A.val : Set X.carrier) ⊆ (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) B.val : Set X.carrier) |
| 66 | rw [Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_coe] |
| 67 | apply (Supports.supportPoint_mem_iff_subset (ProjectionFormula.Smooth.Cycle.support f p B) A.val).mp |
| 68 | change (show X.carrier ⟶ Y.carrier from f.left) (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ∈ (B.val : Set Y.carrier) |
| 69 | have ha' : (show X.carrier ⟶ Y.carrier from f.left) (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = |
| 70 | CycleClass.Thom.IntersectionGeometry.supportPoint B.val := ha |
| 71 | exact ha'.symm ▸ (B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem |
| 72 | apply Eq.symm |
| 73 | apply Subtype.ext |
| 74 | by_contra hn |
| 75 | have hh := Supports.codimension_strictAnti X m (lt_of_le_of_ne hle hn) |
| 76 | rw [A.property, (support f m n p B).property] at hh |
| 77 | exact Nat.lt_irrefl p hh |
| 78 | · rintro rfl |
| 79 | rw [support_point, Divisors.LineBundles.Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint_projection] |
| 80 | |
| 81 | theorem flatMap_supportInDegree (p : ℕ) (W : IrreducibleCloseds Y.carrier) : |
| 82 | ProjectionFormula.Smooth.Cycle.flatMap f p (CycleClass.Thom.IntersectionGeometry.supportInDegree Y p W) = |
| 83 | CycleClass.Thom.IntersectionGeometry.supportInDegree X p (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) W) := by |
| 84 | by_cases hW : Y.supportCodimension W = p |
| 85 | · rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left hW, ProjectionFormula.Smooth.Cycle.flatMap, |
| 86 | Finsupp.linearCombination_single, one_smul, cycle_single f m n] |
| 87 | rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left ((codimension f m n W).trans hW)] |
| 88 | rfl |
| 89 | · rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_right hW, map_zero, CycleClass.Thom.IntersectionGeometry.supportInDegree, |
| 90 | dite_eq_right (fun h => hW ((codimension f m n W).symm.trans h))] |
| 91 | |
| 92 | theorem flatMap_degreeComponent (p : ℕ) (c : Y.carrier →₀ ℚ) : |
| 93 | ProjectionFormula.Smooth.Cycle.flatMap f p (CyclePushforward.degreeComponent Y p c) = |
| 94 | CyclePushforward.degreeComponent X p (Divisors.LineBundles.Integral.FiberGenericPoint.BundleCycles.integralFiberCycleExtension (show X.carrier ⟶ Y.carrier from f.left) c) := by |
| 95 | induction c using Finsupp.induction_linear with |
| 96 | | zero => simp |
| 97 | | add a b ha hb => simp only [map_add, ha, hb] |
| 98 | | single y a => |
| 99 | rw [PushforwardComposition.Grading.degreeComponent_single, map_smul, |
| 100 | flatMap_supportInDegree f m n] |
| 101 | change _ = CyclePushforward.degreeComponent X p (Finsupp.mapDomain (Divisors.LineBundles.Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (show X.carrier ⟶ Y.carrier from f.left)) |
| 102 | (Finsupp.single y a)) |
| 103 | rw [Finsupp.mapDomain_single, PushforwardComposition.Grading.degreeComponent_single, |
| 104 | Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_eq_pointClosure] |
| 105 | simp only [irreducibleSetEquivPoints.apply_symm_apply] |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberCycles |