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.AbelianScheme.CentralAction.PoweredSideFinite |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.FiniteOrderAlgebra |
| 3 | |
| 4 | /-! # Moduli Actions Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.ModuliActionsFinite.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual graph automorphisms for T3 and C0 have finite order, |
| 11 | with the specified q-scalar clearing convention retained. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.NumberField |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [IsCMField E] |
| 16 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 17 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) |
| 18 | (hgood : D.IsGoodCompletelySplitPrime) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (A : Interface.Construction.ActionData D) |
| 19 | (hTateComparison : Interface.Construction.Conclusion D hgeometry hgood hIsogenyQuotient A) |
| 20 | |
| 21 | theorem centralModuliMap_eq_some_nat (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) |
| 22 | (ha : ∀ v i, t.val.exponent v i = a v) : |
| 23 | ∃ (aN : Fin s → ℕ) (hN : ℕ) (hNbound : ∀ v, aN v ≤ hN), |
| 24 | PEL.Construction.centralModuliMap D hgeometry hIsogenyQuotient hTateComparison.flags t a ha = |
| 25 | Automorphisms.Construction.natCentralMap D hgeometry hgood hIsogenyQuotient A hTateComparison aN hN hNbound := by |
| 26 | let aN : Fin s → ℕ := fun v => (a v).toNat |
| 27 | let hN := t.val.multiplier.toNat |
| 28 | have hnonneg (v : Fin s) : 0 ≤ a v := by |
| 29 | rw [← ha v 0] |
| 30 | exact (t.property.2 v 0).1 |
| 31 | have hab : ∀ v, aN v ≤ hN := by |
| 32 | intro v |
| 33 | apply Int.toNat_le_toNat |
| 34 | rw [← ha v 0] |
| 35 | exact (t.property.2 v 0).2 |
| 36 | have ht : t = Automorphisms.Construction.natCentralType aN hN hab := by |
| 37 | apply Subtype.ext |
| 38 | apply Automorphisms.Construction.localType_ext |
| 39 | · exact (Int.toNat_of_nonneg t.property.1).symm |
| 40 | · funext v i |
| 41 | rw [ha v i] |
| 42 | exact (Int.toNat_of_nonneg (hnonneg v)).symm |
| 43 | have := PEL.Construction.central_correspondence_source_isIso D hgeometry hIsogenyQuotient hTateComparison.flags t a ha |
| 44 | refine ⟨aN, hN, hab, ?_⟩ |
| 45 | apply (cancel_epi (D.correspondence t).source).mp |
| 46 | rw [PEL.Construction.centralModuliMap_source, ht] |
| 47 | exact (PEL.Construction.centralModuliMap_source D hgeometry hIsogenyQuotient hTateComparison.flags (Automorphisms.Construction.natCentralType aN hN hab) |
| 48 | (fun v => aN v) (fun _ _ => rfl)).symm |
| 49 | |
| 50 | theorem centralModuliAutomorphism_isOfFinOrder |
| 51 | (hdegree : Module.finrank ℚ E = 2 * s) (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) |
| 52 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) (ha : ∀ v i, t.val.exponent v i = a v) : |
| 53 | IsOfFinOrder (Automorphisms.Construction.centralModuliAutomorphism D hgeometry hgood hIsogenyQuotient A hTateComparison t a ha) := by |
| 54 | apply FiniteOrderAlgebra.Construction.aut_finite_of_hom |
| 55 | change IsOfFinOrder (End.of (PEL.Construction.centralModuliMap D hgeometry hIsogenyQuotient hTateComparison.flags t a ha)) |
| 56 | obtain ⟨aN, hN, hbound, he⟩ := centralModuliMap_eq_some_nat D hgeometry hgood hIsogenyQuotient A hTateComparison t a ha |
| 57 | rw [he] |
| 58 | exact PoweredSideFinite.Construction.natCentralMap_isOfFinOrder D hgeometry hgood hIsogenyQuotient A hTateComparison hdegree hFiniteness aN hN hbound |
| 59 | |
| 60 | theorem centralModuliAutomorphism_commute_shift |
| 61 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) (ha : ∀ v i, t.val.exponent v i = a v) : |
| 62 | Commute (Automorphisms.Construction.centralModuliAutomorphism D hgeometry hgood hIsogenyQuotient A hTateComparison t a ha) A.markingShift := by |
| 63 | apply Iso.ext |
| 64 | change A.markingShift.hom ≫ PEL.Construction.centralModuliMap D hgeometry hIsogenyQuotient hTateComparison.flags t a ha = |
| 65 | PEL.Construction.centralModuliMap D hgeometry hIsogenyQuotient hTateComparison.flags t a ha ≫ A.markingShift.hom |
| 66 | obtain ⟨aN, hN, hbound, he⟩ := centralModuliMap_eq_some_nat D hgeometry hgood hIsogenyQuotient A hTateComparison t a ha |
| 67 | rw [he, ← Automorphisms.Construction.natCentralMap_scalar D hgeometry hgood hIsogenyQuotient A hTateComparison] |
| 68 | exact PoweredSideFinite.Construction.natCentralMap_commute D hgeometry hgood hIsogenyQuotient A hTateComparison aN (fun _ => 1) hN 2 |
| 69 | hbound (by intro; omega) |
| 70 | |
| 71 | include hTateComparison in |
| 72 | theorem exists_finite_central_moduli_automorphisms |
| 73 | (hdegree : Module.finrank ℚ E = 2 * s) (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) |
| 74 | (active : Fin s) (fullSide : Fin s → Bool) : |
| 75 | ∃ (σT σC : Aut D.space), |
| 76 | Interface.Construction.CorrespondenceIsGraph (D.correspondence (CentralRepresentatives.Construction.clearedT3Type active)) (σT ≪≫ A.markingShift) ∧ |
| 77 | Interface.Construction.CorrespondenceIsGraph (D.correspondence (CentralRepresentatives.Construction.c0IntegralType active fullSide)) σC ∧ |
| 78 | IsOfFinOrder σT ∧ IsOfFinOrder σC := by |
| 79 | let eT := Automorphisms.Construction.centralModuliAutomorphism D hgeometry hgood hIsogenyQuotient A hTateComparison (CentralRepresentatives.Construction.clearedT3Type active) |
| 80 | (fun v => CentralRepresentatives.Construction.t3Exponents active v + 1) (fun _ _ => rfl) |
| 81 | let eC := Automorphisms.Construction.centralModuliAutomorphism D hgeometry hgood hIsogenyQuotient A hTateComparison (CentralRepresentatives.Construction.c0IntegralType active fullSide) |
| 82 | (CentralRepresentatives.Construction.c0Exponents active fullSide) (fun _ _ => rfl) |
| 83 | have hT : IsOfFinOrder eT := centralModuliAutomorphism_isOfFinOrder |
| 84 | D hgeometry hgood hIsogenyQuotient A hTateComparison hdegree hFiniteness _ _ _ |
| 85 | have hC : IsOfFinOrder eC := centralModuliAutomorphism_isOfFinOrder |
| 86 | D hgeometry hgood hIsogenyQuotient A hTateComparison hdegree hFiniteness _ _ _ |
| 87 | let shift : Aut D.space := A.markingShift |
| 88 | have hS : IsOfFinOrder shift := by |
| 89 | apply FiniteOrderAlgebra.Construction.aut_finite_of_hom |
| 90 | change IsOfFinOrder (End.of A.markingShift.hom) |
| 91 | rw [← Automorphisms.Construction.natCentralMap_scalar D hgeometry hgood hIsogenyQuotient A hTateComparison] |
| 92 | exact PoweredSideFinite.Construction.natCentralMap_isOfFinOrder D hgeometry hgood hIsogenyQuotient A hTateComparison hdegree hFiniteness |
| 93 | (fun _ => 1) 2 (by intro; omega) |
| 94 | have hcomm : Commute eT A.markingShift := |
| 95 | centralModuliAutomorphism_commute_shift D hgeometry hgood hIsogenyQuotient A hTateComparison _ _ _ |
| 96 | refine ⟨eT ≪≫ A.markingShift.symm, eC, ?_, ?_, ?_, hC⟩ |
| 97 | · have he : (eT ≪≫ A.markingShift.symm) ≪≫ A.markingShift = eT := by |
| 98 | apply Iso.ext |
| 99 | change (eT.hom ≫ A.markingShift.inv) ≫ A.markingShift.hom = eT.hom |
| 100 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 101 | rw [he] |
| 102 | exact Automorphisms.Construction.centralModuliAutomorphism_graph D hgeometry hgood hIsogenyQuotient A hTateComparison _ _ _ |
| 103 | · exact Automorphisms.Construction.centralModuliAutomorphism_graph D hgeometry hgood hIsogenyQuotient A hTateComparison _ _ _ |
| 104 | · exact hcomm.symm.inv_left.isOfFinOrder_mul hS.inv hT |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.ModuliActionsFinite.Construction |