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.Constructed.AdelicCharacter |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticLocal |
| 3 | |
| 4 | /-! # Local Character -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.LocalCharacter.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual local components of the constructed finite adelic |
| 11 | character. Every local component has exactly the integer ring as kernel. -/ |
| 12 | |
| 13 | open scoped Classical RestrictedProduct |
| 14 | open Filter |
| 15 | |
| 16 | def singleMap (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : v.adicCompletion ℚ →+ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf where |
| 17 | toFun := RestrictedProduct.single (fun w : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace => w.adicCompletionIntegers ℚ) v |
| 18 | map_zero' := RestrictedProduct.single_zero _ v |
| 19 | map_add' := RestrictedProduct.single_add _ v |
| 20 | |
| 21 | theorem singleMap_same (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (x : v.adicCompletion ℚ) : singleMap v x v = x := |
| 22 | RestrictedProduct.single_eq_same _ _ _ |
| 23 | |
| 24 | theorem singleMap_other (v w : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (h : w ≠ v) (x : v.adicCompletion ℚ) : |
| 25 | singleMap v x w = 0 := RestrictedProduct.single_eq_of_ne _ x h |
| 26 | |
| 27 | theorem singleMap_continuous (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : Continuous (singleMap v) := by |
| 28 | let f : v.adicCompletion ℚ → RestrictedProduct (fun w : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace => w.adicCompletion ℚ) |
| 29 | (fun w => (w.adicCompletionIntegers ℚ : Set (w.adicCompletion ℚ))) |
| 30 | (Filter.principal {w | w ≠ v}) := fun a => |
| 31 | ⟨Pi.single v a, by |
| 32 | rw [Filter.eventually_principal] |
| 33 | intro w hw |
| 34 | simp [Pi.single_eq_of_ne hw]⟩ |
| 35 | have hf : Continuous f := by |
| 36 | apply RestrictedProduct.continuous_rng_of_principal.mpr |
| 37 | exact continuous_single v |
| 38 | have hco : cofinite ≤ Filter.principal {w : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace | w ≠ v} := by |
| 39 | rw [Filter.le_principal_iff, Filter.mem_cofinite] |
| 40 | simp |
| 41 | exact (RestrictedProduct.continuous_inclusion hco).comp hf |
| 42 | |
| 43 | def character (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : AddChar (v.adicCompletion ℚ) ℂ := |
| 44 | Constructed.AdelicCharacter.CM.Finite.character.compAddMonoidHom (singleMap v) |
| 45 | |
| 46 | theorem character_apply (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (x : v.adicCompletion ℚ) : |
| 47 | character v x = Constructed.AdelicCharacter.CM.Finite.character (singleMap v x) := rfl |
| 48 | |
| 49 | theorem character_continuous (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : Continuous (character v) := |
| 50 | Constructed.AdelicCharacter.CM.Finite.character_continuous.comp (singleMap_continuous v) |
| 51 | |
| 52 | theorem character_unitary (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (x : v.adicCompletion ℚ) : |
| 53 | ‖character v x‖ = 1 := Constructed.AdelicCharacter.CM.Finite.character_unitary _ |
| 54 | |
| 55 | theorem character_eq_one_iff (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (x : v.adicCompletion ℚ) : |
| 56 | character v x = 1 ↔ x ∈ v.adicCompletionIntegers ℚ := by |
| 57 | rw [character_apply, Constructed.AdelicCharacter.CM.Finite.character_eq_one_iff] |
| 58 | constructor |
| 59 | · intro h |
| 60 | simpa only [singleMap_same] using h v |
| 61 | · intro hx w |
| 62 | by_cases hw : w = v |
| 63 | · subst w |
| 64 | simpa only [singleMap_same] using hx |
| 65 | · rw [singleMap_other v w hw] |
| 66 | exact (w.adicCompletionIntegers ℚ).zero_mem |
| 67 | |
| 68 | theorem character_nontrivial (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 69 | ∃ x : v.adicCompletion ℚ, character v x ≠ 1 := by |
| 70 | obtain ⟨q, hq⟩ := v.valuation_surjective ℚ (WithZero.exp 1) |
| 71 | refine ⟨algebraMap ℚ (v.adicCompletion ℚ) q, ?_⟩ |
| 72 | rw [ne_eq, character_eq_one_iff] |
| 73 | change ¬ Valued.v (algebraMap ℚ (v.adicCompletion ℚ) q) ≤ 1 |
| 74 | simp only [IsDedekindDomain.HeightOneSpectrum.algebraMap_adicCompletion, |
| 75 | Function.comp_apply, Algebra.algebraMap_self, RingHom.id_apply, |
| 76 | IsDedekindDomain.HeightOneSpectrum.valuedAdicCompletion_eq_valuation', hq] |
| 77 | rw [← WithZero.exp_zero, WithZero.exp_le_exp] |
| 78 | norm_num |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.LocalCharacter.CM |