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.IsomorphismDivisorPushforward |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | |
| 4 | /-! # Fiber Pushforward -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.FiberPushforward.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: actual residue-weighted pushforward restricted to a closed fiber |
| 12 | -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 17 | |
| 18 | variable {X Y W Z : Scheme.{0}} |
| 19 | (i : X ⟶ Y) (j : Z ⟶ Y) (k : W ⟶ X) (q : W ⟶ Z) |
| 20 | [IsClosedImmersion j] [IsClosedImmersion k] |
| 21 | (hcomm : k ≫ i = q ≫ j) |
| 22 | |
| 23 | include hcomm in |
| 24 | theorem closedSquare_residueDegree (w : W) : i.residueDegree (k w) = q.residueDegree w := by |
| 25 | have hc := congrArg (fun f : W ⟶ Y => f.residueDegree w) hcomm |
| 26 | simpa only [IntersectionTheory.ProjectionFormula.CyclePushforward.residueDegree_comp, IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle.residueDegree_immersion, |
| 27 | one_mul, mul_one] using hc |
| 28 | |
| 29 | include hcomm in |
| 30 | theorem closedSquare_pointPushforward |
| 31 | (hcover : Set.range k = i ⁻¹' Set.range j) (z : X →₀ ℚ) : |
| 32 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward q (Finsupp.comapDomain k z k.isClosedEmbedding.injective.injOn) = |
| 33 | Finsupp.comapDomain j (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward i z) j.isClosedEmbedding.injective.injOn := by |
| 34 | induction z using Finsupp.induction_linear with |
| 35 | | zero => simp |
| 36 | | add z w hz hw => |
| 37 | rw [Finsupp.comapDomain_add_of_injective k.isClosedEmbedding.injective, map_add, |
| 38 | map_add, Finsupp.comapDomain_add_of_injective j.isClosedEmbedding.injective, hz, hw] |
| 39 | | single x a => |
| 40 | by_cases hx : x ∈ Set.range k |
| 41 | · obtain ⟨w, rfl⟩ := hx |
| 42 | have hc : i (k w) = j (q w) := congrArg (fun f : W ⟶ Y => f w) hcomm |
| 43 | rw [Finsupp.comapDomain_single, IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, |
| 44 | hc, Finsupp.comapDomain_single, closedSquare_residueDegree i j k q hcomm] |
| 45 | · have hix : i x ∉ Set.range j := by |
| 46 | intro h |
| 47 | apply hx |
| 48 | rw [hcover] |
| 49 | exact h |
| 50 | rw [Finsupp.comapDomain_single_of_not_mem_range hx, map_zero, |
| 51 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, Finsupp.comapDomain_single_of_not_mem_range hix] |
| 52 | |
| 53 | theorem pullbackClosed_pointPushforward (i : X ⟶ Y) (j : Z ⟶ Y) [IsClosedImmersion j] |
| 54 | (z : X →₀ ℚ) : |
| 55 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (pullback.snd i j) |
| 56 | (Finsupp.comapDomain (pullback.fst i j) z (pullback.fst i j).isClosedEmbedding.injective.injOn) = |
| 57 | Finsupp.comapDomain j (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward i z) j.isClosedEmbedding.injective.injOn := |
| 58 | closedSquare_pointPushforward i j (pullback.fst i j) (pullback.snd i j) |
| 59 | pullback.condition (Scheme.Pullback.range_fst i j) z |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.FiberPushforward.BundleCycles |