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.Kunneth |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.Products |
| 3 | |
| 4 | /-! # Four Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.FourProduct.CM.SurfaceConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Grouping the given four-factor categorical product into two binary |
| 11 | products, and proving nonvanishing of the literal fourfold class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open MonoidalCategory CartesianMonoidalCategory |
| 15 | |
| 16 | variable {A : Fin 4 → Over Foundations.Scheme.ProjectiveSpace.complexBase} {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | (π : ∀ i, X ⟶ A i) |
| 18 | |
| 19 | def firstPairMap : X ⟶ A 0 ⊗ A 1 := lift (π 0) (π 1) |
| 20 | def lastPairMap : X ⟶ A 2 ⊗ A 3 := lift (π 2) (π 3) |
| 21 | |
| 22 | private def groupedLegs {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 23 | (f : T ⟶ A 0 ⊗ A 1) (g : T ⟶ A 2 ⊗ A 3) : ∀ i : Fin 4, T ⟶ A i := |
| 24 | Fin.cons (f ≫ fst _ _) (Fin.cons (f ≫ snd _ _) |
| 25 | (Fin.cons (g ≫ fst _ _) (Fin.cons (g ≫ snd _ _) (fun i => i.elim0)))) |
| 26 | |
| 27 | def fourProduct_isBinaryProduct (hprod : IsLimit (Fan.mk X π)) : |
| 28 | IsLimit (BinaryFan.mk (firstPairMap π) (lastPairMap π)) := by |
| 29 | refine BinaryFan.IsLimit.mk _ (fun f g => Fan.IsLimit.lift hprod (groupedLegs f g)) ?_ ?_ ?_ |
| 30 | · intro T f g |
| 31 | apply CartesianMonoidalCategory.hom_ext |
| 32 | · change (Fan.IsLimit.lift hprod (groupedLegs f g) ≫ lift (π 0) (π 1)) ≫ fst _ _ = _ |
| 33 | rw [Category.assoc, CartesianMonoidalCategory.lift_fst] |
| 34 | exact Fan.IsLimit.fac hprod (groupedLegs f g) 0 |
| 35 | · change (Fan.IsLimit.lift hprod (groupedLegs f g) ≫ lift (π 0) (π 1)) ≫ snd _ _ = _ |
| 36 | rw [Category.assoc, CartesianMonoidalCategory.lift_snd] |
| 37 | exact Fan.IsLimit.fac hprod (groupedLegs f g) 1 |
| 38 | · intro T f g |
| 39 | apply CartesianMonoidalCategory.hom_ext |
| 40 | · change (Fan.IsLimit.lift hprod (groupedLegs f g) ≫ lift (π 2) (π 3)) ≫ fst _ _ = _ |
| 41 | rw [Category.assoc, CartesianMonoidalCategory.lift_fst] |
| 42 | exact Fan.IsLimit.fac hprod (groupedLegs f g) 2 |
| 43 | · change (Fan.IsLimit.lift hprod (groupedLegs f g) ≫ lift (π 2) (π 3)) ≫ snd _ _ = _ |
| 44 | rw [Category.assoc, CartesianMonoidalCategory.lift_snd] |
| 45 | exact Fan.IsLimit.fac hprod (groupedLegs f g) 3 |
| 46 | · intro T f g m hf hg |
| 47 | apply Fan.IsLimit.hom_ext hprod |
| 48 | intro i |
| 49 | rw [Fan.IsLimit.fac] |
| 50 | fin_cases i |
| 51 | · have hh := congrArg (fun k => k ≫ fst (A 0) (A 1)) hf |
| 52 | change (m ≫ lift (π 0) (π 1)) ≫ fst _ _ = _ at hh |
| 53 | rw [Category.assoc, CartesianMonoidalCategory.lift_fst] at hh |
| 54 | exact hh |
| 55 | · have hh := congrArg (fun k => k ≫ snd (A 0) (A 1)) hf |
| 56 | change (m ≫ lift (π 0) (π 1)) ≫ snd _ _ = _ at hh |
| 57 | rw [Category.assoc, CartesianMonoidalCategory.lift_snd] at hh |
| 58 | exact hh |
| 59 | · have hh := congrArg (fun k => k ≫ fst (A 2) (A 3)) hg |
| 60 | change (m ≫ lift (π 2) (π 3)) ≫ fst _ _ = _ at hh |
| 61 | rw [Category.assoc, CartesianMonoidalCategory.lift_fst] at hh |
| 62 | exact hh |
| 63 | · have hh := congrArg (fun k => k ≫ snd (A 2) (A 3)) hg |
| 64 | change (m ≫ lift (π 2) (π 3)) ≫ snd _ _ = _ at hh |
| 65 | rw [Category.assoc, CartesianMonoidalCategory.lift_snd] at hh |
| 66 | exact hh |
| 67 | |
| 68 | theorem fourProduct_cup_ne_zero (B : Fin 4 → Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 69 | (P : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : ∀ i, P.toOver ⟶ (B i).toOver) |
| 70 | (hprod : IsLimit (Fan.mk P.toOver π)) |
| 71 | (u : ∀ i, (B i).complexCohomology 1) (hu : ∀ i, u i ≠ 0) : |
| 72 | SurfaceConstructionQ.CM.fourCup P (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π i) (u i)) ≠ 0 := by |
| 73 | let B01 := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety (B 0) (B 1) |
| 74 | let B23 := Albanese.Construction.SegreClosed.tensorIntegralProjectiveVariety (B 2) (B 3) |
| 75 | let c01 : B01.complexCohomology 2 := |
| 76 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace B01.toOver) 1 1 |
| 77 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (fst (B 0).toOver (B 1).toOver) (u 0)) |
| 78 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (snd (B 0).toOver (B 1).toOver) (u 1)) |
| 79 | let c23 : B23.complexCohomology 2 := |
| 80 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace B23.toOver) 1 1 |
| 81 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (fst (B 2).toOver (B 3).toOver) (u 2)) |
| 82 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (snd (B 2).toOver (B 3).toOver) (u 3)) |
| 83 | have h01 : c01 ≠ 0 := Kunneth.CM.SurfaceConstruction.complex_exteriorCup_ne_zero |
| 84 | (Z := B01.presentation) _ _ (tensorProductIsBinaryProduct _ _) 1 1 _ _ (hu 0) (hu 1) |
| 85 | have h23 : c23 ≠ 0 := Kunneth.CM.SurfaceConstruction.complex_exteriorCup_ne_zero |
| 86 | (Z := B23.presentation) _ _ (tensorProductIsBinaryProduct _ _) 1 1 _ _ (hu 2) (hu 3) |
| 87 | have ht := Kunneth.CM.SurfaceConstruction.complex_exteriorCup_ne_zero |
| 88 | (X := B01.presentation) (Y := B23.presentation) (Z := P.presentation) |
| 89 | (firstPairMap π) (lastPairMap π) (fourProduct_isBinaryProduct π hprod) 2 2 c01 c23 h01 h23 |
| 90 | have hfirst : Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 2 (firstPairMap π) c01 = |
| 91 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace P.toOver) 1 1 |
| 92 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π 0) (u 0)) |
| 93 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π 1) (u 1)) := by |
| 94 | change Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 2 (firstPairMap π) |
| 95 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace B01.toOver) 1 1 _ _) = _ |
| 96 | erw [SurfaceConstructionQ.CM.schemePullback_cup (X := B01) (firstPairMap π) 1 1, |
| 97 | SurfaceConstructionQ.CM.schemePullback_comp, SurfaceConstructionQ.CM.schemePullback_comp] |
| 98 | unfold firstPairMap |
| 99 | erw [CartesianMonoidalCategory.lift_fst, CartesianMonoidalCategory.lift_snd] |
| 100 | have hlast : Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 2 (lastPairMap π) c23 = |
| 101 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace P.toOver) 1 1 |
| 102 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π 2) (u 2)) |
| 103 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π 3) (u 3)) := by |
| 104 | change Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 2 (lastPairMap π) |
| 105 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace B23.toOver) 1 1 _ _) = _ |
| 106 | erw [SurfaceConstructionQ.CM.schemePullback_cup (X := B23) (lastPairMap π) 1 1, |
| 107 | SurfaceConstructionQ.CM.schemePullback_comp, SurfaceConstructionQ.CM.schemePullback_comp] |
| 108 | unfold lastPairMap |
| 109 | erw [CartesianMonoidalCategory.lift_fst, CartesianMonoidalCategory.lift_snd] |
| 110 | erw [hfirst, hlast] at ht |
| 111 | exact ht |
| 112 | |
| 113 | /-- The nonvanishing clause of SurfaceConstruction holds for the exact supplied product |
| 114 | and canonical comparison vectors, independently of the switch relation. -/ |
| 115 | theorem canonical_switchTensor_ne_zero |
| 116 | (E : IntermediateField ℚ ℂ) |
| 117 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 118 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 119 | (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 120 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i))) |
| 121 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 122 | (π : ∀ i, X.toOver ⟶ (R i).abelianVariety.toOver) |
| 123 | (hprod : IsLimit (Fan.mk X.toOver π)) : |
| 124 | SurfaceConstructionQ.CM.fourCup X (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π i) |
| 125 | ((R i).complexComparison (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E |
| 126 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E |
| 127 | (if i.val < 2 then 1 else ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E))))) ≠ 0 := by |
| 128 | apply fourProduct_cup_ne_zero (fun i => (R i).abelianVariety.variety) X π hprod |
| 129 | intro i hz |
| 130 | exact ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector_ne_zero E _ |
| 131 | ((R i).complexComparison.injective (hz.trans (map_zero _).symm)) |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.HodgeConjecture.FourProduct.CM.SurfaceConstruction |