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.Grading |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 3 | |
| 4 | /-! # Pushforward Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Extracting the prescribed codimension component commutes with native |
| 13 | point pushforward. Nonzero residue degree forces equal support dimensions, |
| 14 | so all discarded source components also disappear in the target degree. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped Classical |
| 20 | |
| 21 | namespace Grading |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Fields |
| 24 | |
| 25 | theorem dimension_eq_of_finite_genericField {k : Type} [Field k] |
| 26 | {S T : Scheme.{0}} [IsIntegral S] [IsIntegral T] |
| 27 | (i : S ⟶ T) (hη : i (genericPoint S) = genericPoint T) (g : T ⟶ Spec (.of k)) : |
| 28 | letI := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη).hom.toAlgebra |
| 29 | Module.Finite T.functionField S.functionField → |
| 30 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ g) := by |
| 31 | let := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη).hom.toAlgebra |
| 32 | intro hf |
| 33 | let := hf |
| 34 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra g |
| 35 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ g) |
| 36 | let : IsScalarTower k T.functionField S.functionField := IsScalarTower.of_algHom (Cycles.Functoriality.FunctionFields.Construction.genericFieldAlgHom i hη g) |
| 37 | have h := trdeg_add_eq k T.functionField (A := S.functionField) |
| 38 | rw [trdeg_eq_zero (R := T.functionField) (A := S.functionField), add_zero] at h |
| 39 | exact congrArg Cardinal.toNat h |
| 40 | |
| 41 | theorem support_dimension_eq_of_degree {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 42 | (f : X.toOver ⟶ Y.toOver) (A : IrreducibleCloseds X.carrier) |
| 43 | (hdeg : f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint A) ≠ 0) : |
| 44 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f A) Y.structureMap = |
| 45 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap := by |
| 46 | let := (Support.Fields.supportFunctionFieldMap f A).hom.toAlgebra |
| 47 | have hpos : 0 < Module.finrank (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f A)).functionField |
| 48 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme A).functionField := by |
| 49 | rw [Support.Fields.supportFunctionField_finrank_eq] |
| 50 | exact Nat.pos_of_ne_zero hdeg |
| 51 | have hf := Module.finite_of_finrank_pos hpos |
| 52 | have h := dimension_eq_of_finite_genericField (Support.Map.supportImageMap f A) |
| 53 | (Support.Map.supportImageMap_genericPoint f A) (CycleClass.Geometric.SupportFiniteType.supportStructureMap (ProperCycleLinearity.imageSupport f A) Y.structureMap) hf |
| 54 | rw [Support.Map.supportImageMap_over] at h |
| 55 | exact h |
| 56 | |
| 57 | theorem cyclePushforward_supportInDegree {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 58 | (f : X.toOver ⟶ Y.toOver) (m n p q : ℕ) |
| 59 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 60 | (hdeg : p + n = q + m) (A : IrreducibleCloseds X.carrier) : |
| 61 | ProperCycleLinearity.cyclePushforward f p q (CycleClass.Thom.IntersectionGeometry.supportInDegree X p A) = |
| 62 | (f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint A) : ℚ) • CycleClass.Thom.IntersectionGeometry.supportInDegree Y q (ProperCycleLinearity.imageSupport f A) := by |
| 63 | by_cases hA : X.supportCodimension A = p |
| 64 | · rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left hA] |
| 65 | simpa only [one_smul, ProperCycleLinearity.cyclePushforwardGenerator] using |
| 66 | (ProperCycleLinearity.cyclePushforward_single f p q (⟨A, hA⟩ : X.DimensionCycleSupport p) 1) |
| 67 | · rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_right hA, map_zero] |
| 68 | by_cases hz : f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint A) = 0 |
| 69 | · rw [hz, Nat.cast_zero, zero_smul] |
| 70 | · have himage : Y.supportCodimension (ProperCycleLinearity.imageSupport f A) ≠ q := by |
| 71 | intro hb |
| 72 | have hd := support_dimension_eq_of_degree f A hz |
| 73 | have hx := Grading.supportDimension_add_codimension X m A |
| 74 | have hy := Grading.supportDimension_add_codimension Y n (ProperCycleLinearity.imageSupport f A) |
| 75 | rw [hb] at hy |
| 76 | omega |
| 77 | rw [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_right himage, smul_zero] |
| 78 | |
| 79 | theorem degreeComponent_single (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) (x : X.carrier) (a : ℚ) : |
| 80 | CyclePushforward.degreeComponent X p (Finsupp.single x a) = a • CycleClass.Thom.IntersectionGeometry.supportInDegree X p (irreducibleSetEquivPoints.symm x) := by |
| 81 | rw [CyclePushforward.degreeComponent, Finsupp.linearCombination_single] |
| 82 | |
| 83 | /-- The actual graded cycle pushforward is obtained by taking the target |
| 84 | degree of native point pushforward, even before the source is projected. -/ |
| 85 | theorem cyclePushforward_degreeComponent {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 86 | (f : X.toOver ⟶ Y.toOver) (m n p q : ℕ) |
| 87 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 88 | (hdeg : p + n = q + m) (c : X.carrier →₀ ℚ) : |
| 89 | ProperCycleLinearity.cyclePushforward f p q (CyclePushforward.degreeComponent X p c) = |
| 90 | CyclePushforward.degreeComponent Y q (CyclePushforward.pointPushforward (show X.carrier ⟶ Y.carrier from f.left) c) := by |
| 91 | induction c using Finsupp.induction_linear with |
| 92 | | zero => simp |
| 93 | | add c d hc hd => simp only [map_add, hc, hd] |
| 94 | | single x a => |
| 95 | rw [degreeComponent_single, map_smul, cyclePushforward_supportInDegree f m n p q hdeg, |
| 96 | CyclePushforward.pointPushforward_single, degreeComponent_single, smul_smul] |
| 97 | exact congrArg (fun z : X.carrier => (a * (f.left.residueDegree z : ℚ)) • |
| 98 | CycleClass.Thom.IntersectionGeometry.supportInDegree Y q (irreducibleSetEquivPoints.symm (f.left z))) |
| 99 | (irreducibleSetEquivPoints.apply_symm_apply x) |
| 100 | |
| 101 | end Grading |
| 102 | |
| 103 | end |
| 104 | |
| 105 | /-! Composition of the genuine graded cycle pushforwards follows from |
| 106 | composition at generic points and the proved compatibility with grading. -/ |
| 107 | |
| 108 | set_option backward.isDefEq.respectTransparency false |
| 109 | |
| 110 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 111 | |
| 112 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 113 | |
| 114 | theorem cycle_comp {X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 115 | (f : X.toOver ⟶ Y.toOver) (g : Y.toOver ⟶ Z.toOver) (n k p q r : ℕ) |
| 116 | [SmoothOfRelativeDimension n Y.structureMap] |
| 117 | [SmoothOfRelativeDimension k Z.structureMap] |
| 118 | (hg : q + k = r + n) (a : X.RationalDimensionCycle p) : |
| 119 | ProperCycleLinearity.cyclePushforward g q r (ProperCycleLinearity.cyclePushforward f p q a) = ProperCycleLinearity.cyclePushforward (f ≫ g) p r a := by |
| 120 | rw [CyclePushforward.cyclePushforward_eq_pointPushforward f p q] |
| 121 | change ProperCycleLinearity.cyclePushforward g q r (CyclePushforward.degreeComponent Y q (CyclePushforward.pointPushforward f.left (CyclePushforward.pointCycle X p a))) = _ |
| 122 | rw [Grading.cyclePushforward_degreeComponent g n k q r hg] |
| 123 | have hcomp := DFunLike.congr_fun (CyclePushforward.pointPushforward_comp f.left g.left).symm (CyclePushforward.pointCycle X p a) |
| 124 | change CyclePushforward.pointPushforward g.left (CyclePushforward.pointPushforward f.left (CyclePushforward.pointCycle X p a)) = |
| 125 | CyclePushforward.pointPushforward (f.left ≫ g.left) (CyclePushforward.pointCycle X p a) at hcomp |
| 126 | change CyclePushforward.degreeComponent Z r (CyclePushforward.pointPushforward g.left (CyclePushforward.pointPushforward f.left (CyclePushforward.pointCycle X p a))) = _ |
| 127 | rw [hcomp, CyclePushforward.cyclePushforward_eq_pointPushforward (f ≫ g) p r] |
| 128 | rfl |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardComposition |