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.Base.ChangedComparisonIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalTensorMapCartesian |
| 3 | |
| 4 | /-! # Comparison Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A comparison of affine models with common scheme recovery becomes a tensor-product isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 17 | variable [Algebra C R] [Algebra C A] [Algebra C B] |
| 18 | |
| 19 | theorem naturalTensorProjection_isPullback : |
| 20 | IsPullback |
| 21 | (Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight |
| 22 | (R := C) (A := R) (B := A)).toRingHom)) |
| 23 | (Spec.map (CommRingCat.ofHom (algebraMap R (R ⊗[C] A)))) |
| 24 | (Spec.map (CommRingCat.ofHom (algebraMap C A))) |
| 25 | (Spec.map (CommRingCat.ofHom (algebraMap C R))) := |
| 26 | ModelCartesian.tensorModelMap_isPullback (AlgEquiv.refl : R ⊗[C] A ≃ₐ[R] R ⊗[C] A) |
| 27 | |
| 28 | theorem algebraSpecMap_over (φ : A →ₐ[C] B) : |
| 29 | Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ |
| 30 | Spec.map (CommRingCat.ofHom (algebraMap C A)) = |
| 31 | Spec.map (CommRingCat.ofHom (algebraMap C B)) := by |
| 32 | rw [← Spec.map_comp] |
| 33 | congr 1 |
| 34 | ext c |
| 35 | exact φ.commutes c |
| 36 | |
| 37 | theorem isIso_naturalTensorMap_of_common_recovery (φ : A →ₐ[C] B) |
| 38 | {P : Scheme.{u}} (p : P ⟶ Spec (.of R)) |
| 39 | (qA : P ⟶ Spec (.of A)) (qB : P ⟶ Spec (.of B)) |
| 40 | (hA : IsPullback qA p (Spec.map (CommRingCat.ofHom (algebraMap C A))) |
| 41 | (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 42 | (hB : IsPullback qB p (Spec.map (CommRingCat.ofHom (algebraMap C B))) |
| 43 | (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 44 | (hq : qB ≫ Spec.map (CommRingCat.ofHom φ.toRingHom) = qA) : |
| 45 | IsIso (Spec.map (CommRingCat.ofHom |
| 46 | (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom)) := by |
| 47 | exact Base.ChangedComparisonIso.isIso_baseChanged_comparison_of_common_recovery |
| 48 | qB qA p _ _ _ (Spec.map (CommRingCat.ofHom φ.toRingHom)) (algebraSpecMap_over φ) |
| 49 | hB hA hq _ _ _ _ |
| 50 | (naturalTensorProjection_isPullback (C := C) (R := R) (A := B)) |
| 51 | (naturalTensorProjection_isPullback (C := C) (R := R) (A := A)) |
| 52 | (Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom)) |
| 53 | (NaturalTensorMapCartesian.naturalTensorMap_isPullback (R := R) φ).w |
| 54 | (algebraSpecMap_over (Algebra.TensorProduct.map (AlgHom.id R R) φ)) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonIso |