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.Definitions |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.Products |
| 3 | |
| 4 | /-! # Switch -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Switch.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The CycleCoefficients input is the full committed proposition, copied as a proposition |
| 12 | definition. The statement import supplies only CMReduction's switch definition; |
| 13 | its unproved theorem is never used. Product existence is constructed using |
| 14 | native scheme products, rather than supplied as a new assumption. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | def CycleCoefficientsInput : Prop := |
| 20 | ∀ (E : IntermediateField ℚ ℂ) |
| 21 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 22 | (v : Fin 4 → |
| 23 | ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) |
| 24 | (_hbalance : ∀ τ : Gal(E/ℚ), |
| 25 | ComplexMultiplication.SignSwitch.CM.signValue ((v 0).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 1).val τ) = |
| 26 | ComplexMultiplication.SignSwitch.CM.signValue ((v 2).val τ) + ComplexMultiplication.SignSwitch.CM.signValue ((v 3).val τ)) |
| 27 | (A : Fin 4 → ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 28 | (e : ∀ i, E ≃ₗ[ℚ] (A i).variety.rationalCohomology 1) |
| 29 | (_hhol : ∀ i, |
| 30 | ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i)).holomorphic).map |
| 31 | ((e i).toLinearMap.baseChange ℂ) = (A i).h1Holomorphic) |
| 32 | (_hanti : ∀ i, |
| 33 | ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i)).antiholomorphic).map |
| 34 | ((e i).toLinearMap.baseChange ℂ) = (A i).h1Antiholomorphic) |
| 35 | (P : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 36 | (π : ∀ i, P.toOver ⟶ (A i).toOver) |
| 37 | (_hproduct : IsLimit (Fan.mk P.toOver π)), |
| 38 | let labels : Fin 4 → Gal(E/ℚ) := |
| 39 | fun i => if i.val < 2 then 1 else ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E |
| 40 | let x : Fin 4 → P.variety.complexCohomology 1 := |
| 41 | fun i => Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (π i) |
| 42 | ((A i).h1ScalarExtension ((e i).toLinearMap.baseChange ℂ |
| 43 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector E (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv E (labels i))))) |
| 44 | let ξ : P.variety.complexCohomology 4 := |
| 45 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) (Betti.Scheme.schemePointSpace P.toOver) 2 2 |
| 46 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) |
| 47 | (Betti.Scheme.schemePointSpace P.toOver) 1 1 (x 0) (x 1)) |
| 48 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℂ) |
| 49 | (Betti.Scheme.schemePointSpace P.toOver) 1 1 (x 2) (x 3)) |
| 50 | ξ ≠ 0 ∧ |
| 51 | Submodule.span ℂ ({ξ} : Set (P.variety.complexCohomology 4)) ≤ |
| 52 | P.variety.complexGeometricAlgebraicClasses 2 |
| 53 | |
| 54 | theorem map_submodule_of_comparison |
| 55 | {U V : Type*} [AddCommGroup U] [Module ℚ U] |
| 56 | [AddCommGroup V] [Module ℚ V] |
| 57 | (e : U ≃ₗ[ℚ] V) |
| 58 | (S : Submodule ℂ (ComplexMultiplication.WeightOne.CM.Complexification U)) |
| 59 | (T : Submodule ℂ (ComplexMultiplication.WeightOne.CM.Complexification V)) |
| 60 | (h : ∀ x, e.toLinearMap.baseChange ℂ x ∈ T ↔ x ∈ S) : |
| 61 | S.map (e.toLinearMap.baseChange ℂ) = T := by |
| 62 | ext y |
| 63 | constructor |
| 64 | · rintro ⟨x, hx, rfl⟩ |
| 65 | exact (h x).mpr hx |
| 66 | · intro hy |
| 67 | obtain ⟨x, rfl⟩ := (e.baseChange ℚ ℂ U V).surjective y |
| 68 | exact ⟨x, (h x).mp hy, rfl⟩ |
| 69 | |
| 70 | /-- The supplied CycleCoefficients proposition gives the exact switch premise of CMReduction. -/ |
| 71 | theorem fourFactorSwitchAlgebraicity_of_CycleCoefficients (h_CycleCoefficients : CycleCoefficientsInput) |
| 72 | (E : IntermediateField ℚ ℂ) |
| 73 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] : |
| 74 | Definitions.CM.FourFactorSwitchAlgebraicity E := by |
| 75 | intro v hv R |
| 76 | let A : Fin 4 → ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety := fun i => (R i).abelianVariety |
| 77 | let B := CMVariety.Products.CM.Abelian.fourProduct A |
| 78 | refine ⟨B, CMVariety.Products.CM.Abelian.fourProjection A, ⟨CMVariety.Products.CM.Abelian.fourProductIsLimit A⟩, ?_⟩ |
| 79 | have hhol : ∀ i, |
| 80 | ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i)).holomorphic).map |
| 81 | ((R i).comparison.toLinearMap.baseChange ℂ) = (A i).h1Holomorphic := |
| 82 | fun i => map_submodule_of_comparison (R i).comparison _ _ (R i).holomorphic |
| 83 | have hanti : ∀ i, |
| 84 | ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E (v i)).antiholomorphic).map |
| 85 | ((R i).comparison.toLinearMap.baseChange ℂ) = (A i).h1Antiholomorphic := |
| 86 | fun i => map_submodule_of_comparison (R i).comparison _ _ (R i).antiholomorphic |
| 87 | have h := h_CycleCoefficients E v hv A (fun i => (R i).comparison) hhol hanti |
| 88 | B (CMVariety.Products.CM.Abelian.fourProjection A) (CMVariety.Products.CM.Abelian.fourProductIsLimit A) |
| 89 | exact h.2 (Submodule.subset_span (Set.mem_singleton _)) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.Switch.CM.Construction |