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.Divisors.LineBundles.Normal.RestrictionOpenDivisor |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportRegularFunction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierFiber |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueSupport |
| 5 | |
| 6 | /-! # Cartier Open Point -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierOpenPoint.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The complete principal intersection divisor restricts along an actual open immersion, including every point coefficient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | variable {X Y : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] |
| 17 | [AlgebraicGeometry.IsNoetherian Y] (i : X ⟶ Y) [IsOpenImmersion i] |
| 18 | |
| 19 | theorem principalCartierPointCycle_open (a : Γ(Y, ⊤)) (x : X) : |
| 20 | Finsupp.comapDomain i (CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm (i x))) |
| 21 | i.isOpenEmbedding.injective.injOn = |
| 22 | CartierCycle.BundleCycles.principalCartierPointCycle (i.appTop a) (irreducibleSetEquivPoints.symm x) := |
| 23 | (Normal.RestrictionOpenDivisor.BundleCycles.pointSupportPrincipalDivisor_open i x _).trans |
| 24 | (congrArg (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x)) |
| 25 | (Point.SupportRegularFunction.BundleCycles.pointSupportFunctionFieldMap_regular i x a)) |
| 26 | |
| 27 | theorem principalCartierPointMap_open (a : Γ(Y, ⊤)) (z : Y →₀ ℚ) : |
| 28 | Finsupp.comapDomain i (CartierFiber.BundleCycles.principalCartierPointMap a z) i.isOpenEmbedding.injective.injOn = |
| 29 | CartierFiber.BundleCycles.principalCartierPointMap (i.appTop a) |
| 30 | (Finsupp.comapDomain i z i.isOpenEmbedding.injective.injOn) := by |
| 31 | let L : (Y →₀ ℚ) →ₗ[ℚ] (X →₀ ℚ) := Finsupp.lcomapDomain i i.isOpenEmbedding.injective |
| 32 | change L (CartierFiber.BundleCycles.principalCartierPointMap a z) = CartierFiber.BundleCycles.principalCartierPointMap (i.appTop a) (L z) |
| 33 | induction z using Finsupp.induction_linear with |
| 34 | | zero => simp only [map_zero] |
| 35 | | add z w hz hw => simp only [map_add, hz, hw] |
| 36 | | single y q => |
| 37 | by_cases hy : y ∈ Set.range i |
| 38 | · obtain ⟨x, rfl⟩ := hy |
| 39 | have hs : L (Finsupp.single (i x) q) = Finsupp.single x q := |
| 40 | Finsupp.comapDomain_single i x q i.isOpenEmbedding.injective.injOn |
| 41 | rw [CartierFiber.BundleCycles.principalCartierPointMap_single, map_smul, hs, CartierFiber.BundleCycles.principalCartierPointMap_single] |
| 42 | exact congrArg (fun c => q • c) (principalCartierPointCycle_open i a x) |
| 43 | · have hs : L (Finsupp.single y q) = 0 := by |
| 44 | apply Finsupp.comapDomain_single_of_not_mem_range |
| 45 | exact hy |
| 46 | have hc : L (CartierCycle.BundleCycles.principalCartierPointCycle a (irreducibleSetEquivPoints.symm y)) = 0 := by |
| 47 | ext x |
| 48 | exact Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support _ _ (i x) (LineBundle.ProperResidueSupport.Cycles.pointSupport_off_open i y hy x) |
| 49 | rw [hs, map_zero, CartierFiber.BundleCycles.principalCartierPointMap_single, map_smul, hc, smul_zero] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierOpenPoint.BundleCycles |