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.AbelianModuli.ReferenceFamily.Reference.PrescribedRanks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters |
| 3 | |
| 4 | /-! # Lie Signature -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Reference.LieSignature |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original reference action has TateComparison's literal geometric |
| 11 | Lie signature, including its base-ring action on global sections. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters |
| 18 | |
| 19 | theorem integralAction_ext {R : Type} [CommRing R] {S : Scheme} {g : ℕ} |
| 20 | {A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {ρ σ : AlgebraicGeometry.AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A} |
| 21 | (h : ∀ a, ρ.map a = σ.map a) : ρ = σ := by |
| 22 | cases ρ |
| 23 | cases σ |
| 24 | congr |
| 25 | exact funext h |
| 26 | |
| 27 | theorem actionFromEnd_baseChange {R : Type} [CommRing R] {S T : Scheme} {g : ℕ} |
| 28 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (a : R →+* AlgebraicGeometry.AbelianScheme.TateComparison.End.IntegralEnd A.scheme) (t : T ⟶ S) : |
| 29 | AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters.actionFromEnd ((AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endBaseChange A.scheme t).comp a) = (AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters.actionFromEnd a).pullback t := by |
| 30 | apply integralAction_ext |
| 31 | intro r |
| 32 | exact AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endBaseChange_schemeMap A.scheme t (a r) |
| 33 | |
| 34 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 35 | {s : ℕ} {P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {z : P.domain} |
| 36 | {F : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P z} {hP : P.IsAdmissible} |
| 37 | (M : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel F hP) |
| 38 | |
| 39 | def referenceComplexBaseAction (P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) : |
| 40 | NumberField.RingOfIntegers E →+* Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) := |
| 41 | (Scheme.ΓSpecIso (.of ℂ)).inv.hom.comp |
| 42 | (P.μ.comp (algebraMap (NumberField.RingOfIntegers E) E)) |
| 43 | |
| 44 | theorem reference_geometric_lie_signature |
| 45 | (k : Type) [Field k] [IsAlgClosed k] (t : Spec (.of k) ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 46 | (τ : E ≃ₐ[ℚ] E) : |
| 47 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.HasLieRank (M.abelianScheme.pullback t) |
| 48 | (AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters.actionFromEnd ((AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endBaseChange M.abelianScheme.scheme t).comp M.functorAction)) |
| 49 | (((Scheme.ΓSpecIso (.of k)).hom.hom.comp (t.appTop.hom.comp (referenceComplexBaseAction P))).comp |
| 50 | (NumberField.RingOfIntegers.mapAlgEquiv τ).toRingHom) (P.lieRank τ) := by |
| 51 | let j : ℂ →+* k := (Spec.preimage t).hom |
| 52 | have ht : Spec.map (CommRingCat.ofHom j) = t := Spec.map_preimage t |
| 53 | let : Algebra ℂ k := j.toAlgebra |
| 54 | have hr := M.hasGeometricLieRank k τ |
| 55 | have hbase : LieFieldTests.fieldBaseMap ℂ k = t := ht |
| 56 | rw [hbase] at hr |
| 57 | have haction : AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters.actionFromEnd ((AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endBaseChange M.abelianScheme.scheme t).comp M.functorAction) = |
| 58 | M.integralAction.pullback t := actionFromEnd_baseChange M.abelianScheme M.functorAction t |
| 59 | rw [haction] |
| 60 | have hchar : |
| 61 | ((Scheme.ΓSpecIso (.of k)).hom.hom.comp (t.appTop.hom.comp (referenceComplexBaseAction P))).comp |
| 62 | (NumberField.RingOfIntegers.mapAlgEquiv τ).toRingHom = |
| 63 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel.geometricCharacter k (P.μ.comp τ.toRingHom) := by |
| 64 | apply RingHom.ext |
| 65 | intro a |
| 66 | have hn := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_naturality (CommRingCat.ofHom j)) |
| 67 | ((Scheme.ΓSpecIso (.of ℂ)).inv (P.μ (τ (a : E)))) |
| 68 | rw [ht] at hn |
| 69 | change (Scheme.ΓSpecIso (.of k)).hom |
| 70 | (t.appTop ((Scheme.ΓSpecIso (.of ℂ)).inv (P.μ (τ (a : E))))) = j (P.μ (τ (a : E))) |
| 71 | exact hn.trans (congrArg j |
| 72 | ((Scheme.ΓSpecIso (.of ℂ)).commRingCatIsoToRingEquiv.apply_symm_apply _)) |
| 73 | rw [hchar] |
| 74 | exact hr |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.RepresentationTheory.Theta.Geometric.Reference.LieSignature |