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.PELModuli.CMPoints.ProjectiveEndomorphismDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.FixedModelProjectivity |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.EndomorphismParameterDescent |
| 4 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ArithmeticTowerCoherence |
| 5 | |
| 6 | /-! # Endomorphism Number Field Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.EndomorphismNumberFieldDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite-extension descent of every specified finite endomorphism tuple. |
| 13 | Projectivity is constructed after a finite extension and the resulting |
| 14 | tower is collapsed with the original arithmetic abelian model retained. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | theorem intertwining_after_conjugation |
| 20 | {C D : Type*} [Category C] [Category D] (F : C ⥤ D) |
| 21 | {X Y : C} {Z : D} (e : X ≅ Y) (d : F.obj X ≅ Z) (c : F.obj Y ≅ Z) |
| 22 | (r : X ⟶ X) (s : Z ⟶ Z) |
| 23 | (hc : F.map e.hom ≫ c.hom = d.hom) |
| 24 | (hr : F.map r ≫ d.hom = d.hom ≫ s) : |
| 25 | F.map (e.inv ≫ r ≫ e.hom) ≫ c.hom = c.hom ≫ s := by |
| 26 | have hcancel : F.map e.inv ≫ d.hom = c.hom := by |
| 27 | rw [← hc, ← Category.assoc, ← F.map_comp, e.inv_hom_id, F.map_id, Category.id_comp] |
| 28 | rw [F.map_comp, F.map_comp, Category.assoc, Category.assoc, hc, hr, |
| 29 | ← Category.assoc, hcancel] |
| 30 | |
| 31 | theorem endomorphism_tuple_descends |
| 32 | (hHilb : IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 33 | {K : Type} [Field K] [NumberField K] (κ : K →+* ℂ) |
| 34 | {g n : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 35 | (r : Fin n → IntegralModel.Finite.Actions.GroupEndRing (A.pullback (Spec.map (CommRingCat.ofHom κ)))) : |
| 36 | ∃ (F : IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 37 | (rF : Fin n → IntegralModel.Finite.Actions.GroupEndRing (A.pullback F.fieldExtension)), |
| 38 | ∀ i, (Over.pullback (Spec.map (CommRingCat.ofHom F.embedding))).map ((rF i).hom _) ≫ |
| 39 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso F A.scheme).hom = |
| 40 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso F A.scheme).hom ≫ (r i).hom _ := by |
| 41 | classical |
| 42 | obtain ⟨B, ⟨BA⟩⟩ := FixedModelProjectivity.fixed_abelian_model_projective_after_finite_extension κ A |
| 43 | let AB := A.pullback B.fieldExtension |
| 44 | let eB : (AB.pullback (Spec.map (CommRingCat.ofHom B.embedding))).scheme ≅ |
| 45 | (A.pullback (Spec.map (CommRingCat.ofHom κ))).scheme := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso B A.scheme |
| 46 | let : IsMonHom eB.hom := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso_isMonHom B A.scheme |
| 47 | let : IsMonHom eB.symm.hom := inferInstanceAs (IsMonHom eB.inv) |
| 48 | let rB (i : Fin n) : IntegralModel.Finite.Actions.GroupEndRing (AB.pullback (Spec.map (CommRingCat.ofHom B.embedding))) := |
| 49 | IntegralModel.Finite.Actions.GroupEndRing.transport eB.symm (r i) |
| 50 | obtain ⟨C, rC, _, hC⟩ := ProjectiveEndomorphismDescent.projective_endomorphism_tuple_descends_native |
| 51 | hHilb hEnd B.embedding AB BA rB |
| 52 | let F := B.compose C |
| 53 | let AF : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of C.extension.carrier)) := A.pullback F.fieldExtension |
| 54 | let e : (AB.pullback C.fieldExtension).scheme ≅ AF.scheme := |
| 55 | (B.composeSourceNatIso C).app A.scheme |
| 56 | have he : IsMonHom e.hom := |
| 57 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom A.scheme B.fieldExtension C.fieldExtension F.fieldExtension |
| 58 | (B.compose_fieldExtension C) |
| 59 | let := he |
| 60 | let rF (i : Fin n) : IntegralModel.Finite.Actions.GroupEndRing AF := |
| 61 | IntegralModel.Finite.Actions.GroupEndRing.transport e (rC i) |
| 62 | let Ψ := Over.pullback (Spec.map (CommRingCat.ofHom C.embedding)) |
| 63 | let cB : Ψ.obj (AB.pullback C.fieldExtension).scheme ≅ |
| 64 | (AB.pullback (Spec.map (CommRingCat.ofHom B.embedding))).scheme := |
| 65 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso C AB.scheme |
| 66 | let d : Ψ.obj (AB.pullback C.fieldExtension).scheme ≅ |
| 67 | (A.pullback (Spec.map (CommRingCat.ofHom κ))).scheme := |
| 68 | IntegralModel.Arithmetic.TowerComparison.arithmeticTowerComplexSourceIso B C A.scheme |
| 69 | let c : Ψ.obj AF.scheme ≅ (A.pullback (Spec.map (CommRingCat.ofHom κ))).scheme := |
| 70 | IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso F A.scheme |
| 71 | have hd : Ψ.map e.hom ≫ c.hom = d.hom := ArithmeticTowerCoherence.arithmetic_tower_complex_comparison B C A.scheme |
| 72 | refine ⟨F, rF, fun i => ?_⟩ |
| 73 | have h₁ : Ψ.map ((rC i).hom _) ≫ cB.hom = cB.hom ≫ (rB i).hom _ := |
| 74 | EndomorphismParameterDescent.arithmetic_endomorphism_restrict_compatibility AB C (rC i) (rB i) (hC i) |
| 75 | have h₂ : (rB i).hom _ ≫ eB.hom = eB.hom ≫ (r i).hom _ := by |
| 76 | change (eB.hom ≫ (r i).hom _ ≫ eB.inv) ≫ eB.hom = _ |
| 77 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 78 | have h₃ : Ψ.map ((rC i).hom _) ≫ d.hom = d.hom ≫ (r i).hom _ := by |
| 79 | change Ψ.map ((rC i).hom _) ≫ cB.hom ≫ eB.hom = _ |
| 80 | rw [← Category.assoc, h₁, Category.assoc, h₂] |
| 81 | exact (Category.assoc _ _ _).symm |
| 82 | exact intertwining_after_conjugation Ψ e d c ((rC i).hom _) ((r i).hom _) hd h₃ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.EndomorphismNumberFieldDescent |