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.HilbertConstruction.Tensor.ComparisonIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.MapRealizationIso |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 4 | import Mathlib.CategoryTheory.Comma.Over.Pullback |
| 5 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 6 | |
| 7 | /-! # Algebra Spec Pullback Iso -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSpecPullbackIso |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A bijective scalar extension of an algebra map gives an isomorphism of the actual affine pullbacks. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem isIso_algebraSpec_pullback_of_tensor_bijective |
| 20 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 21 | {A B : CommAlgCat.{u} C} (φ : A ⟶ B) |
| 22 | (hφ : Function.Bijective (Algebra.TensorProduct.map (AlgHom.id R R) φ.hom)) : |
| 23 | IsIso ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))).map |
| 24 | ((algSpec (.of C)).map φ.op)) := by |
| 25 | let c := Spec.map (CommRingCat.ofHom (algebraMap C R)) |
| 26 | let f := (algSpec (.of C)).map φ.op |
| 27 | let f' := Spec.map (CommRingCat.ofHom |
| 28 | (Algebra.TensorProduct.map (AlgHom.id R R) φ.hom).toRingHom) |
| 29 | have : IsIso f' := isIso_SpecMap_iff.mpr hφ |
| 30 | have hk := HilbertConstruction.Pullback.MapRealizationIso.isIso_pullback_map_of_isIso_realization |
| 31 | (Spec.map (CommRingCat.ofHom (algebraMap C B))) |
| 32 | (Spec.map (CommRingCat.ofHom (algebraMap C A))) c f.left f.w |
| 33 | _ _ _ _ (Tensor.ComparisonIso.naturalTensorProjection_isPullback (C := C) (R := R) (A := B)) |
| 34 | (Tensor.ComparisonIso.naturalTensorProjection_isPullback (C := C) (R := R) (A := A)) f' |
| 35 | (NaturalTensorMapCartesian.naturalTensorMap_isPullback (R := R) φ.hom).w |
| 36 | (Tensor.ComparisonIso.algebraSpecMap_over (Algebra.TensorProduct.map (AlgHom.id R R) φ.hom)) |
| 37 | have he : ((Over.pullback c).map f).left = |
| 38 | pullback.map (Spec.map (CommRingCat.ofHom (algebraMap C B))) c (Spec.map (CommRingCat.ofHom (algebraMap C A))) c f.left (𝟙 _) (𝟙 _) |
| 39 | ((Category.comp_id _).trans f.w.symm) (by simp) := by |
| 40 | apply pullback.hom_ext <;> simp [Over.pullback_map_left, pullback.map] <;> rfl |
| 41 | have hleft : IsIso ((Over.pullback c).map f).left := (congrArg IsIso he).mpr hk |
| 42 | have : IsIso ((Over.forget (Spec (.of R))).map ((Over.pullback c).map f)) := hleft |
| 43 | exact isIso_of_reflects_iso ((Over.pullback c).map f) (Over.forget _) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSpecPullbackIso |