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.Open.FiberPushforward.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual residue-weighted point pushforward commutes with open base change -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 15 | |
| 16 | variable {X Y W Z : Scheme.{0}} |
| 17 | (f : X ⟶ Y) (j : Z ⟶ Y) (k : W ⟶ X) (q : W ⟶ Z) |
| 18 | [IsOpenImmersion j] [IsOpenImmersion k] (hcomm : k ≫ f = q ≫ j) |
| 19 | |
| 20 | include hcomm in |
| 21 | theorem openSquare_residueDegree (w : W) : f.residueDegree (k w) = q.residueDegree w := by |
| 22 | have h := congrArg (fun f : W ⟶ Y => f.residueDegree w) hcomm |
| 23 | simpa only [IntersectionTheory.ProjectionFormula.CyclePushforward.residueDegree_comp, IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle.residueDegree_immersion, one_mul, mul_one] using h |
| 24 | |
| 25 | include hcomm in |
| 26 | theorem openSquare_pointPushforward (hcover : Set.range k = f ⁻¹' Set.range j) (z : X →₀ ℚ) : |
| 27 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward q (Finsupp.comapDomain k z k.isOpenEmbedding.injective.injOn) = |
| 28 | Finsupp.comapDomain j (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f z) j.isOpenEmbedding.injective.injOn := by |
| 29 | induction z using Finsupp.induction_linear with |
| 30 | | zero => simp |
| 31 | | add z w hz hw => |
| 32 | rw [Finsupp.comapDomain_add_of_injective k.isOpenEmbedding.injective, map_add, |
| 33 | map_add, Finsupp.comapDomain_add_of_injective j.isOpenEmbedding.injective, hz, hw] |
| 34 | | single x a => |
| 35 | by_cases hx : x ∈ Set.range k |
| 36 | · obtain ⟨w, rfl⟩ := hx |
| 37 | have hc : f (k w) = j (q w) := congrArg (fun f : W ⟶ Y => f w) hcomm |
| 38 | rw [Finsupp.comapDomain_single, IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, |
| 39 | hc, Finsupp.comapDomain_single, openSquare_residueDegree f j k q hcomm] |
| 40 | · have hfx : f x ∉ Set.range j := by |
| 41 | intro h |
| 42 | apply hx |
| 43 | rw [hcover] |
| 44 | exact h |
| 45 | rw [Finsupp.comapDomain_single_of_not_mem_range hx, map_zero, |
| 46 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_single, Finsupp.comapDomain_single_of_not_mem_range hfx] |
| 47 | |
| 48 | theorem morphismRestrict_pointPushforward {X Y : Scheme.{0}} (f : X ⟶ Y) (U : Y.Opens) (z : X →₀ ℚ) : |
| 49 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (f ∣_ U) |
| 50 | (Finsupp.comapDomain (f ⁻¹ᵁ U).ι z (f ⁻¹ᵁ U).ι.isOpenEmbedding.injective.injOn) = |
| 51 | Finsupp.comapDomain U.ι (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f z) U.ι.isOpenEmbedding.injective.injOn := by |
| 52 | apply openSquare_pointPushforward f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) (morphismRestrict_ι f U).symm |
| 53 | rw [Scheme.Opens.range_ι, Scheme.Opens.range_ι] |
| 54 | rfl |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.FiberPushforward.BundleCycles |