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.Clopen.Cycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DivisorPrincipal |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowPushforwardMap |
| 4 | |
| 5 | /-! # Cycle Maps -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.CycleMaps |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native restriction and embedding of finite cycles along an open and |
| 12 | closed immersion. Divisor restriction is the actual smooth inverse image. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle |
| 20 | |
| 21 | variable {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 22 | (m : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 23 | |
| 24 | def embed (p : ℕ) : V.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle p := |
| 25 | Finsupp.lmapDomain ℚ ℚ (Cycle.supportImage i m p) |
| 26 | |
| 27 | def restrict (p : ℕ) : X.RationalDimensionCycle p →ₗ[ℚ] V.RationalDimensionCycle p := |
| 28 | Finsupp.lcomapDomain (Cycle.supportImage i m p) (Cycle.supportImage_injective i m p) |
| 29 | |
| 30 | theorem restrict_apply (p : ℕ) (a : X.RationalDimensionCycle p) (A : V.DimensionCycleSupport p) : |
| 31 | restrict i m p a A = a (Cycle.supportImage i m p A) := rfl |
| 32 | |
| 33 | theorem embed_single (p : ℕ) (A : V.DimensionCycleSupport p) (r : ℚ) : |
| 34 | embed i m p (Finsupp.single A r) = Finsupp.single (Cycle.supportImage i m p A) r := Finsupp.mapDomain_single |
| 35 | |
| 36 | theorem restrict_embed (p : ℕ) (a : V.RationalDimensionCycle p) : restrict i m p (embed i m p a) = a := |
| 37 | Finsupp.leftInverse_lcomapDomain_mapDomain _ (Cycle.supportImage_injective i m p) a |
| 38 | |
| 39 | theorem embed_eq_pushforward (p : ℕ) : embed i m p = ProperCycleLinearity.cyclePushforward i p p := by |
| 40 | apply Finsupp.lhom_ext |
| 41 | intro A r |
| 42 | rw [embed_single, ProperCycleLinearity.cyclePushforward_single, ProperCycleLinearity.cyclePushforwardGenerator, |
| 43 | Principal.ClosedSectionCycle.residueDegree_immersion, Nat.cast_one, one_smul, |
| 44 | CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left ((Cycle.image_codimension i m A.val).trans A.property)] |
| 45 | simp only [Finsupp.smul_single, smul_eq_mul, mul_one] |
| 46 | rfl |
| 47 | |
| 48 | theorem flatMap_eq_restrict (a : X.RationalDimensionCycle 1) : CurveFiberCycle.flatMap i a = restrict i m 1 a := by |
| 49 | ext A |
| 50 | exact Smooth.DivisorPrincipal.flatMap_apply_at_point i m m a A (Cycle.supportImage i m 1 A) |
| 51 | (Cycle.image_point i A.val).symm |
| 52 | |
| 53 | theorem embed_restrict (p : ℕ) (a : X.RationalDimensionCycle p) |
| 54 | (ha : ∀ A ∈ a.support, (A.val : Set X.carrier) ⊆ Set.range i.left) : embed i m p (restrict i m p a) = a := by |
| 55 | apply Finsupp.mapDomain_comapDomain _ (Cycle.supportImage_injective i m p) |
| 56 | intro A hA |
| 57 | exact ⟨Cycle.supportPreimage i m p A (ha A hA), Cycle.supportImage_preimage i m p A (ha A hA)⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.CycleMaps |