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.HeckeCycles.MatchedLevelExtraction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LiftedRestriction |
| 4 | |
| 5 | /-! # Coefficient Extraction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.CoefficientExtraction.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Apply the full named CMExtraction specification to the actual coefficient |
| 12 | projectors, using their proved Hodge signs for algebraic-closure lifts. |
| 13 | The source predicate is not strengthened by this endpoint theorem. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.Projectors |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenCharacters.CM OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LiftedRestriction.ParameterChoices |
| 18 | |
| 19 | universe uV uI uPhi |
| 20 | |
| 21 | theorem extraction |
| 22 | (E F : IntermediateField ℚ ℂ) |
| 23 | [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 24 | [NumberField F] [IsGalois ℚ F] |
| 25 | (hEF : E ≤ F) (hFalg : F ≤ Coefficients.CM.algebraicField) |
| 26 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(E/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ)) (hv : v.val 1 = true) |
| 27 | (j : CMExtraction.ParameterChoices.Qbar →+* ℂ) (ιE : E →ₐ[ℚ] CMExtraction.ParameterChoices.Qbar) (hι : ∀ x : E, j (ιE x) = (x : ℂ)) |
| 28 | {V : Type uV} [AddCommGroup V] [Module ℚ V] (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure V) |
| 29 | {I : Type uI} [Fintype I] {Φ : Type uPhi} |
| 30 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification V) (p : I → F ⊗[ℚ] (V →ₗ[ℚ] V)) |
| 31 | (hid : ∀ i, (ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i)).comp |
| 32 | (ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i)) = ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i)) |
| 33 | (hHodge : ∀ i, ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i) ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) |
| 34 | (htheta : ∀ φ, theta φ ∈ H.holomorphic) |
| 35 | (hoccurs : ∀ i, ∃ φ, ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i) (theta φ) ≠ 0) |
| 36 | (hsum : ∀ φ, ∑ i, ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i) (theta φ) = theta φ) |
| 37 | (hconj : ∀ i (σ : Gal(F/ℚ)), |
| 38 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ F (V →ₗ[ℚ] V) σ (p i)) |
| 39 | ∃ τ : Gal(CMExtraction.ParameterChoices.Qbar/ℚ), |
| 40 | (∀ a : F, j (τ ((ChosenCharacters.CM.chosenClosureEquiv j).symm |
| 41 | (IntermediateField.inclusion hFalg a))) = (σ a : ℂ)) ∧ |
| 42 | (v.val (CMExtraction.ParameterChoices.restriction E ιE τ) = true → LinearMap.range Pσ ≤ H.holomorphic) ∧ |
| 43 | (v.val (CMExtraction.ParameterChoices.restriction E ιE τ) = false → LinearMap.range Pσ ≤ H.antiholomorphic)) |
| 44 | (hCMExtraction : MatchedLevelExtraction.CM.Construction.CMExtractionInput.{uV, uI, uPhi, uV}) : |
| 45 | ∀ φ, theta φ ∈ MatchedLevelExtraction.CM.Construction.lineImageSpan E v H := by |
| 46 | let hF := Coefficients.CM.all_embeddings_in_field E F hEF |
| 47 | let res := Coefficients.CM.coefficientRestriction E F hF |
| 48 | let P := fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients F V V (p i) |
| 49 | let A := fun i => LinearMap.range (ComplexMultiplication.HomBaseChange.CM.homBaseChange F V V (p i)) |
| 50 | have htypes : ∀ i σ, |
| 51 | (v.val (res σ) = true → CMExtraction.Definitions.CM.conjugateSpace F (A i) σ ≤ H.holomorphic) ∧ |
| 52 | (v.val (res σ) = false → CMExtraction.Definitions.CM.conjugateSpace F (A i) σ ≤ H.antiholomorphic) := by |
| 53 | intro i σ |
| 54 | obtain ⟨τ, hτ, hh, ha⟩ := hconj i σ |
| 55 | have hr := ScalarConjugate.CM.Projectors.conjugated_range_eq_conjugateSpace F (p i) σ |
| 56 | have he := CMExtraction.LiftedRestriction.ParameterChoices.lifted_coefficient_restriction E F hEF hFalg j ιE hι σ τ hτ |
| 57 | rw [he, hr] at hh ha |
| 58 | exact ⟨hh, ha⟩ |
| 59 | have h := MatchedLevelExtraction.CM.Construction.extraction_at_matched_level E F v hv hF res |
| 60 | (Coefficients.CM.coefficientRestriction_spec E F hF) V H I Φ theta P A hid |
| 61 | (fun i => Coefficients.CM.extended_range_eq_conjugateSpace F (p i)) hHodge htheta hoccurs hsum |
| 62 | (fun _ => (-3 / 2 : ℚ)) (fun _ => Or.inl rfl) (by |
| 63 | intro i σ |
| 64 | have ht := htypes i σ |
| 65 | cases hs : v.val (res σ) <;> norm_num [ComplexMultiplication.SignSwitch.CM.signValue, hs] at ht ⊢ <;> exact ht) |
| 66 | V H LinearMap.id (ComplexMultiplication.WeightOne.CM.isHodgeMap_id H) hCMExtraction |
| 67 | intro φ |
| 68 | simpa only [LinearMap.baseChange_id, LinearMap.id_apply] using h φ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.CoefficientExtraction.CM |