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.Smooth.PullbackEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SectionSupportModule |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Truncation |
| 4 | |
| 5 | /-! # Section Multiplicity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionMultiplicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth pullback and a closed section preserve every native |
| 12 | intersection multiplicity, for arbitrary integral cycle supports. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 20 | |
| 21 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (s : Y.toOver ⟶ X.toOver) [IsClosedImmersion s.left] |
| 22 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 23 | [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] (hs : s ≫ f = 𝟙 Y.toOver) |
| 24 | |
| 25 | local instance : IsLocallyNoetherian X.toOver.left := inferInstanceAs (IsLocallyNoetherian X.carrier) |
| 26 | local instance : IsLocallyNoetherian Y.toOver.left := inferInstanceAs (IsLocallyNoetherian Y.carrier) |
| 27 | |
| 28 | include hs in |
| 29 | theorem euler (B D : IrreducibleCloseds Y.carrier) (x : X.carrier) |
| 30 | (hxB : f.left x ∈ (B : Set Y.carrier)) (hxD : x ∈ (ProperCycleLinearity.imageSupport s D : Set X.carrier)) (d : ℕ) : |
| 31 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 32 | (CycleClass.Thom.IntersectionGeometry.localTorLength X.carrier (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport f.left B) (ProperCycleLinearity.imageSupport s D) x |
| 33 | (PullbackModule.mem f.left B x hxB) hxD i).toNat) = |
| 34 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 35 | (CycleClass.Thom.IntersectionGeometry.localTorLength Y.carrier B D (f.left x) hxB (SectionSupportModule.mem s f hs D x hxD) i).toNat := by |
| 36 | have hr : x ∈ Set.range s.left := by |
| 37 | rw [ProperCycleLinearity.imageSupport_eq_image] at hxD |
| 38 | exact ⟨hxD.choose, hxD.choose_spec.2⟩ |
| 39 | have he := PullbackEuler.euler f.left (ProperCycleLinearity.imageSupport s D) B x hxD hxB d |
| 40 | rw [SectionSupportModule.residueDegree s f hs x hr, Nat.cast_one, mul_one] at he |
| 41 | exact he.symm.trans (PullbackEuler.congr (Y.carrier.presheaf.stalk (f.left x)) |
| 42 | (Iso.refl (CycleClass.Thom.IntersectionGeometry.localSupportModule Y.carrier B (f.left x) hxB)) |
| 43 | (SectionSupportModule.equiv s f hs D x hxD).toModuleIso.symm d) |
| 44 | |
| 45 | include hs in |
| 46 | theorem multiplicity (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 47 | [SmoothOfRelativeDimension n Y.structureMap] (B D C : IrreducibleCloseds Y.carrier) : |
| 48 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport f.left B) (ProperCycleLinearity.imageSupport s D) (ProperCycleLinearity.imageSupport s C) = |
| 49 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity Y B D C := by |
| 50 | have hx : CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C) = s.left (CycleClass.Thom.IntersectionGeometry.supportPoint C) := |
| 51 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 52 | have hfx : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C)) = CycleClass.Thom.IntersectionGeometry.supportPoint C := |
| 53 | (congrArg f.left hx).trans (SmoothSectionGeometry.point s f hs _) |
| 54 | have hm : CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C) ∈ |
| 55 | (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) B : Set X.carrier) ∩ |
| 56 | (ProperCycleLinearity.imageSupport s D : Set X.carrier) ↔ |
| 57 | CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set Y.carrier) ∩ D := by |
| 58 | rw [Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_coe] |
| 59 | change (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C)) ∈ (B : Set Y.carrier) ∧ |
| 60 | CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C) ∈ (ProperCycleLinearity.imageSupport s D : Set X.carrier)) ↔ _ |
| 61 | rw [hfx, ProperCycleLinearity.imageSupport_eq_image, hx] |
| 62 | constructor |
| 63 | · rintro ⟨hB, y, hy, he⟩ |
| 64 | exact ⟨hB, s.left.isClosedEmbedding.injective he ▸ hy⟩ |
| 65 | · rintro ⟨hB, hD⟩ |
| 66 | exact ⟨hB, _, hD, rfl⟩ |
| 67 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set Y.carrier) ∩ D |
| 68 | · have hX := hm.mpr h |
| 69 | have hB : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport s C)) ∈ (B : Set Y.carrier) := hfx.symm ▸ h.1 |
| 70 | rw [Truncation.intersectionMultiplicity_eq_relative_sum X m _ _ _ hX.1 hX.2, |
| 71 | Truncation.intersectionMultiplicity_eq_relative_sum Y n _ _ _ h.1 h.2] |
| 72 | rw [← Truncation.local_euler_sum_stable X m _ _ _ hX.1 hX.2 (m + n) (by omega), |
| 73 | euler s f hs B D _ hB hX.2 (m + n)] |
| 74 | have he := Truncation.local_euler_sum_stable Y n B D |
| 75 | (CycleClass.Thom.IntersectionGeometry.supportPoint C) h.1 h.2 (m + n) (by omega) |
| 76 | trans ∑ i ∈ Finset.range ((m + n) + 1), (-1 : ℚ) ^ i * |
| 77 | (CycleClass.Thom.IntersectionGeometry.localTorLength Y.carrier B D (CycleClass.Thom.IntersectionGeometry.supportPoint C) h.1 h.2 i).toNat |
| 78 | · apply Finset.sum_congr rfl |
| 79 | intro i _ |
| 80 | congr 1 |
| 81 | exact congrArg (fun l : ℕ∞ => (l.toNat : ℚ)) |
| 82 | (Open.SupportTor.localTorLength_congr_point Y.carrier B D hfx hB |
| 83 | (SectionSupportModule.mem s f hs D _ hX.2) h.1 h.2 i) |
| 84 | · exact he |
| 85 | · rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right (fun hX => h (hm.mp hX)), |
| 86 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h] |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionMultiplicity |