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.ThetaCycle.FieldAdelicCharacter |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Characters |
| 3 | import Mathlib.NumberTheory.NumberField.InfinitePlace.TotallyRealComplex |
| 4 | import Mathlib.Algebra.Order.Archimedean.Real.Hom |
| 5 | |
| 6 | /-! # Real Character Normalization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealCharacterNormalization.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! ThetaCycle: exact standard-exponential normalization at every real place |
| 13 | of a totally real number field. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open _root_.NumberField _root_.NumberField.InfinitePlace _root_.NumberField.InfinitePlace.Completion |
| 17 | open OAI.RepresentationTheory.Weil.AdelicSplitting.Characters.Construction |
| 18 | |
| 19 | variable (F : Type) [Field F] [NumberField F] [IsTotallyReal F] |
| 20 | |
| 21 | def realPlaceEmbeddingEquiv : InfinitePlace F ≃ (F →ₐ[ℚ] ℂ) := |
| 22 | (Equiv.ofBijective (InfinitePlace.embedding (K := F)) |
| 23 | ⟨InfinitePlace.embedding_injective F, fun φ => |
| 24 | ⟨InfinitePlace.mk φ, |
| 25 | InfinitePlace.embedding_mk_eq_of_isReal (IsTotallyReal.complexEmbedding_isReal φ)⟩⟩).trans |
| 26 | (RingHom.equivRatAlgHom F ℂ) |
| 27 | |
| 28 | theorem field_trace_real_places (q : F) : |
| 29 | (Algebra.trace ℚ F q : ℝ) = |
| 30 | ∑ v : InfinitePlace F, embedding_of_isReal (IsTotallyReal.isReal v) q := by |
| 31 | apply Complex.ofReal_injective |
| 32 | rw [Complex.ofReal_sum] |
| 33 | simp only [embedding_of_isReal_apply] |
| 34 | change algebraMap ℚ ℂ (Algebra.trace ℚ F q) = |
| 35 | ∑ v : InfinitePlace F, realPlaceEmbeddingEquiv F v q |
| 36 | rw [trace_eq_sum_embeddings ℂ] |
| 37 | exact (Equiv.sum_comp (realPlaceEmbeddingEquiv F) (fun σ : F →ₐ[ℚ] ℂ => σ q)).symm |
| 38 | |
| 39 | theorem infinite_field_trace_real_places (a : InfiniteAdeleRing F) : |
| 40 | ArchimedeanTrace.CM.infiniteFieldTrace F a = |
| 41 | ∑ v : InfinitePlace F, extensionEmbeddingOfIsReal (IsTotallyReal.isReal v) (a v) := by |
| 42 | have hc : Continuous (fun a : InfiniteAdeleRing F => |
| 43 | ∑ v : InfinitePlace F, extensionEmbeddingOfIsReal (IsTotallyReal.isReal v) (a v)) := |
| 44 | continuous_finsetSum _ (fun v _ => |
| 45 | (isometry_extensionEmbeddingOfIsReal (IsTotallyReal.isReal v)).continuous.comp |
| 46 | (continuous_apply v)) |
| 47 | have he := (InfiniteAdeleRing.denseRange_algebraMap F).equalizer |
| 48 | (ArchimedeanTrace.CM.infinite_field_trace_continuous F) hc (funext fun q => by |
| 49 | change ArchimedeanTrace.CM.infiniteFieldTrace F (algebraMap F (InfiniteAdeleRing F) q) = |
| 50 | ∑ v : InfinitePlace F, extensionEmbeddingOfIsReal (IsTotallyReal.isReal v) |
| 51 | (algebraMap F v.Completion q) |
| 52 | rw [ArchimedeanTrace.CM.infinite_field_trace_rational, field_trace_real_places] |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro v _ |
| 55 | simp) |
| 56 | exact congrFun he a |
| 57 | |
| 58 | theorem infinite_field_trace_real_single (v : InfinitePlace F) (t : v.Completion) : |
| 59 | ArchimedeanTrace.CM.infiniteFieldTrace F (Pi.single v t) = |
| 60 | extensionEmbeddingOfIsReal (IsTotallyReal.isReal v) t := by |
| 61 | calc |
| 62 | ArchimedeanTrace.CM.infiniteFieldTrace F (Pi.single v t) = |
| 63 | ∑ w : InfinitePlace F, extensionEmbeddingOfIsReal (IsTotallyReal.isReal w) (Pi.single v t w) := |
| 64 | infinite_field_trace_real_places F _ |
| 65 | _ = extensionEmbeddingOfIsReal (IsTotallyReal.isReal v) t := ?_ |
| 66 | rw [Finset.sum_eq_single v] |
| 67 | · rw [Pi.single_eq_same] |
| 68 | · intro w _ hw |
| 69 | rw [Pi.single_eq_of_ne hw, map_zero] |
| 70 | · simp |
| 71 | |
| 72 | theorem field_adelic_character_standard_real (v : InfinitePlace F) (t : ℝ) : |
| 73 | RepresentationTheory.Weil.AdelicSplitting.Characters.Construction.localAdditiveCharacter F (FieldAdelicCharacter.CM.fieldAdelicCharacter F) (.inl v) |
| 74 | ((ringEquivRealOfIsReal (IsTotallyReal.isReal v)).symm t) = |
| 75 | Complex.exp ((2 * (Real.pi : ℂ) * Complex.I) * (t : ℂ)) := by |
| 76 | refine (FieldAdelicCharacter.CM.field_adelic_character_infinite F _).trans ?_ |
| 77 | refine (congrArg RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (infinite_field_trace_real_single F v _)).trans ?_ |
| 78 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter |
| 79 | (ringEquivRealOfIsReal (IsTotallyReal.isReal v) |
| 80 | ((ringEquivRealOfIsReal (IsTotallyReal.isReal v)).symm t)) = _ |
| 81 | rw [RingEquiv.apply_symm_apply, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_apply] |
| 82 | congr 1 |
| 83 | push_cast |
| 84 | ring |
| 85 | |
| 86 | omit [NumberField F] in |
| 87 | theorem real_completion_coordinate_unique (v : InfinitePlace F) (e : v.Completion ≃+* ℝ) : |
| 88 | e = ringEquivRealOfIsReal (IsTotallyReal.isReal v) := by |
| 89 | ext x |
| 90 | have h := Real.ringHom_apply |
| 91 | ((ringEquivRealOfIsReal (IsTotallyReal.isReal v)).toRingHom.comp e.symm.toRingHom) (e x) |
| 92 | change ringEquivRealOfIsReal (IsTotallyReal.isReal v) (e.symm (e x)) = e x at h |
| 93 | rw [RingEquiv.symm_apply_apply] at h |
| 94 | exact h.symm |
| 95 | |
| 96 | theorem field_adelic_character_standard_real_coordinate (v : InfinitePlace F) |
| 97 | (e : v.Completion ≃+* ℝ) (t : ℝ) : |
| 98 | RepresentationTheory.Weil.AdelicSplitting.Characters.Construction.localAdditiveCharacter F (FieldAdelicCharacter.CM.fieldAdelicCharacter F) (.inl v) (e.symm t) = |
| 99 | Complex.exp ((2 * (Real.pi : ℂ) * Complex.I) * (t : ℂ)) := by |
| 100 | rw [real_completion_coordinate_unique F v e] |
| 101 | exact field_adelic_character_standard_real F v t |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealCharacterNormalization.CM |