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.CycleClass.Geometric.ProjectiveComponentDimension |
| 2 | import Mathlib.LinearAlgebra.Finsupp.LSum |
| 3 | import Mathlib.LinearAlgebra.Finsupp.SumProd |
| 4 | |
| 5 | /-! # Projective Component Cycles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Rational cycles on the integral components of a projective variety |
| 13 | |
| 14 | The codimension-preserving equivalence of actual irreducible supports induces |
| 15 | a linear equivalence between rational cycles on a smooth projective |
| 16 | presentation and a family of rational cycles on its integral components. |
| 17 | There are finitely many components by Noetherianity, so an arbitrary such |
| 18 | family still gives a finite cycle on the original variety. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | variable (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 24 | |
| 25 | /-- Rational finite cycles, with codimension measured in the actual integral |
| 26 | component containing each irreducible support. -/ |
| 27 | abbrev Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.RationalDimensionCycle (p : ℕ) := P.DimensionCycleSupport p →₀ ℚ |
| 28 | |
| 29 | /-- A rational cycle is exactly a family of rational cycles on the finitely |
| 30 | many integral components. This also permits components of different dimensions. -/ |
| 31 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv (p : ℕ) : |
| 32 | P.RationalDimensionCycle p ≃ₗ[ℚ] |
| 33 | ∀ C : irreducibleComponents P.carrier, |
| 34 | CycleClass.Geometric.DimensionCycles.RationalDimensionCycle (P.componentVariety C) p := by |
| 35 | classical |
| 36 | let := Fintype.ofFinite (irreducibleComponents P.carrier) |
| 37 | exact (Finsupp.domLCongr (P.componentDimensionSupportEquiv p)).trans |
| 38 | (Finsupp.sigmaFinsuppLEquivPiFinsupp ℚ) |
| 39 | |
| 40 | /-- The component coefficient is the original coefficient on the image |
| 41 | of precisely that support. -/ |
| 42 | @[simp] |
| 43 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_apply (p : ℕ) |
| 44 | (z : P.RationalDimensionCycle p) (C : irreducibleComponents P.carrier) |
| 45 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) : |
| 46 | P.componentDimensionCycleEquiv p z C Z = |
| 47 | z ((P.componentDimensionSupportEquiv p).symm ⟨C, Z⟩) := rfl |
| 48 | |
| 49 | /-- Reassembling the component cycles keeps every support coefficient. -/ |
| 50 | @[simp] |
| 51 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_symm_apply (p : ℕ) |
| 52 | (z : ∀ C : irreducibleComponents P.carrier, |
| 53 | CycleClass.Geometric.DimensionCycles.RationalDimensionCycle (P.componentVariety C) p) |
| 54 | (Z : P.DimensionCycleSupport p) : |
| 55 | (P.componentDimensionCycleEquiv p).symm z Z = |
| 56 | z (P.componentDimensionSupportEquiv p Z).1 |
| 57 | (P.componentDimensionSupportEquiv p Z).2 := rfl |
| 58 | |
| 59 | /-- The forward map returns the given coefficient in the unique component |
| 60 | and support corresponding to the original support. -/ |
| 61 | @[simp] |
| 62 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_apply_image (p : ℕ) |
| 63 | (z : P.RationalDimensionCycle p) (Z : P.DimensionCycleSupport p) : |
| 64 | P.componentDimensionCycleEquiv p z (P.componentDimensionSupportEquiv p Z).1 |
| 65 | (P.componentDimensionSupportEquiv p Z).2 = z Z := by |
| 66 | rw [Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_apply] |
| 67 | exact congrArg z ((P.componentDimensionSupportEquiv p).symm_apply_apply Z) |
| 68 | |
| 69 | /-- Reassembly at the image of a component support returns exactly its |
| 70 | component coefficient. -/ |
| 71 | @[simp] |
| 72 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_symm_apply_image (p : ℕ) |
| 73 | (z : ∀ C : irreducibleComponents P.carrier, |
| 74 | CycleClass.Geometric.DimensionCycles.RationalDimensionCycle (P.componentVariety C) p) |
| 75 | (C : irreducibleComponents P.carrier) |
| 76 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) : |
| 77 | (P.componentDimensionCycleEquiv p).symm z |
| 78 | ((P.componentDimensionSupportEquiv p).symm ⟨C, Z⟩) = z C Z := by |
| 79 | exact congrArg |
| 80 | (fun W : Σ D : irreducibleComponents P.carrier, |
| 81 | CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety D) p => z W.1 W.2) |
| 82 | ((P.componentDimensionSupportEquiv p).apply_symm_apply ⟨C, Z⟩) |
| 83 | |
| 84 | /-- A single support keeps its multiplicity and is sent only to the |
| 85 | corresponding component support. -/ |
| 86 | @[simp] |
| 87 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_single_apply (p : ℕ) |
| 88 | (Z : P.DimensionCycleSupport p) (q : ℚ) |
| 89 | (C : irreducibleComponents P.carrier) |
| 90 | (W : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) : |
| 91 | P.componentDimensionCycleEquiv p (Finsupp.single Z q) C W = |
| 92 | Finsupp.single (P.componentDimensionSupportEquiv p Z) q ⟨C, W⟩ := by |
| 93 | classical |
| 94 | simp only [Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_apply, Finsupp.single_apply, |
| 95 | Equiv.eq_symm_apply] |
| 96 | |
| 97 | /-- A component's single cycle is unchanged on that component. -/ |
| 98 | @[simp] |
| 99 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_single_same (p : ℕ) |
| 100 | (C : irreducibleComponents P.carrier) |
| 101 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) (q : ℚ) : |
| 102 | P.componentDimensionCycleEquiv p |
| 103 | (Finsupp.single ((P.componentDimensionSupportEquiv p).symm ⟨C, Z⟩) q) C = |
| 104 | Finsupp.single Z q := by |
| 105 | classical |
| 106 | ext W |
| 107 | simp only [Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_single_apply, Equiv.apply_symm_apply, |
| 108 | Finsupp.single_apply, Sigma.mk.inj_iff, heq_eq_eq, true_and] |
| 109 | |
| 110 | /-- A cycle supported on one component has zero coefficient on every |
| 111 | different component. -/ |
| 112 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_single_ne (p : ℕ) |
| 113 | (C D : irreducibleComponents P.carrier) |
| 114 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (P.componentVariety C) p) (q : ℚ) |
| 115 | (hCD : C ≠ D) : |
| 116 | P.componentDimensionCycleEquiv p |
| 117 | (Finsupp.single ((P.componentDimensionSupportEquiv p).symm ⟨C, Z⟩) q) D = 0 := by |
| 118 | classical |
| 119 | ext W |
| 120 | rw [Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentDimensionCycleEquiv_single_apply, Equiv.apply_symm_apply, |
| 121 | Finsupp.single_apply, Finsupp.zero_apply] |
| 122 | exact ite_eq_right (fun h => hCD (congrArg Sigma.fst h)) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry |