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.Characters |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate |
| 3 | |
| 4 | /-! # Chosen Characters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenCharacters.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Algebraic character lifts for the complex embedding already chosen |
| 11 | by CMPoints. Finite-field automorphisms lift through this same embedding. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Characters.CM |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.GaloisLift |
| 15 | |
| 16 | def embeddedClosure (j : AlgebraicClosure ℚ →+* ℂ) : |
| 17 | AlgebraicClosure ℚ →ₐ[ℚ] Coefficients.CM.algebraicField := by |
| 18 | let : IsAlgClosure ℚ (AlgebraicClosure ℚ) := AlgebraicClosure.instIsAlgClosure ℚ |
| 19 | exact j.toRatAlgHom.codRestrict Coefficients.CM.algebraicField.toSubalgebra |
| 20 | (fun a => mem_algebraicClosure_iff.mpr |
| 21 | ((Algebra.IsAlgebraic.isAlgebraic (R := ℚ) a).algHom j.toRatAlgHom)) |
| 22 | |
| 23 | def chosenClosureEquiv (j : AlgebraicClosure ℚ →+* ℂ) : |
| 24 | AlgebraicClosure ℚ ≃ₐ[ℚ] Coefficients.CM.algebraicField := by |
| 25 | let : IsAlgClosure ℚ (AlgebraicClosure ℚ) := AlgebraicClosure.instIsAlgClosure ℚ |
| 26 | exact AlgEquiv.ofBijective (embeddedClosure j) |
| 27 | (Algebra.IsAlgebraic.algHom_bijective₂ (embeddedClosure j) Characters.CM.closureEquiv.symm.toAlgHom).1 |
| 28 | |
| 29 | theorem chosenClosureEquiv_apply (j : AlgebraicClosure ℚ →+* ℂ) (a : AlgebraicClosure ℚ) : |
| 30 | (chosenClosureEquiv j a : ℂ) = j a := rfl |
| 31 | |
| 32 | theorem chosenClosureEquiv_inverse (j : AlgebraicClosure ℚ →+* ℂ) (a : Coefficients.CM.algebraicField) : |
| 33 | j ((chosenClosureEquiv j).symm a) = (a : ℂ) := |
| 34 | congrArg (fun a : Coefficients.CM.algebraicField => (a : ℂ)) ((chosenClosureEquiv j).apply_symm_apply a) |
| 35 | |
| 36 | variable {U H : Type*} [AddCommGroup U] [Module ℚ U] [FiniteDimensional ℚ U] |
| 37 | [CommRing H] [Algebra ℚ H] |
| 38 | |
| 39 | def chosenCharacter (j : AlgebraicClosure ℚ →+* ℂ) |
| 40 | (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 41 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) : |
| 42 | H →ₐ[ℚ] AlgebraicClosure ℚ := |
| 43 | (chosenClosureEquiv j).symm.toAlgHom.comp (Characters.CM.algebraicCharacter T χ hχ) |
| 44 | |
| 45 | theorem chosenCharacter_apply (j : AlgebraicClosure ℚ →+* ℂ) |
| 46 | (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 47 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) (h : H) : |
| 48 | j (chosenCharacter j T χ hχ h) = χ h := |
| 49 | chosenClosureEquiv_inverse j (Characters.CM.algebraicCharacter T χ hχ h) |
| 50 | |
| 51 | theorem chosenCharacter_jointSpace (j : AlgebraicClosure ℚ →+* ℂ) |
| 52 | (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 53 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) : |
| 54 | HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) |
| 55 | (fun h => j (chosenCharacter j T χ hχ h)) = |
| 56 | HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ := by |
| 57 | simp only [chosenCharacter_apply] |
| 58 | |
| 59 | def chosenAutomorphism (j : AlgebraicClosure ℚ →+* ℂ) (τ : Gal(Coefficients.CM.algebraicField/ℚ)) : |
| 60 | Gal(AlgebraicClosure ℚ/ℚ) := |
| 61 | (chosenClosureEquiv j).trans (τ.trans (chosenClosureEquiv j).symm) |
| 62 | |
| 63 | theorem chosenAutomorphism_apply (j : AlgebraicClosure ℚ →+* ℂ) |
| 64 | (τ : Gal(Coefficients.CM.algebraicField/ℚ)) (a : AlgebraicClosure ℚ) : |
| 65 | j (chosenAutomorphism j τ a) = (τ (chosenClosureEquiv j a) : ℂ) := |
| 66 | chosenClosureEquiv_inverse j _ |
| 67 | |
| 68 | theorem chosenAutomorphism_character (j : AlgebraicClosure ℚ →+* ℂ) |
| 69 | (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → Coefficients.CM.algebraicField) |
| 70 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) (fun h => (χ h : ℂ)) ≠ ⊥) |
| 71 | (τ : Gal(Coefficients.CM.algebraicField/ℚ)) (h : H) : |
| 72 | j (chosenAutomorphism j τ (chosenCharacter j T (fun h => (χ h : ℂ)) hχ h)) = |
| 73 | (τ (χ h) : ℂ) := by |
| 74 | rw [chosenAutomorphism_apply] |
| 75 | apply congrArg (fun a : Coefficients.CM.algebraicField => (τ a : ℂ)) |
| 76 | apply Subtype.ext |
| 77 | exact (chosenClosureEquiv_apply j _).trans (chosenCharacter_apply j T _ hχ h) |
| 78 | |
| 79 | /-- The automorphism lift respects the chosen complex embedding on every |
| 80 | element of the finite coefficient field. -/ |
| 81 | theorem chosen_conjugate_lift (j : AlgebraicClosure ℚ →+* ℂ) |
| 82 | (K : IntermediateField ℚ ℂ) [NumberField K] (σ : Gal(K/ℚ)) : |
| 83 | ∃ τ : Gal(AlgebraicClosure ℚ/ℚ), ∀ a : K, |
| 84 | j (τ ((chosenClosureEquiv j).symm |
| 85 | (IntermediateField.inclusion (ScalarConjugate.CM.GaloisLift.le_algebraicField K) a))) = (σ a : ℂ) := by |
| 86 | obtain ⟨τ, hτ⟩ := ScalarConjugate.CM.GaloisLift.exists_algebraic_lift K σ |
| 87 | let e := chosenClosureEquiv j |
| 88 | refine ⟨e.trans (τ.trans e.symm), ?_⟩ |
| 89 | intro a |
| 90 | change j (e.symm (τ (e (e.symm _)))) = _ |
| 91 | rw [e.apply_symm_apply, chosenClosureEquiv_inverse] |
| 92 | exact hτ a |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenCharacters.CM |