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.IntegralModel.Coefficient.Isomorphisms |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.BaseChangeComparisons |
| 3 | |
| 4 | /-! # Generic Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericIsomorphism.Coefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual morphism of finite-presentation coefficient models that |
| 11 | is an isomorphism on the generic fiber becomes an isomorphism after |
| 12 | enlarging the finite coefficient ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem coefficient_generic_isIso_after_two_enlargements |
| 17 | {R K : Type} [CommRing R] [Field K] [Algebra R K] {s : Finset K} |
| 18 | (X Y : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K s)) |
| 19 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) |
| 20 | (f : X ⟶ Y) [IsIso ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map f)] : |
| 21 | ∃ (t : Finset K) (hst : s ⊆ t) (z : Finset K) (htz : t ⊆ z), |
| 22 | IsIso ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz)).map |
| 23 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map f)) := by |
| 24 | let g := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s |
| 25 | let Xg := (Over.pullback g).obj X |
| 26 | let Yg := (Over.pullback g).obj Y |
| 27 | let px := pullback.fst X.hom g |
| 28 | let py := pullback.fst Y.hom g |
| 29 | let hx : IsPullback px Xg.hom X.hom g := IsPullback.of_hasPullback _ _ |
| 30 | let hy : IsPullback py Yg.hom Y.hom g := IsPullback.of_hasPullback _ _ |
| 31 | obtain ⟨t, hst, e, he⟩ := Isomorphisms.Coefficients.isomorphism_between_models_descends X Y hX hY px py hx hy |
| 32 | (asIso ((Over.pullback g).map f)) |
| 33 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 34 | let px' := Morphisms.Coefficients.genericModelLift (X := Xg) X px hx.w hst |
| 35 | let py' := Morphisms.Coefficients.genericModelLift (X := Yg) Y py hy.w hst |
| 36 | have hp : px' ≫ (F.map f).left = ((Over.pullback g).map f).left ≫ py' := |
| 37 | BaseChange.Coefficients.genericModelLift_map (X := Xg) (Y := Yg) X Y px py hx.w hy.w ((Over.pullback g).map f) f |
| 38 | (pullback.lift_fst _ _ _).symm hst |
| 39 | have hEq : px' ≫ (F.map f).left = px' ≫ e.hom.left := hp.trans he.symm |
| 40 | obtain ⟨z, htz, hz⟩ := Morphisms.Coefficients.equation_between_models_descends (F.obj X) (F.obj Y) |
| 41 | (Finiteness.Coefficients.baseChange_finitePresentation _ X hX) (Finiteness.Coefficients.baseChange_finitePresentation _ Y hY) |
| 42 | px' (Morphisms.Coefficients.genericModelLift_cartesian (X := Xg) X px hx hst) (F.map f) e.hom hEq |
| 43 | have hmap : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz)).map (F.map f) = |
| 44 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz)).map e.hom := |
| 45 | FiniteEquations.Coefficients.baseChange_map_eq_of_fst_eq _ _ _ _ _ hz |
| 46 | refine ⟨t, hst, z, htz, ?_⟩ |
| 47 | rw [hmap] |
| 48 | infer_instance |
| 49 | |
| 50 | theorem coefficient_generic_isIso_after_enlargement |
| 51 | {R K : Type} [CommRing R] [Field K] [Algebra R K] {s : Finset K} |
| 52 | (X Y : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K s)) |
| 53 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) |
| 54 | (f : X ⟶ Y) [IsIso ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map f)] : |
| 55 | ∃ (t : Finset K) (hst : s ⊆ t), IsIso ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map f) := by |
| 56 | obtain ⟨t, hst, z, htz, hi⟩ := coefficient_generic_isIso_after_two_enlargements X Y hX hY f |
| 57 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 58 | let G := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) |
| 59 | let H := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K (hst.trans htz)) |
| 60 | let e := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 61 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K (hst.trans htz)) |
| 62 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap_comp R K hst htz) |
| 63 | have hn : G.map (F.map f) ≫ (e.app Y).hom = (e.app X).hom ≫ H.map f := e.hom.naturality f |
| 64 | have he : H.map f = (e.app X).inv ≫ G.map (F.map f) ≫ (e.app Y).hom := by |
| 65 | rw [hn, Iso.inv_hom_id_assoc] |
| 66 | refine ⟨z, hst.trans htz, ?_⟩ |
| 67 | change IsIso (H.map f) |
| 68 | rw [he] |
| 69 | infer_instance |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericIsomorphism.Coefficients |