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.Integral.ConeResidualStep |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.SupportBound |
| 3 | |
| 4 | /-! # Compatible Residual Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompatibleResidualCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Residual coordinates can preserve every already proper fixed |
| 11 | intersection while improving the other prescribed bounds. The full |
| 12 | cone support, not just its nonzero coefficients, remains proper. -/ |
| 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 | theorem exists_coordinates (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 20 | (m p q : ℕ) [SmoothOfRelativeDimension m X.structureMap] (hp : 1 ≤ p) (W : X.DimensionCycleSupport p) |
| 21 | {τ ι : Type} [Finite τ] [Finite ι] (Z : τ → IrreducibleCloseds X.carrier) |
| 22 | (B : ι → X.DimensionCycleSupport q) (k : τ → ℕ) |
| 23 | (hbound : ∀ t, ∀ C : IrreducibleCloseds X.carrier, |
| 24 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ (Z t : Set X.carrier) → k t ≤ X.supportCodimension C) |
| 25 | (hproper : ∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 26 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) : |
| 27 | ∃ (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 28 | (h : ∀ y : X.carrier, ∃ a, (L a).val ∉ (X.embedding y).asHomogeneousIdeal) |
| 29 | (hL : LinearIndependent ℂ L), |
| 30 | Cone.SupportBound.IntegralCycle.cycle X m L hL h p W = |
| 31 | Finsupp.single W 1 + Cone.SupportBound.IntegralCycle.residual X m L hL h p W ∧ |
| 32 | (∀ i, ∀ C : IrreducibleCloseds X.carrier, |
| 33 | (C : Set X.carrier) ⊆ (Cone.SupportBound.IntegralCycle.intersection X m L hL h p W : Set X.carrier) ∩ |
| 34 | ((B i).val : Set X.carrier) → p + q ≤ X.supportCodimension C) ∧ |
| 35 | (∀ t, ∀ D ∈ (Cone.SupportBound.IntegralCycle.residual X m L hL h p W).support, |
| 36 | ∀ C : IrreducibleCloseds X.carrier, |
| 37 | (C : Set X.carrier) ⊆ (D.val : Set X.carrier) ∩ (Z t : Set X.carrier) → |
| 38 | min (p + X.supportCodimension (Z t)) (k t + 1) ≤ X.supportCodimension C) ∧ |
| 39 | (∀ i, ∀ D ∈ (Cone.SupportBound.IntegralCycle.residual X m L hL h p W).support, |
| 40 | ∀ C : IrreducibleCloseds X.carrier, |
| 41 | (C : Set X.carrier) ⊆ (D.val : Set X.carrier) ∩ ((B i).val : Set X.carrier) → |
| 42 | p + q ≤ X.supportCodimension C) := by |
| 43 | let S := Sum.elim Z (fun i => (B i).val) |
| 44 | let kS := Sum.elim k (fun _ : ι => p + q) |
| 45 | have hS : ∀ t, ∀ C : IrreducibleCloseds X.carrier, |
| 46 | (C : Set X.carrier) ⊆ ResidualIntersection.Step.intersection X W.val (S t) → kS t ≤ X.supportCodimension C := by |
| 47 | intro t C hC |
| 48 | cases t with |
| 49 | | inl t => exact hbound t C hC |
| 50 | | inr i => exact hproper i C hC |
| 51 | have hW : 1 ≤ X.supportCodimension W.val := W.property.symm ▸ hp |
| 52 | obtain ⟨L, h, hL, ⟨x, hxW, _, ⟨U, hxU, hU⟩, _⟩, hres⟩ := |
| 53 | ResidualCoordinateStep.exists_coordinates X m W.val hW S kS hS |
| 54 | let := hU |
| 55 | have hfixed (i : ι) (C : IrreducibleCloseds X.carrier) |
| 56 | (hC : (C : Set X.carrier) ⊆ |
| 57 | (ResidualAvoidance.Projection.residual (Projection.FiniteProjective.FromForms.map X m L h) W.val : Set X.carrier) ∩ |
| 58 | ((B i).val : Set X.carrier)) : p + q ≤ X.supportCodimension C := by |
| 59 | have hr := hres (Sum.inr i) C hC |
| 60 | change min (X.supportCodimension W.val + X.supportCodimension (B i).val) ((p + q) + 1) ≤ X.supportCodimension C at hr |
| 61 | rw [W.property, (B i).property, min_eq_left (Nat.le_succ (p + q))] at hr |
| 62 | exact hr |
| 63 | refine ⟨L, h, hL, Cone.SupportBound.IntegralCycle.decomposition X m L hL h p W, ?_, ?_, ?_⟩ |
| 64 | · intro i C hC |
| 65 | exact Cone.SupportBound.cone X m L hL h p q W (B i) (hproper i) (hfixed i) C hC |
| 66 | · intro t D hD C hC |
| 67 | have hs := Cone.SupportBound.IntegralCycle.residual_supported X m L hL h p W U x hxW hxU D hD |
| 68 | have hr := hres (Sum.inl t) C (fun y hy => ⟨hs (hC hy).1, (hC hy).2⟩) |
| 69 | change min (X.supportCodimension W.val + X.supportCodimension (Z t)) (k t + 1) ≤ X.supportCodimension C at hr |
| 70 | rw [W.property] at hr |
| 71 | exact hr |
| 72 | · intro i D hD C hC |
| 73 | have hs := Cone.SupportBound.IntegralCycle.residual_supported X m L hL h p W U x hxW hxU D hD |
| 74 | exact hfixed i C (fun y hy => ⟨hs (hC hy).1, (hC hy).2⟩) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompatibleResidualCoordinates |