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.Affine.TensorProjection |
| 2 | |
| 3 | /-! # Tensor Projection Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorProjectionNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensor-product maps commute with the actual affine base-change projections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {C : Type u} [CommRing C] |
| 16 | |
| 17 | theorem affineOverMap_spec_inv {X Y : Over (Spec (.of C))} |
| 18 | [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) : |
| 19 | Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) ≫ (OverChartPoints.affineOverIso C Y).inv.left = |
| 20 | (OverChartPoints.affineOverIso C X).inv.left ≫ f.left := by |
| 21 | let d : Spec (.of (OverChartPoints.affineOverAlgebra C X)) ⟶ X.left := (OverChartPoints.affineOverIso C X).inv.left |
| 22 | let e : Y.left ⟶ Spec (.of (OverChartPoints.affineOverAlgebra C Y)) := (OverChartPoints.affineOverIso C Y).hom.left |
| 23 | let d' : Spec (.of (OverChartPoints.affineOverAlgebra C Y)) ⟶ Y.left := (OverChartPoints.affineOverIso C Y).inv.left |
| 24 | have he : e ≫ d' = 𝟙 Y.left := congrArg (fun k => k.left) (OverChartPoints.affineOverIso C Y).hom_inv_id |
| 25 | have hf : Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) = d ≫ f.left ≫ e := |
| 26 | OverMorphisms.affineOverMap_spec C f |
| 27 | change Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) ≫ d' = d ≫ f.left |
| 28 | rw [hf, Category.assoc, Category.assoc, he, Category.comp_id] |
| 29 | |
| 30 | theorem affineTensorProjection_natural (R : Type u) [CommRing R] [Algebra C R] |
| 31 | {X Y : Over (Spec (.of C))} [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) : |
| 32 | Spec.map (CommRingCat.ofHom |
| 33 | (Algebra.TensorProduct.map (AlgHom.id R R) (OverMorphisms.affineOverMap C f)).toRingHom) ≫ |
| 34 | TensorProjection.affineTensorProjection C R Y = TensorProjection.affineTensorProjection C R X ≫ f.left := by |
| 35 | let pX := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight |
| 36 | (R := C) (A := R) (B := OverChartPoints.affineOverAlgebra C X)).toRingHom) |
| 37 | let pY := Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight |
| 38 | (R := C) (A := R) (B := OverChartPoints.affineOverAlgebra C Y)).toRingHom) |
| 39 | let dX : Spec (.of (OverChartPoints.affineOverAlgebra C X)) ⟶ X.left := (OverChartPoints.affineOverIso C X).inv.left |
| 40 | let dY : Spec (.of (OverChartPoints.affineOverAlgebra C Y)) ⟶ Y.left := (OverChartPoints.affineOverIso C Y).inv.left |
| 41 | have hi : Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) ≫ dY = dX ≫ f.left := |
| 42 | affineOverMap_spec_inv f |
| 43 | have h := (NaturalTensorMapCartesian.naturalTensorMap_isPullback (R := R) (OverMorphisms.affineOverMap C f)).w |
| 44 | change Spec.map (CommRingCat.ofHom |
| 45 | (Algebra.TensorProduct.map (AlgHom.id R R) (OverMorphisms.affineOverMap C f)).toRingHom) ≫ |
| 46 | (pY ≫ dY) = (pX ≫ dX) ≫ f.left |
| 47 | rw [← Category.assoc, h, Category.assoc, hi, Category.assoc] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorProjectionNaturality |