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 | |
| 3 | /-! # Degree Cast -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 10 | |
| 11 | /-! Transport of the actual cycle and Chow gradings along an equality |
| 12 | of natural-number codimensions. -/ |
| 13 | |
| 14 | def cycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) : |
| 15 | X.RationalDimensionCycle p ≃ₗ[ℚ] X.RationalDimensionCycle q := by |
| 16 | subst q |
| 17 | exact LinearEquiv.refl ℚ _ |
| 18 | |
| 19 | theorem cycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 20 | (a : X.RationalDimensionCycle p) (C : X.DimensionCycleSupport q) : |
| 21 | cycle X h a C = a ⟨C.val, C.property.trans h.symm⟩ := by |
| 22 | subst q |
| 23 | rfl |
| 24 | |
| 25 | theorem cycle_mem_relations (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 26 | (a : X.RationalDimensionCycle p) : |
| 27 | cycle X h a ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X q ↔ a ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p := by |
| 28 | subst q |
| 29 | rfl |
| 30 | |
| 31 | def chow (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) : |
| 32 | CycleClass.Thom.IntersectionGeometry.ChowQ X p ≃ₗ[ℚ] CycleClass.Thom.IntersectionGeometry.ChowQ X q := by |
| 33 | subst q |
| 34 | exact LinearEquiv.refl ℚ _ |
| 35 | |
| 36 | theorem chow_mk (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 37 | (a : X.RationalDimensionCycle p) : |
| 38 | chow X h (ProperCycleLinearity.cycleToChowQ X p a) = |
| 39 | ProperCycleLinearity.cycleToChowQ X q (cycle X h a) := by |
| 40 | subst q |
| 41 | rfl |
| 42 | |
| 43 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 44 | |
| 45 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast.ExteriorCycleLinear |
| 46 | |
| 47 | /-! The actual reduced exterior product and the second product projection |
| 48 | pullback are linear on finite cycles. -/ |
| 49 | |
| 50 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 51 | |
| 52 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 53 | |
| 54 | def exteriorMap (X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 55 | (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) (p q : ℕ) : |
| 56 | X.RationalDimensionCycle p →ₗ[ℚ] Y.RationalDimensionCycle q →ₗ[ℚ] |
| 57 | Z.RationalDimensionCycle (p + q) := |
| 58 | Finsupp.linearCombination ℚ (fun A => Finsupp.linearCombination ℚ |
| 59 | (fun B => CycleClass.Thom.IntersectionGeometry.reducedClosedCycle Z (p + q) (CycleClass.Thom.IntersectionGeometry.productClosedSupport X Y Z πX πY A.val B.val))) |
| 60 | |
| 61 | theorem exteriorMap_apply (X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 62 | (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 63 | (hprod : IsLimit (BinaryFan.mk πX πY)) (p q : ℕ) |
| 64 | (a : X.RationalDimensionCycle p) (b : Y.RationalDimensionCycle q) : |
| 65 | exteriorMap X Y Z πX πY p q a b = CycleClass.Thom.IntersectionGeometry.exteriorCycleProduct X Y Z πX πY hprod p q a b := by |
| 66 | simp only [exteriorMap, CycleClass.Thom.IntersectionGeometry.exteriorCycleProduct, Finsupp.linearCombination_apply, Finsupp.sum, |
| 67 | LinearMap.sum_apply, LinearMap.smul_apply, Finset.smul_sum, smul_smul] |
| 68 | |
| 69 | def secondPullbackMap {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (P : ProperCycleLinearity.ProductPresentation X Y) (p : ℕ) : |
| 70 | Y.RationalDimensionCycle p →ₗ[ℚ] P.space.RationalDimensionCycle p := |
| 71 | (cycle P.space (Nat.zero_add p)).toLinearMap.comp |
| 72 | (exteriorMap X Y P.space P.fst P.snd 0 p (ProperCycleLinearity.fundamentalCycle X)) |
| 73 | |
| 74 | theorem cycle_cast (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 75 | (a : X.RationalDimensionCycle p) : |
| 76 | cycle X h a = cast (congrArg X.RationalDimensionCycle h) a := by |
| 77 | subst q |
| 78 | rfl |
| 79 | |
| 80 | theorem secondPullbackMap_apply {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (P : ProperCycleLinearity.ProductPresentation X Y) |
| 81 | (p : ℕ) (a : Y.RationalDimensionCycle p) : |
| 82 | secondPullbackMap P p a = P.secondPullbackCycle p a := by |
| 83 | rw [secondPullbackMap, LinearMap.comp_apply, LinearEquiv.coe_toLinearMap, cycle_cast, |
| 84 | exteriorMap_apply X Y P.space P.fst P.snd P.isLimit] |
| 85 | rfl |
| 86 | |
| 87 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast.ExteriorCycleLinear |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI |