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.CMReduction.PairProducts |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.OppositePairs |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CupPullback |
| 4 | |
| 5 | /-! # Endpoints -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Endpoints.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Endpoint tensors on actual abelian varieties. Reflexivity is proved |
| 14 | by the finite product of the algebraic opposite-line divisor classes. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) |
| 19 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | |
| 21 | def realizedVector {H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H) (τ : Gal(E/ℚ)) : |
| 22 | R.abelianVariety.variety.complexCohomology 1 := |
| 23 | R.complexComparison (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E τ)) |
| 24 | |
| 25 | def endpointClass (p : ℕ) (v w : Fin p → Pairing.CM.Construction.SignType E) |
| 26 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i))) |
| 27 | (T : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w i))) |
| 28 | (X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 29 | (f : ∀ i, X.toOver ⟶ (R i).abelianVariety.toOver) |
| 30 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver) : |
| 31 | X.variety.complexCohomology (p + p) := |
| 32 | IteratedCup.CM.Construction.h1Cup ℂ (Betti.Scheme.schemePointSpace X.toOver) (p + p) |
| 33 | (Fin.append |
| 34 | (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (f i) (realizedVector E (R i) 1)) |
| 35 | (fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (g i) |
| 36 | (realizedVector E (T i) (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E)))) |
| 37 | |
| 38 | def EndpointAlgebraicity (p : ℕ) (v w : Fin p → Pairing.CM.Construction.SignType E) : Prop := |
| 39 | ∀ (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i))) |
| 40 | (T : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w i))) |
| 41 | (X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 42 | (f : ∀ i, X.toOver ⟶ (R i).abelianVariety.toOver) |
| 43 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver), |
| 44 | endpointClass E p v w R T X f g ∈ X.variety.complexGeometricAlgebraicClasses p |
| 45 | |
| 46 | theorem endpointAlgebraicity_refl |
| 47 | (h_ScalarDescent : Descent.CM.Construction.ScalarDescentInput) (hlefschetz : ComplexMultiplication.CMKnownResults.CM.KnownResults.LefschetzOneOne) |
| 48 | (hexterior : ComplexMultiplication.KnownExteriorCohomology.CM.KnownResults.AbelianExteriorCohomology) |
| 49 | (h_LineBundleCycles : CycleOperations.CM.Construction.LineBundleCyclesInput) (h_ThomClass : CycleOperations.CM.Construction.ExteriorInput) |
| 50 | (p : ℕ) (v : Fin p → Pairing.CM.Construction.SignType E) : EndpointAlgebraicity E p v v := by |
| 51 | intro R T X f g |
| 52 | apply PairProducts.CM.Construction.h1Cup_of_algebraic_pairs hexterior h_LineBundleCycles h_ThomClass X p |
| 53 | intro i |
| 54 | have hc : ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E) = |
| 55 | ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1) := by |
| 56 | simpa only [mul_one] using ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_conjugation E 1 |
| 57 | unfold realizedVector |
| 58 | rw [hc] |
| 59 | exact OppositePairs.CM.Construction.canonical_opposite_pair_algebraic h_ScalarDescent hlefschetz E |
| 60 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure_rankOneCMAction E (v i)) (R i) (T i) X.variety |
| 61 | (f i) (g i) (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E 1) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Reuse the prescribed endpoint realization at every unchanged slot. |
| 66 | Retyping changes only the Hodge-structure proof, keeping its abelian variety |
| 67 | and rational marking definitionally fixed. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory |
| 70 | |
| 71 | def retypeRealization {U : Type} [AddCommGroup U] [Module ℚ U] |
| 72 | {H J : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H) (h : H = J) : ComplexMultiplication.CMKnownResults.CM.HodgeRealization J where |
| 73 | abelianVariety := R.abelianVariety |
| 74 | comparison := R.comparison |
| 75 | holomorphic x := by subst J; exact R.holomorphic x |
| 76 | antiholomorphic x := by subst J; exact R.antiholomorphic x |
| 77 | |
| 78 | theorem realizedVector_retype (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] |
| 79 | {H J : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H) (h : H = J) (τ : Gal(E/ℚ)) : |
| 80 | realizedVector E (retypeRealization R h) τ = realizedVector E R τ := rfl |
| 81 | |
| 82 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 83 | {p : ℕ} (w z : Fin p → Pairing.CM.Construction.SignType E) (a b : Fin p) |
| 84 | (hrest : ∀ i, i ≠ a → i ≠ b → z i = w i) |
| 85 | (T : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (z i))) |
| 86 | (R₁ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w a))) |
| 87 | (R₂ : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w b))) |
| 88 | |
| 89 | def changedData (W X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (f : W.toOver ⟶ X.toOver) |
| 90 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver) |
| 91 | (f₁ : W.toOver ⟶ R₁.abelianVariety.toOver) (f₂ : W.toOver ⟶ R₂.abelianVariety.toOver) |
| 92 | (i : Fin p) : Σ R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (w i)), |
| 93 | W.toOver ⟶ R.abelianVariety.toOver := |
| 94 | if hia : i = a then ⟨retypeRealization R₁ (by subst i; rfl), f₁⟩ |
| 95 | else if hib : i = b then ⟨retypeRealization R₂ (by subst i; rfl), f₂⟩ |
| 96 | else ⟨retypeRealization (T i) (congrArg (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E) (hrest i hia hib)), f ≫ g i⟩ |
| 97 | |
| 98 | def realizedMapValue {H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure E} (W : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 99 | (d : Σ R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H, W.toOver ⟶ R.abelianVariety.toOver) (τ : Gal(E/ℚ)) : |
| 100 | W.variety.complexCohomology 1 := |
| 101 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 d.2 (realizedVector E d.1 τ) |
| 102 | |
| 103 | theorem changed_pullback (W X : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (f : W.toOver ⟶ X.toOver) |
| 104 | (g : ∀ i, X.toOver ⟶ (T i).abelianVariety.toOver) |
| 105 | (f₁ : W.toOver ⟶ R₁.abelianVariety.toOver) (f₂ : W.toOver ⟶ R₂.abelianVariety.toOver) |
| 106 | (i : Fin p) (τ : Gal(E/ℚ)) : |
| 107 | realizedMapValue E W (changedData E w z a b hrest T R₁ R₂ W X f g f₁ f₂ i) τ = |
| 108 | if i = a then Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f₁ (realizedVector E R₁ τ) |
| 109 | else if i = b then Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f₂ (realizedVector E R₂ τ) |
| 110 | else Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 f |
| 111 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (g i) (realizedVector E (T i) τ)) := by |
| 112 | by_cases hia : i = a |
| 113 | · rw [changedData, dite_eq_left hia, ite_eq_left hia] |
| 114 | rfl |
| 115 | · by_cases hib : i = b |
| 116 | · rw [changedData, dite_eq_right hia, dite_eq_left hib, ite_eq_right hia, ite_eq_left hib] |
| 117 | rfl |
| 118 | · rw [changedData, dite_eq_right hia, dite_eq_right hib, ite_eq_right hia, ite_eq_right hib] |
| 119 | exact (CupPullback.CM.Construction.scheme_pullback_comp (R := ℂ) f (g i) 1 (realizedVector E (T i) τ)).symm |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Endpoints.CM.Construction |