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.ProperCycleLinearity |
| 2 | import Mathlib.LinearAlgebra.Dimension.Free |
| 3 | |
| 4 | /-! # Cycle Pushforward -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ProjectionFormula: proper cycle pushforward in generic-point coordinates |
| 12 | |
| 13 | The weights in the constructed pushforward are degrees of the actual residue |
| 14 | field extensions. Their tower law makes ungraded pushforward functorial. The |
| 15 | comparison with the graded cycle construction keeps all multiplicities. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped Classical |
| 20 | |
| 21 | theorem residueDegree_comp {X Y Z : Scheme} (f : X ⟶ Y) (g : Y ⟶ Z) (x : X) : |
| 22 | (f ≫ g).residueDegree x = g.residueDegree (f x) * f.residueDegree x := by |
| 23 | let K := Z.residueField (g (f x)) |
| 24 | let L := Y.residueField (f x) |
| 25 | let M := X.residueField x |
| 26 | let a : K →+* L := (g.residueFieldMap (f x)).hom |
| 27 | let b : L →+* M := (f.residueFieldMap x).hom |
| 28 | let : Algebra K L := a.toAlgebra |
| 29 | let : Algebra L M := b.toAlgebra |
| 30 | let : Algebra K M := ((f ≫ g).residueFieldMap x).hom.toAlgebra |
| 31 | let : IsScalarTower K L M := IsScalarTower.of_algebraMap_eq' |
| 32 | (congrArg CommRingCat.Hom.hom (Scheme.residueFieldMap_comp f g x)) |
| 33 | exact (Module.finrank_mul_finrank K L M).symm |
| 34 | |
| 35 | /-- Finite cycle pushforward in native generic-point coordinates. -/ |
| 36 | def pointPushforward {X Y : Scheme} (f : X ⟶ Y) : (X →₀ ℚ) →ₗ[ℚ] (Y →₀ ℚ) := |
| 37 | Finsupp.linearCombination ℚ |
| 38 | (fun x => Finsupp.single (f x) (f.residueDegree x : ℚ)) |
| 39 | |
| 40 | theorem pointPushforward_single {X Y : Scheme} (f : X ⟶ Y) (x : X) (a : ℚ) : |
| 41 | pointPushforward f (Finsupp.single x a) = |
| 42 | Finsupp.single (f x) (a * (f.residueDegree x : ℚ)) := by |
| 43 | rw [pointPushforward, Finsupp.linearCombination_single, Finsupp.smul_single] |
| 44 | rfl |
| 45 | |
| 46 | theorem pointPushforward_id (X : Scheme) : pointPushforward (𝟙 X) = LinearMap.id := by |
| 47 | apply Finsupp.lhom_ext |
| 48 | intro x a |
| 49 | rw [pointPushforward_single, Scheme.Hom.residueDegree_id] |
| 50 | simp only [Nat.cast_one, mul_one, LinearMap.id_apply] |
| 51 | rfl |
| 52 | |
| 53 | theorem pointPushforward_comp {X Y Z : Scheme} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 54 | pointPushforward (f ≫ g) = (pointPushforward g).comp (pointPushforward f) := by |
| 55 | apply Finsupp.lhom_ext |
| 56 | intro x a |
| 57 | rw [LinearMap.comp_apply, pointPushforward_single, pointPushforward_single, |
| 58 | pointPushforward_single, residueDegree_comp, Nat.cast_mul] |
| 59 | congr 1 |
| 60 | ring |
| 61 | |
| 62 | /-- The actual codimension-graded cycle placed at its generic points. -/ |
| 63 | def pointCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 64 | X.RationalDimensionCycle p →ₗ[ℚ] (X.carrier →₀ ℚ) := |
| 65 | Finsupp.linearCombination ℚ |
| 66 | (fun A => Finsupp.single (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) (1 : ℚ)) |
| 67 | |
| 68 | /-- Extraction of a homogeneous codimension component from a point cycle. -/ |
| 69 | def degreeComponent (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 70 | (X.carrier →₀ ℚ) →ₗ[ℚ] X.RationalDimensionCycle p := |
| 71 | Finsupp.linearCombination ℚ |
| 72 | (fun x => CycleClass.Thom.IntersectionGeometry.supportInDegree X p (irreducibleSetEquivPoints.symm x)) |
| 73 | |
| 74 | theorem pointCycle_single (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 75 | (A : X.DimensionCycleSupport p) (a : ℚ) : |
| 76 | pointCycle X p (Finsupp.single A a) = Finsupp.single (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) a := by |
| 77 | rw [pointCycle, Finsupp.linearCombination_single] |
| 78 | exact Finsupp.smul_single_one _ _ |
| 79 | |
| 80 | theorem degreeComponent_pointCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 81 | (degreeComponent X p).comp (pointCycle X p) = LinearMap.id := by |
| 82 | apply Finsupp.lhom_ext |
| 83 | intro A a |
| 84 | rw [LinearMap.comp_apply, pointCycle_single, degreeComponent, |
| 85 | Finsupp.linearCombination_single] |
| 86 | have hA : irreducibleSetEquivPoints.symm (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = A.val := |
| 87 | irreducibleSetEquivPoints.symm_apply_apply A.val |
| 88 | rw [hA] |
| 89 | simp only [CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left A.property] |
| 90 | exact Finsupp.smul_single_one A a |
| 91 | |
| 92 | /-- The ProjectionFormula graded operation is literally the requested component of ordinary |
| 93 | proper pushforward, not a different map on the same groups. -/ |
| 94 | theorem cyclePushforward_eq_pointPushforward {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 95 | (f : X.toOver ⟶ Y.toOver) (p q : ℕ) : |
| 96 | ProperCycleLinearity.cyclePushforward f p q = |
| 97 | (degreeComponent Y q).comp |
| 98 | ((pointPushforward (show X.carrier ⟶ Y.carrier from f.left)).comp (pointCycle X p)) := by |
| 99 | apply Finsupp.lhom_ext |
| 100 | intro A a |
| 101 | rw [LinearMap.comp_apply, LinearMap.comp_apply, pointCycle_single, |
| 102 | pointPushforward_single, degreeComponent, Finsupp.linearCombination_single, |
| 103 | ProperCycleLinearity.cyclePushforward_single] |
| 104 | change a • ((f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) : ℚ) • |
| 105 | CycleClass.Thom.IntersectionGeometry.supportInDegree Y q (ProperCycleLinearity.imageSupport f A.val)) = _ |
| 106 | rw [smul_smul] |
| 107 | rfl |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |