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.SectionMultiplicity |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberCycles |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle |
| 4 | |
| 5 | /-! # Section Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionPair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Proper intersection with an arbitrary cycle on a closed section |
| 12 | commutes with smooth pullback, as an equality of native cycles. -/ |
| 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 OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 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 | (m n r : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 25 | (hd : n + r = m) (p q : ℕ) (B : Y.DimensionCycleSupport p) (D : Y.DimensionCycleSupport q) |
| 26 | (hBD : Supports.ProperCycle.pairMeetsProperly Y p q B D) |
| 27 | |
| 28 | local instance : IsLocallyNoetherian Y.toOver.left := inferInstanceAs (IsLocallyNoetherian Y.carrier) |
| 29 | |
| 30 | include hs hd hBD in |
| 31 | theorem proper : Supports.ProperCycle.pairMeetsProperly X p (q + r) (Integral.FiberCycles.support f m n p B) |
| 32 | (Closed.EmbeddingCycle.supportImage s n m q (q + r) (by omega) D) := by |
| 33 | intro E hE |
| 34 | have hEs : (E : Set X.carrier) ⊆ Set.range s.left := by |
| 35 | intro x hx |
| 36 | have h := (hE hx).2 |
| 37 | change x ∈ (ProperCycleLinearity.imageSupport s D.val : Set X.carrier) at h |
| 38 | rw [ProperCycleLinearity.imageSupport_eq_image] at h |
| 39 | exact ⟨h.choose, h.choose_spec.2⟩ |
| 40 | let W := Closed.EmbeddingCycle.preimage s E hEs |
| 41 | have hW : (W : Set Y.carrier) ⊆ (B.val : Set Y.carrier) ∩ D.val := by |
| 42 | intro y hy |
| 43 | have h := hE hy |
| 44 | have hb : f.left (s.left y) ∈ (B.val : Set Y.carrier) := by |
| 45 | have he := h.1 |
| 46 | change s.left y ∈ |
| 47 | (Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport (show X.carrier ⟶ Y.carrier from f.left) B.val : Set X.carrier) at he |
| 48 | rwa [Divisors.LineBundles.Integral.PulledSupport.BundleCycles.integralPulledSupport_coe] at he |
| 49 | rw [SmoothSectionGeometry.point s f hs] at hb |
| 50 | have he := h.2 |
| 51 | change s.left y ∈ (ProperCycleLinearity.imageSupport s D.val : Set X.carrier) at he |
| 52 | rw [ProperCycleLinearity.imageSupport_eq_image] at he |
| 53 | obtain ⟨z, hz, hzy⟩ := he |
| 54 | exact ⟨hb, s.left.isClosedEmbedding.injective hzy ▸ hz⟩ |
| 55 | have hb := hBD W hW |
| 56 | have he := Closed.EmbeddingCycle.image_codimension s n m W |
| 57 | rw [Closed.EmbeddingCycle.image_preimage] at he |
| 58 | omega |
| 59 | |
| 60 | include hs hd hBD in |
| 61 | theorem pair : Supports.ProperCycle.pairCycle X m p (q + r) (Integral.FiberCycles.support f m n p B) |
| 62 | (Closed.EmbeddingCycle.supportImage s n m q (q + r) (by omega) D) = |
| 63 | Closed.EmbeddingCycle.Maps.embed s n m (p + q) (p + (q + r)) (by omega) |
| 64 | (Supports.ProperCycle.pairCycle Y n p q B D) := by |
| 65 | let a := Supports.ProperCycle.pairCycle X m p (q + r) (Integral.FiberCycles.support f m n p B) |
| 66 | (Closed.EmbeddingCycle.supportImage s n m q (q + r) (by omega) D) |
| 67 | have ha : ∀ C ∈ a.support, (C.val : Set X.carrier) ⊆ Set.range s.left := by |
| 68 | intro C hC |
| 69 | have hn := Finsupp.mem_support_iff.mp hC |
| 70 | rw [Supports.ProperCycle.pairCycle_apply X m p (q + r) _ _ (proper s f hs m n r hd p q B D hBD)] at hn |
| 71 | have hc : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ |
| 72 | ((Integral.FiberCycles.support f m n p B).val : Set X.carrier) ∩ ProperCycleLinearity.imageSupport s D.val := by |
| 73 | by_contra h |
| 74 | exact hn (dite_eq_right h) |
| 75 | have hsub := (Supports.supportPoint_mem_iff_subset |
| 76 | (⟨(ProperCycleLinearity.imageSupport s D.val : Set X.carrier), (ProperCycleLinearity.imageSupport s D.val).isClosed⟩ : Closeds X.carrier) C.val).mp hc.2 |
| 77 | intro x hx |
| 78 | have hi := hsub hx |
| 79 | change x ∈ (ProperCycleLinearity.imageSupport s D.val : Set X.carrier) at hi |
| 80 | rw [ProperCycleLinearity.imageSupport_eq_image] at hi |
| 81 | exact ⟨hi.choose, hi.choose_spec.2⟩ |
| 82 | have he : Closed.EmbeddingCycle.Maps.restrict s n m (p + q) (p + (q + r)) (by omega) a = |
| 83 | Supports.ProperCycle.pairCycle Y n p q B D := by |
| 84 | ext C |
| 85 | rw [Closed.EmbeddingCycle.Maps.restrict_apply, |
| 86 | Supports.ProperCycle.pairCycle_apply X m p (q + r) _ _ (proper s f hs m n r hd p q B D hBD), |
| 87 | Supports.ProperCycle.pairCycle_apply Y n p q B D hBD] |
| 88 | exact SectionMultiplicity.multiplicity s f hs m n B.val D.val C.val |
| 89 | exact (Closed.EmbeddingCycle.Maps.embed_restrict s n m (p + q) (p + (q + r)) (by omega) a ha).symm.trans |
| 90 | (congrArg (Closed.EmbeddingCycle.Maps.embed s n m (p + q) (p + (q + r)) (by omega)) he) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionPair |