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.Support.ModuleSquare |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImmersionSupport |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SmoothSectionGeometry |
| 4 | |
| 5 | /-! # Section Support Module -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SectionSupportModule |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A closed section identifies the actual reduced support modules |
| 12 | of every cycle with the restrictions of their image support modules. -/ |
| 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.Support.Map |
| 20 | |
| 21 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (s : Y.toOver ⟶ X.toOver) |
| 22 | [IsClosedImmersion s.left] (f : X.toOver ⟶ Y.toOver) (hs : s ≫ f = 𝟙 Y.toOver) |
| 23 | (B : IrreducibleCloseds Y.carrier) |
| 24 | |
| 25 | instance imageMap_isIso : IsIso (Support.Map.supportImageMap s B) := by |
| 26 | let : IsClosedImmersion (Support.Map.algebraicMap s) := inferInstanceAs (IsClosedImmersion s.left) |
| 27 | unfold Support.Map.supportImageMap |
| 28 | apply IsClosedImmersion.isIso_lift |
| 29 | change (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (ProperCycleLinearity.imageSupport s B)).subschemeι.ker = _ |
| 30 | rw [Scheme.IdealSheafData.ker_subschemeι, Support.Map.supportMap_kernel] |
| 31 | |
| 32 | def inverse : CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport s B) ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme B := |
| 33 | inv (Support.Map.supportImageMap s B) |
| 34 | |
| 35 | instance : IsIso (inverse s B) := by unfold inverse; infer_instance |
| 36 | |
| 37 | include hs in |
| 38 | theorem square : CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport s B) ≫ f.left = inverse s B ≫ CycleClass.Geometric.GenericPoint.reducedSupportι B := by |
| 39 | apply (cancel_epi (Support.Map.supportImageMap s B)).mp |
| 40 | rw [← Category.assoc, Support.Map.supportImageMap_inclusion, Category.assoc] |
| 41 | change CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ (s ≫ f).left = _ |
| 42 | rw [hs] |
| 43 | simp [inverse] |
| 44 | |
| 45 | include hs in |
| 46 | omit [IsClosedImmersion s.left] in |
| 47 | theorem mem (x : X.carrier) (hx : x ∈ (ProperCycleLinearity.imageSupport s B : Set X.carrier)) : |
| 48 | f.left x ∈ (B : Set Y.carrier) := by |
| 49 | rw [ProperCycleLinearity.imageSupport_eq_image] at hx |
| 50 | obtain ⟨y, hy, rfl⟩ := hx |
| 51 | rwa [Smooth.SmoothSectionGeometry.point s f hs] |
| 52 | |
| 53 | def equiv (x : X.carrier) (hx : x ∈ (ProperCycleLinearity.imageSupport s B : Set X.carrier)) : |
| 54 | CycleClass.Thom.IntersectionGeometry.localSupportModule Y.carrier B (f.left x) (mem s f hs B x hx) ≃ₗ[Y.carrier.presheaf.stalk (f.left x)] |
| 55 | (ModuleCat.restrictScalars (f.left.stalkMap x).hom).obj |
| 56 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier (ProperCycleLinearity.imageSupport s B) x hx) := |
| 57 | Support.ModuleSquare.equiv f.left (ProperCycleLinearity.imageSupport s B) B (inverse s B) (square s f hs B) |
| 58 | x hx (mem s f hs B x hx) |
| 59 | |
| 60 | include hs in |
| 61 | theorem residueDegree (x : X.carrier) (hx : x ∈ Set.range s.left) : f.left.residueDegree x = 1 := by |
| 62 | obtain ⟨y, rfl⟩ := hx |
| 63 | have h := CyclePushforward.residueDegree_comp s.left f.left y |
| 64 | rw [Principal.ClosedSectionCycle.residueDegree_immersion s.left y, mul_one] at h |
| 65 | have he : s.left ≫ f.left = 𝟙 Y.carrier := congrArg Over.Hom.left hs |
| 66 | rw [he] at h |
| 67 | exact h.symm.trans (Scheme.Hom.residueDegree_id (show Y.carrier from y)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SectionSupportModule |