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.FrobeniusKernel.PrescribedBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PrescribedSourceIso |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.IntrinsicBlockSourceIso |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport |
| 5 | |
| 6 | /-! # Prescribed Source Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PrescribedSourceBaseChange.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The exact full-kernel comparison combines native field base change |
| 13 | with a full polarized source isomorphism. Intermediate chosen subgroups |
| 14 | are constructed by transport, retaining their finite Cartier coordinates. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 20 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 21 | variable {k k' : Type} [Field k] [IsAlgClosed k] [Field k'] [IsAlgClosed k'] |
| 22 | variable {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 24 | variable (B : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k'))) |
| 25 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 26 | variable (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) B.abelian) |
| 27 | variable (s : Spec (.of k') ⟶ Spec (.of k)) |
| 28 | variable (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback s) B) |
| 29 | variable (he : ∀ z : NumberField.RingOfIntegers E, |
| 30 | (ρ.pullback s).map z ≫ e.abelian.hom = e.abelian.hom ≫ σ.map z) |
| 31 | variable (n r : ℕ) (labels : (Fin r × Bool) ≃ Gal(E/ℚ)) |
| 32 | variable (H : ∀ v : Fin r, FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v, false)) n)) |
| 33 | variable (J : ∀ v : Fin r, FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k' (CMPointsAt.Construction.l45ChosenBlock j iota hsplit B σ (labels (v, false)) n)) |
| 34 | variable (eH : ∀ v, (Over.pullback s).obj (H v).group.X ≅ (J v).group.X) |
| 35 | variable (heH : ∀ v, (eH v).hom ≫ (J v).inclusion.hom.hom = |
| 36 | (Over.pullback s).map (H v).inclusion.hom.hom ≫ |
| 37 | (IntrinsicBlockBaseChange.Construction.l45NativeBlockBaseChangeIso j iota hsplit A.abelian ρ s n (labels (v, false))).hom.hom.hom ≫ |
| 38 | (PointsBlockPointsTransport.Construction.l45BlockMap j iota hsplit (A.pullback s).abelian B.abelian (ρ.pullback s) σ |
| 39 | e.abelian.hom he n (labels (v, false))).hom.hom) |
| 40 | |
| 41 | include heH in |
| 42 | theorem prescribedFullKernel_sourceBaseChange (Q : Over (Spec (.of k'))) |
| 43 | (a : Q ⟶ (A.pullback s).abelian.scheme) : |
| 44 | Prescription.Construction.prescribedFullKernel j iota hsplit B σ n r labels J Q (a ≫ e.abelian.hom) ↔ |
| 45 | Prescription.Construction.prescribedFullKernel j iota hsplit A ρ n r labels H ((Over.map s).obj Q) |
| 46 | (A.abelian.baseChangePointsMulEquiv s Q a) := by |
| 47 | let b v := IntrinsicBlockSourceIso.Construction.l45NativeBlockSourceIso j iota hsplit (A.pullback s).abelian B.abelian |
| 48 | (ρ.pullback s) σ e.abelian he n (labels (v, false)) |
| 49 | let bi v := (Grp.forget (Over (Spec (.of k')))).mapIso (b v) |
| 50 | let I v := (J v).transport (b v).symm |
| 51 | have hi : ∀ v, (eH v).hom ≫ (I v).inclusion.hom.hom = |
| 52 | (Over.pullback s).map (H v).inclusion.hom.hom ≫ |
| 53 | (IntrinsicBlockBaseChange.Construction.l45NativeBlockBaseChangeIso j iota hsplit A.abelian ρ s n (labels (v, false))).hom.hom.hom := by |
| 54 | intro v |
| 55 | have hh : (eH v).hom ≫ (J v).inclusion.hom.hom = |
| 56 | (Over.pullback s).map (H v).inclusion.hom.hom ≫ |
| 57 | (IntrinsicBlockBaseChange.Construction.l45NativeBlockBaseChangeIso j iota hsplit A.abelian ρ s n (labels (v, false))).hom.hom.hom ≫ |
| 58 | (bi v).hom := heH v |
| 59 | change (eH v).hom ≫ ((J v).inclusion.hom.hom ≫ (bi v).inv) = _ |
| 60 | let c := (Over.pullback s).map (H v).inclusion.hom.hom ≫ |
| 61 | (IntrinsicBlockBaseChange.Construction.l45NativeBlockBaseChangeIso j iota hsplit A.abelian ρ s n (labels (v, false))).hom.hom.hom |
| 62 | have hh' : (eH v).hom ≫ (J v).inclusion.hom.hom = c ≫ (bi v).hom := |
| 63 | hh.trans (Category.assoc _ _ (bi v).hom).symm |
| 64 | exact (Category.assoc (eH v).hom (J v).inclusion.hom.hom (bi v).inv).symm.trans |
| 65 | ((congrArg (fun z => z ≫ (bi v).inv) hh').trans |
| 66 | ((Category.assoc c (bi v).hom (bi v).inv).trans |
| 67 | ((congrArg (fun z => c ≫ z) (bi v).hom_inv_id).trans (Category.comp_id c)))) |
| 68 | have hs : ∀ v, (Iso.refl (J v).group.X).hom ≫ (J v).inclusion.hom.hom = |
| 69 | (I v).inclusion.hom.hom ≫ |
| 70 | (PointsBlockPointsTransport.Construction.l45BlockMap j iota hsplit (A.pullback s).abelian B.abelian (ρ.pullback s) σ |
| 71 | e.abelian.hom he n (labels (v, false))).hom.hom := by |
| 72 | intro v |
| 73 | change (𝟙 _) ≫ (J v).inclusion.hom.hom = |
| 74 | ((J v).inclusion.hom.hom ≫ (bi v).inv) ≫ (bi v).hom |
| 75 | exact (Category.id_comp (J v).inclusion.hom.hom).trans |
| 76 | ((Category.assoc (J v).inclusion.hom.hom (bi v).inv (bi v).hom).trans |
| 77 | ((congrArg (fun z => (J v).inclusion.hom.hom ≫ z) (bi v).inv_hom_id).trans |
| 78 | (Category.comp_id (J v).inclusion.hom.hom))).symm |
| 79 | exact (PrescribedSourceIso.Construction.prescribedFullKernel_sourceIso j iota hsplit (A.pullback s) B (ρ.pullback s) σ |
| 80 | e he n r labels I J (fun v => Iso.refl (J v).group.X) hs Q a).trans |
| 81 | (PrescribedBaseChange.Construction.prescribedFullKernel_baseChange j iota hsplit A ρ s n r labels H I eH hi Q a) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PrescribedSourceBaseChange.Construction |