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.AlgebraSpecTensorIso |
| 2 | |
| 3 | /-! # Algebra Spec Tensor Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSpecTensorNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical scalar-extension presentations respect every algebra map. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem algebraSpecTensorIso_natural |
| 16 | {C D : Type u} [CommRing C] [CommRing D] [Algebra C D] |
| 17 | {A B : CommAlgCat.{u} C} (φ : A ⟶ B) : |
| 18 | (algSpec (.of D)).map ((AlgebraTensorFunctor.algebraTensorFunctor C D).map φ).op ≫ |
| 19 | (AlgebraSpecTensorIso.algebraSpecTensorIso C D A).hom = |
| 20 | (AlgebraSpecTensorIso.algebraSpecTensorIso C D B).hom ≫ |
| 21 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C D)))).map |
| 22 | ((algSpec (.of C)).map φ.op) := by |
| 23 | let c := Spec.map (CommRingCat.ofHom (algebraMap C D)) |
| 24 | let a := Spec.map (CommRingCat.ofHom (algebraMap C A)) |
| 25 | let b := Spec.map (CommRingCat.ofHom (algebraMap C B)) |
| 26 | let t : Spec (.of (D ⊗[C] B)) ⟶ Spec (.of (D ⊗[C] A)) := |
| 27 | ((algSpec (.of D)).map ((AlgebraTensorFunctor.algebraTensorFunctor C D).map φ).op).left |
| 28 | let eA : Spec (.of (D ⊗[C] A)) ⟶ pullback a c := (AlgebraSpecTensorIso.algebraSpecTensorIso C D A).hom.left |
| 29 | let eB : Spec (.of (D ⊗[C] B)) ⟶ pullback b c := (AlgebraSpecTensorIso.algebraSpecTensorIso C D B).hom.left |
| 30 | let f := (algSpec (.of C)).map φ.op |
| 31 | let f₀ : Spec (.of B) ⟶ Spec (.of A) := f.left |
| 32 | let fD : pullback b c ⟶ pullback a c := ((Over.pullback c).map f).left |
| 33 | have heA : eA ≫ pullback.fst a c = Spec.map (CommRingCat.ofHom |
| 34 | (Algebra.TensorProduct.includeRight (R := C) (A := D) (B := A)).toRingHom) := |
| 35 | AlgebraSpecTensorIso.algebraSpecTensorIso_hom_fst C D A |
| 36 | have heB : eB ≫ pullback.fst b c = Spec.map (CommRingCat.ofHom |
| 37 | (Algebra.TensorProduct.includeRight (R := C) (A := D) (B := B)).toRingHom) := |
| 38 | AlgebraSpecTensorIso.algebraSpecTensorIso_hom_fst C D B |
| 39 | have hfD : fD ≫ pullback.fst a c = pullback.fst b c ≫ f₀ := pullback.lift_fst _ _ _ |
| 40 | apply Over.OverMorphism.ext |
| 41 | change t ≫ eA = eB ≫ fD |
| 42 | apply pullback.hom_ext |
| 43 | · rw [Category.assoc, heA, Category.assoc, hfD, ← Category.assoc, heB] |
| 44 | exact (NaturalTensorMapCartesian.naturalTensorMap_isPullback (R := D) φ.hom).w |
| 45 | · exact (((algSpec (.of D)).map ((AlgebraTensorFunctor.algebraTensorFunctor C D).map φ).op ≫ |
| 46 | (AlgebraSpecTensorIso.algebraSpecTensorIso C D A).hom).w).trans |
| 47 | (((AlgebraSpecTensorIso.algebraSpecTensorIso C D B).hom ≫ (Over.pullback c).map f).w).symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSpecTensorNaturality |