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.DegreeTwo.Transport |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Denominators |
| 3 | |
| 4 | /-! # Albanese -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Albanese.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Algebraic realization on an already-given surface. The named DegreeTwo input |
| 13 | is its full original weight-one proposition; ConstructionInput and HodgeComparisonInput are the |
| 14 | full source-pinned propositions from DegreeTwo. No statement stub is imported. |
| 15 | The global ThetaCycle existence statement is not changed or used here. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions |
| 19 | |
| 20 | /-- Exactly the full original DegreeTwo weight-one clause, before specializing A,B. -/ |
| 21 | def WeightOneInput : Prop := |
| 22 | ∀ (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 23 | (u : A.variety.rationalCohomology 1 →ₗ[ℚ] B.variety.rationalCohomology 1), |
| 24 | (∀ x ∈ A.h1Holomorphic, u.baseChange ℂ x ∈ B.h1Holomorphic) → |
| 25 | (∀ x ∈ A.h1Antiholomorphic, u.baseChange ℂ x ∈ B.h1Antiholomorphic) → |
| 26 | ∃ n : ℕ, 0 < n ∧ ∃ g : B.toOver ⟶ A.toOver, |
| 27 | IsMonHom g ∧ ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety.h1Pullback g = (n : ℚ) • u |
| 28 | |
| 29 | /-- Actual rational cohomology pullback respects composition of scheme maps. -/ |
| 30 | theorem rational_betti_comp {X Y Z : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 31 | (a : X.toOver ⟶ Y.toOver) (g : Y.toOver ⟶ Z.toOver) : |
| 32 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (a ≫ g)).hom = |
| 33 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 a).hom.comp |
| 34 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 g).hom := by |
| 35 | ext x |
| 36 | exact ConcreteCategory.congr_hom |
| 37 | ((Betti.Scheme.schemeBettiFunctor (ModuleCat.of ℚ ℚ) 1).map_comp g.op a.op) x |
| 38 | |
| 39 | /-- Construction/HodgeComparison and full DegreeTwo construct an actual map from the surface. |
| 40 | Its rational pullback is a positive integral multiple of the given Hodge map. -/ |
| 41 | theorem surface_hodge_map_algebraic |
| 42 | (hDegreeTwo : WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) (hHodgeComparison : DegreeTwo.Transport.Constructions.HodgeComparisonInput) |
| 43 | {U : Type} [AddCommGroup U] [Module ℚ U] |
| 44 | (J : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization J) |
| 45 | (S : Cm.ProjectiveSurface) |
| 46 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 47 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 48 | (u : U →ₗ[ℚ] S.variety.rationalCohomology 1) (hu : ComplexMultiplication.WeightOne.CM.IsHodgeMap J H u) : |
| 49 | ∃ n : ℕ, 0 < n ∧ |
| 50 | ∃ f : S.variety.toOver ⟶ R.abelianVariety.toOver, |
| 51 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 f).hom.comp R.comparison.toLinearMap = |
| 52 | (n : ℚ) • u := by |
| 53 | classical |
| 54 | let x₀ : S.variety.analyticSpace := Classical.choice inferInstance |
| 55 | obtain ⟨A, a, ha₀, haU⟩ := hConstruction S.variety.presentation x₀ |
| 56 | have ha : DegreeTwo.Transport.Constructions.IsAlbaneseMap S.variety x₀ A a := by |
| 57 | simpa only [DegreeTwo.Transport.Constructions.IsAlbaneseMap, MonObj.one_eq_one] using And.intro ha₀ haU |
| 58 | obtain ⟨HA, HX, e, hA, hX, he, hforward, hinverse⟩ := hHodgeComparison S.variety x₀ A a ha |
| 59 | have hi : ComplexMultiplication.WeightOne.CM.IsHodgeMap H HA e.symm.toLinearMap := by |
| 60 | intro x hx |
| 61 | apply hinverse x |
| 62 | rw [hX.1, ← hH.1] |
| 63 | exact hx |
| 64 | let t := e.symm.toLinearMap.comp (u.comp R.comparison.symm.toLinearMap) |
| 65 | have ht : ComplexMultiplication.WeightOne.CM.IsHodgeMap R.h1HodgeStructure HA t := |
| 66 | hi.comp (hu.comp (J.transport_symm_isHodgeMap R.comparison)) |
| 67 | obtain ⟨n, hn, g, hg, hgpull⟩ := hDegreeTwo R.abelianVariety A t |
| 68 | (fun x hx => by |
| 69 | change t.baseChange ℂ x ∈ A.h1Holomorphic |
| 70 | change t.baseChange ℂ x ∈ (A.variety.pureBettiSubspace 1 0).comap |
| 71 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace A.toOver) 1) |
| 72 | rw [← hA.1] |
| 73 | exact ht x (R.h1HodgeStructure_holomorphic.symm ▸ hx)) |
| 74 | (fun x hx => by |
| 75 | change t.baseChange ℂ x ∈ (A.variety.pureBettiSubspace 0 1).comap |
| 76 | (ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification (Betti.Scheme.schemePointSpace A.toOver) 1) |
| 77 | rw [← hA.2] |
| 78 | exact ht.map_antiholomorphic (R.h1HodgeStructure_antiholomorphic.symm ▸ hx)) |
| 79 | refine ⟨n, hn, a ≫ g, ?_⟩ |
| 80 | rw [rational_betti_comp, ← he] |
| 81 | change e.toLinearMap.comp ((ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety.h1Pullback g).comp |
| 82 | R.comparison.toLinearMap) = _ |
| 83 | rw [hgpull] |
| 84 | ext x |
| 85 | change e ((n : ℚ) • e.symm (u (R.comparison.symm (R.comparison x)))) = (n : ℚ) • u x |
| 86 | rw [R.comparison.symm_apply_apply, map_smul, e.apply_symm_apply] |
| 87 | |
| 88 | variable (K : IntermediateField ℚ ℂ) |
| 89 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 90 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 91 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i))) |
| 92 | |
| 93 | /-- Assemble the four actual algebraic maps from the extracted term. -/ |
| 94 | theorem algebraic_maps_of_hodge_term |
| 95 | (hDegreeTwo : WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) (hHodgeComparison : DegreeTwo.Transport.Constructions.HodgeComparisonInput) |
| 96 | (S : Cm.ProjectiveSurface) |
| 97 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 98 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 99 | (u : Fin 4 → (K →ₗ[ℚ] S.variety.rationalCohomology 1)) |
| 100 | (hu : ∀ i, ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) H (u i)) |
| 101 | (hn : Extraction.CM.fourValue S (fun i => Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) ≠ 0) : |
| 102 | ∃ (f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver) |
| 103 | (n : Fin 4 → ℕ), |
| 104 | (∀ i, 0 < n i) ∧ |
| 105 | (∀ i, (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (f i)).hom.comp |
| 106 | (R i).comparison.toLinearMap = (n i : ℚ) • u i) ∧ |
| 107 | (∀ i, Extraction.CM.pulledEmbedding K v R S.variety f i = |
| 108 | (n i : ℂ) • Extraction.CM.hodgeLineImage K S.variety (u i) (Extraction.CM.slotLabel K i)) ∧ |
| 109 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 110 | classical |
| 111 | choose n hnpos f hf using fun i => surface_hodge_map_algebraic |
| 112 | hDegreeTwo hConstruction hHodgeComparison (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i)) (R i) S H hH (u i) (hu i) |
| 113 | let r : Fin 4 → ℚ := fun i => (n i : ℚ)⁻¹ |
| 114 | have hnu (i : Fin 4) : (n i : ℚ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.ne_of_gt (hnpos i)) |
| 115 | have hr : ∀ i, u i = r i • |
| 116 | ((Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (f i)).hom.comp (R i).comparison.toLinearMap) := by |
| 117 | intro i |
| 118 | rw [hf i, smul_smul, inv_mul_cancel₀ (hnu i), one_smul] |
| 119 | obtain ⟨D, hD, k, hk, hclear, hnonzero⟩ := |
| 120 | Denominators.CM.realized_hodge_term_nonzero K v R S f u r hr hn |
| 121 | refine ⟨f, n, hnpos, hf, ?_, hnonzero⟩ |
| 122 | intro i |
| 123 | have hline := Denominators.CM.hodgeLineImage_rational_pullback K v R S f u r hr i |
| 124 | rw [hline, smul_smul] |
| 125 | have hc : (n i : ℂ) * (r i : ℂ) = 1 := by |
| 126 | change (n i : ℂ) * (((n i : ℚ)⁻¹ : ℚ) : ℂ) = 1 |
| 127 | rw [Rat.cast_inv, Rat.cast_natCast, mul_inv_cancel₀] |
| 128 | exact Nat.cast_ne_zero.mpr (Nat.ne_of_gt (hnpos i)) |
| 129 | rw [hc, one_smul] |
| 130 | |
| 131 | /-- Independent conditional ThetaCycle assembly on a given native surface and its |
| 132 | derived wedge data. Global surface and CM-extraction existence are not inputs |
| 133 | to the accepted main target, and that target is neither changed nor invoked. -/ |
| 134 | theorem algebraic_maps_of_wedge_data |
| 135 | (hDegreeTwo : WeightOneInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) (hHodgeComparison : DegreeTwo.Transport.Constructions.HodgeComparisonInput) |
| 136 | (S : Cm.ProjectiveSurface) |
| 137 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (S.variety.rationalCohomology 1)) |
| 138 | (hH : DegreeTwo.Transport.Constructions.IsCanonicalH1 S.variety H) |
| 139 | (Θ : Fin 4 → Submodule ℂ (S.variety.complexCohomology 1)) |
| 140 | (hCM : ∀ i, Θ i ≤ Cm.cmLineSpan K S.variety H (v i) (Extraction.CM.slotLabel K i)) |
| 141 | (ξ ζ : S.variety.complexCohomology 2) |
| 142 | (hξ : ξ ∈ Cm.wedgeSpan S.variety (Θ 0) (Θ 1)) |
| 143 | (hη : ζ ∈ Cm.wedgeSpan S.variety (Θ 2) (Θ 3)) |
| 144 | (hn : S.evaluate (Cm.cup S.variety 2 2 ξ ζ) ≠ 0) : |
| 145 | ∃ f : (i : Fin 4) → S.variety.toOver ⟶ (R i).abelianVariety.toOver, |
| 146 | S.evaluate (Cm.fourClass K v R S.variety f) ≠ 0 := by |
| 147 | obtain ⟨u, hu, hterm⟩ := Extraction.CM.exists_hodge_term_of_wedge_spans K v S H Θ hCM ξ ζ hξ hη hn |
| 148 | obtain ⟨f, n, hnpos, hQ, hC, hnonzero⟩ := |
| 149 | algebraic_maps_of_hodge_term K v R hDegreeTwo hConstruction hHodgeComparison S H hH u hu hterm |
| 150 | exact ⟨f, hnonzero⟩ |
| 151 | |
| 152 | end |
| 153 | |
| 154 | /-! DegreeTwo's accepted conditional weight-one clause at |
| 155 | 8f9a5322070d96e94664a78a4b3c19806875f1c2. Its HolomorphicAlgebraicity, Construction, and HodgeComparison conditions |
| 156 | remain explicit. The ThetaCycle target concerns maps and degree-one pullbacks; |
| 157 | DegreeTwo's separate degree-two cycle-existence clause is not used by this adapter. -/ |
| 158 | |
| 159 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions |
| 160 | |
| 161 | def ConditionalWeightOneInput : Prop := |
| 162 | DegreeTwo.Transport.Constructions.HolomorphicAlgebraicityInput → DegreeTwo.Transport.Constructions.ConstructionInput → DegreeTwo.Transport.Constructions.HodgeComparisonInput → WeightOneInput |
| 163 | |
| 164 | theorem p23_weight_one_of_conditional (hDegreeTwo : ConditionalWeightOneInput) |
| 165 | (hHolomorphicAlgebraicity : DegreeTwo.Transport.Constructions.HolomorphicAlgebraicityInput) (hConstruction : DegreeTwo.Transport.Constructions.ConstructionInput) (hHodgeComparison : DegreeTwo.Transport.Constructions.HodgeComparisonInput) : WeightOneInput := |
| 166 | hDegreeTwo hHolomorphicAlgebraicity hConstruction hHodgeComparison |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Albanese.CM |