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.ChowZero |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeFiltrationEuler |
| 3 | |
| 4 | /-! # Right Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RightZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact Chow intersection is bilinear also when its second input |
| 11 | has codimension zero. This is the order used by graph pullback in degree zero. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical BigOperators |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Action |
| 19 | |
| 20 | theorem euler_unit_right (R : Type) [CommRing R] (M N : ModuleCat R) |
| 21 | (e : N ≃ₗ[R] R) (d : ℕ) : |
| 22 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 23 | (Module.length R (((Tor (ModuleCat R) i).obj M).obj N)).toNat) = |
| 24 | (Module.length R M).toNat := by |
| 25 | calc |
| 26 | _ = ProjectionFormula.Tor.Euler.euler R M (.of R R) d := by |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro i _ |
| 29 | exact congrArg (fun a : ℕ∞ => (-1 : ℚ) ^ i * (a.toNat : ℚ)) |
| 30 | (((Tor (ModuleCat R) i).obj M).mapIso e.toModuleIso).toLinearEquiv.length_eq |
| 31 | _ = _ := PrimeFiltrationEuler.euler_unit_right R M d |
| 32 | |
| 33 | theorem multiplicity_zero_right (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 34 | [SmoothOfRelativeDimension m X.structureMap] (A C : X.DimensionCycleSupport p) |
| 35 | (B : X.DimensionCycleSupport 0) : |
| 36 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val = |
| 37 | if A = C ∧ C.val ≤ B.val then 1 else 0 := by |
| 38 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier) ∩ (B.val : Set X.carrier) |
| 39 | · have hCA := (Supports.supportPoint_mem_iff_subset |
| 40 | ⟨A.val, A.val.isClosed⟩ C.val).mp h.1 |
| 41 | have hCB := (Supports.supportPoint_mem_iff_subset |
| 42 | ⟨B.val, B.val.isClosed⟩ C.val).mp h.2 |
| 43 | have he : A = C := Subtype.ext (IntersectionZero.eq_of_subset_of_codimension_eq X m hCA |
| 44 | (C.property.trans A.property.symm)).symm |
| 45 | subst A |
| 46 | rw [ite_eq_left ⟨rfl, hCB⟩, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left h] |
| 47 | let : IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι B.val) := Open.Support.inclusion_isOpenImmersion |
| 48 | B.val (Open.Support.codimension_zero_isOpen X m B) |
| 49 | change (∑ i ∈ Finset.range (X.ambientDimension + 1), (-1 : ℚ) ^ i * |
| 50 | (Module.length (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 51 | (((Tor (ModuleCat (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val))) i).obj |
| 52 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier C.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.1)).obj |
| 53 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.2))).toNat) = 1 |
| 54 | rw [euler_unit_right _ _ _ (Open.Support.localModuleEquiv B.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h.2)] |
| 55 | simp [Open.Support.localModule_length_at_generic] |
| 56 | · rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h, ite_eq_right] |
| 57 | rintro ⟨rfl, hCB⟩ |
| 58 | have hc : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ (A.val : Set X.carrier) := |
| 59 | (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 60 | exact h ⟨hc, hCB hc⟩ |
| 61 | |
| 62 | def cycleIntersection (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 63 | X.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle 0 →ₗ[ℚ] |
| 64 | X.RationalDimensionCycle (p + 0) := (Component.Action.cycleAction X p).flip |
| 65 | |
| 66 | theorem cycleIntersection_isProper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 67 | [SmoothOfRelativeDimension m X.structureMap] |
| 68 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle 0) : |
| 69 | CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X p 0 a b (cycleIntersection X p a b) := by |
| 70 | refine ⟨?_, ?_⟩ |
| 71 | · intro A _ B _ C hC |
| 72 | have hCA : C ≤ A.val := fun x hx => (hC hx).1 |
| 73 | have h := (Supports.codimension_strictAnti X m).antitone hCA |
| 74 | simpa only [A.property, add_zero] using h |
| 75 | · intro C |
| 76 | change Component.Action.cycleAction X p b a C = _ |
| 77 | rw [Component.Action.cycleAction_apply] |
| 78 | change _ = ∑ A ∈ a.support, ∑ B ∈ b.support, |
| 79 | a A * b B * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val |
| 80 | rw [Finset.sum_comm] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro B _ |
| 83 | simp only [multiplicity_zero_right X m p] |
| 84 | change b B * (if C.val ≤ B.val then a C else 0) = _ |
| 85 | by_cases hC : C.val ≤ B.val |
| 86 | · simp only [hC, and_true, mul_ite, mul_one, mul_zero, ite_true] |
| 87 | rw [Finset.sum_ite_eq'] |
| 88 | by_cases ha : C ∈ a.support |
| 89 | · simp [ha, mul_comm] |
| 90 | · have hz : a C = 0 := Finsupp.notMem_support_iff.mp ha |
| 91 | simp [ha, hz] |
| 92 | · simp [hC] |
| 93 | |
| 94 | def chowIntersectionMap (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 95 | [SmoothOfRelativeDimension m X.structureMap] : |
| 96 | ProperCycleLinearity.ChowQ X p →ₗ[ℚ] ProperCycleLinearity.ChowQ X 0 →ₗ[ℚ] ProperCycleLinearity.ChowQ X (p + 0) := |
| 97 | (ChowZero.chowAction X m p).flip |
| 98 | |
| 99 | theorem chowIntersectionMap_mk (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 100 | [SmoothOfRelativeDimension m X.structureMap] |
| 101 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle 0) : |
| 102 | chowIntersectionMap X m p (ProperCycleLinearity.cycleToChowQ X p a) (ProperCycleLinearity.cycleToChowQ X 0 b) = |
| 103 | ProperCycleLinearity.cycleToChowQ X (p + 0) (cycleIntersection X p a b) := rfl |
| 104 | |
| 105 | theorem representsIntersection_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 106 | [SmoothOfRelativeDimension m X.structureMap] |
| 107 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle 0) |
| 108 | (c : X.RationalDimensionCycle (p + 0)) : |
| 109 | CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X p 0 a b c ↔ ProperCycleLinearity.cycleToChowQ X (p + 0) c = |
| 110 | chowIntersectionMap X m p (ProperCycleLinearity.cycleToChowQ X p a) (ProperCycleLinearity.cycleToChowQ X 0 b) := by |
| 111 | constructor |
| 112 | · rintro ⟨a', b', c', ha, hb, hp, hc⟩ |
| 113 | rw [(ProperCycleLinearity.cycleToChowQ_eq_iff X p a a').mpr ha, |
| 114 | (ProperCycleLinearity.cycleToChowQ_eq_iff X 0 b b').mpr hb, chowIntersectionMap_mk, |
| 115 | (ProperCycleLinearity.cycleToChowQ_eq_iff X (p + 0) c c').mpr hc] |
| 116 | exact congrArg (ProperCycleLinearity.cycleToChowQ X (p + 0)) |
| 117 | (CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X p 0 hp (cycleIntersection_isProper X m p a' b')) |
| 118 | · intro h |
| 119 | refine ⟨a, b, cycleIntersection X p a b, CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X p a, |
| 120 | CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X 0 b, cycleIntersection_isProper X m p a b, ?_⟩ |
| 121 | apply (ProperCycleLinearity.cycleToChowQ_eq_iff X (p + 0) c (cycleIntersection X p a b)).mp |
| 122 | exact h.trans (chowIntersectionMap_mk X m p a b) |
| 123 | |
| 124 | theorem chowIntersection_eq_singleton (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p : ℕ) |
| 125 | [SmoothOfRelativeDimension m X.structureMap] (a : ProperCycleLinearity.ChowQ X p) (b : ProperCycleLinearity.ChowQ X 0) : |
| 126 | ProperCycleLinearity.chowIntersection X p 0 a b = {chowIntersectionMap X m p a b} := by |
| 127 | obtain ⟨a, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X p a |
| 128 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X 0 b |
| 129 | ext c |
| 130 | obtain ⟨c, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (p + 0) c |
| 131 | rw [ProperCycleLinearity.chowIntersection_mk_iff, Set.mem_singleton_iff, representsIntersection_iff X m p] |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RightZero |