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.HodgeConjecture.CMVariety.ProjectivePairing |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.Decomposition |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.CupPurity |
| 4 | |
| 5 | /-! # Cycle Orthogonality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.CycleOrthogonality.CM.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Diagonal and off-diagonal classes pair to zero in complementary degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | theorem projectivePairing_cast_right (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (k : ℕ) |
| 16 | {l n : ℕ} (h : l = n) |
| 17 | (hl : k + l = 2 * X.complexDimension) (hn : k + n = 2 * X.complexDimension) |
| 18 | (a : X.complexCohomology k) (b : X.complexCohomology l) : |
| 19 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X k n hn a |
| 20 | (cast (congrArg (fun d => (X.complexCohomology d : Type)) h) b) = |
| 21 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X k l hl a b := by |
| 22 | subst n |
| 23 | rfl |
| 24 | |
| 25 | theorem projectivePairing_cast_left (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (l : ℕ) |
| 26 | {k n : ℕ} (h : k = n) |
| 27 | (hk : k + l = 2 * X.complexDimension) (hn : n + l = 2 * X.complexDimension) |
| 28 | (a : X.complexCohomology k) (b : X.complexCohomology l) : |
| 29 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X n l hn |
| 30 | (cast (congrArg (fun d => (X.complexCohomology d : Type)) h) a) b = |
| 31 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X k l hk a b := by |
| 32 | subst n |
| 33 | rfl |
| 34 | |
| 35 | theorem projectivePairing_zero_of_pure (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q r s : ℕ) |
| 36 | (hdim : (p + q) + (r + s) = 2 * X.complexDimension) (hneq : p + r ≠ q + s) |
| 37 | (a : X.complexCohomology (p + q)) (b : X.complexCohomology (r + s)) |
| 38 | (ha : a ∈ X.pureBettiSubspace p q) (hb : b ∈ X.pureBettiSubspace r s) : |
| 39 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X (p + q) (r + s) hdim a b = 0 := by |
| 40 | change ComplexMultiplication.CohomologyBaseChange.CM.evaluateComplexOnRationalHomology (TopCat.of X.analyticSpace) ((p + q) + (r + s)) |
| 41 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver) (p + q) (r + s) a b) _ = 0 |
| 42 | rw [CupPurity.CM.Abelian.pure_top_cup_eq_zero X p q r s hdim hneq a b ha hb] |
| 43 | exact LinearMap.congr_fun |
| 44 | (map_zero (ComplexMultiplication.CohomologyBaseChange.CM.evaluateComplexOnRationalHomology (TopCat.of X.analyticSpace) |
| 45 | ((p + q) + (r + s)))) _ |
| 46 | |
| 47 | theorem projectivePairing_diagonal_offDiagonal (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 48 | (hdim : (p + p) + (q + q) = 2 * X.complexDimension) |
| 49 | (a : X.complexCohomology (p + p)) (ha : a ∈ X.pureBettiSubspace p p) |
| 50 | (b : X.complexCohomology (q + q)) (hb : b ∈ Decomposition.CM.Abelian.offDiagonalBettiSubspace X q) : |
| 51 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X (p + p) (q + q) hdim a b = 0 := by |
| 52 | apply Decomposition.CM.Abelian.linearMap_eq_zero_on_offDiagonal X q |
| 53 | (ProjectivePairing.CM.Abelian.projectiveComplexPairing X (p + p) (q + q) hdim a) ?_ b hb |
| 54 | intro i hi v hv |
| 55 | have hn := (Decomposition.CM.Abelian.bidegree_ne_diagonal_iff q i).mp hi |
| 56 | have hd := i.property |
| 57 | have hdim' : (p + p) + (i.val.1 + i.val.2) = 2 * X.complexDimension := by omega |
| 58 | have hz := projectivePairing_zero_of_pure X p p i.val.1 i.val.2 hdim' (by omega) |
| 59 | a _ ha ((Decomposition.CM.Abelian.hodgePiece_mem_iff_native X (q + q) i v).mp hv) |
| 60 | exact (projectivePairing_cast_right X (p + p) i.property.symm hdim hdim' a v).symm.trans hz |
| 61 | |
| 62 | theorem projectivePairing_offDiagonal_diagonal (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 63 | (hdim : (p + p) + (q + q) = 2 * X.complexDimension) |
| 64 | (a : X.complexCohomology (p + p)) (ha : a ∈ Decomposition.CM.Abelian.offDiagonalBettiSubspace X p) |
| 65 | (b : X.complexCohomology (q + q)) (hb : b ∈ X.pureBettiSubspace q q) : |
| 66 | ProjectivePairing.CM.Abelian.projectiveComplexPairing X (p + p) (q + q) hdim a b = 0 := by |
| 67 | apply Decomposition.CM.Abelian.linearMap_eq_zero_on_offDiagonal X p |
| 68 | ((ProjectivePairing.CM.Abelian.projectiveComplexPairing X (p + p) (q + q) hdim).flip b) ?_ a ha |
| 69 | intro i hi v hv |
| 70 | have hn := (Decomposition.CM.Abelian.bidegree_ne_diagonal_iff p i).mp hi |
| 71 | have hd := i.property |
| 72 | have hdim' : (i.val.1 + i.val.2) + (q + q) = 2 * X.complexDimension := by omega |
| 73 | have hz := projectivePairing_zero_of_pure X i.val.1 i.val.2 q q hdim' (by omega) |
| 74 | _ b ((Decomposition.CM.Abelian.hodgePiece_mem_iff_native X (p + p) i v).mp hv) hb |
| 75 | exact (projectivePairing_cast_left X (q + q) i.property.symm hdim hdim' v b).symm.trans hz |
| 76 | |
| 77 | theorem complexBettiPullback_cast {R X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 78 | (f : R.toOver ⟶ X.toOver) {m n : ℕ} (h : m = n) (a : X.complexCohomology m) : |
| 79 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback f n |
| 80 | (cast (congrArg (fun d => (X.complexCohomology d : Type)) h) a) = |
| 81 | cast (congrArg (fun d => (R.complexCohomology d : Type)) h) |
| 82 | (Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback f m a) := by |
| 83 | subst n |
| 84 | rfl |
| 85 | |
| 86 | theorem pullback_offDiagonal_top_eq_zero {R X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 87 | (f : R.toOver ⟶ X.toOver) (q : ℕ) (htop : q + q = 2 * R.complexDimension) |
| 88 | (a : X.complexCohomology (q + q)) (ha : a ∈ Decomposition.CM.Abelian.offDiagonalBettiSubspace X q) : |
| 89 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback f (q + q) a = 0 := by |
| 90 | apply Decomposition.CM.Abelian.linearMap_eq_zero_on_offDiagonal X q |
| 91 | (Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback f (q + q)).hom ?_ a ha |
| 92 | intro i hi v hv |
| 93 | have hn := (Decomposition.CM.Abelian.bidegree_ne_diagonal_iff q i).mp hi |
| 94 | have hd := i.property |
| 95 | have hz := CycleForms.CM.Abelian.algebraicPullback_eq_zero_of_offDiagonal_top f i.val.1 i.val.2 |
| 96 | (by omega) hn _ ((Decomposition.CM.Abelian.hodgePiece_mem_iff_native X (q + q) i v).mp hv) |
| 97 | rw [complexBettiPullback_cast f i.property.symm v] at hz |
| 98 | exact (CupPurity.CM.Abelian.complexCohomology_cast_eq_zero_iff R i.property.symm _).mp hz |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.CycleOrthogonality.CM.Abelian |