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.ComparisonTensorIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineSchemeModels |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalTensorMapDescent |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 5 | |
| 6 | /-! # Affine Comparison Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AffineComparisonDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finitely many comparisons of smooth affine models with common recovery become isomorphisms together. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem exists_common_affine_comparison_tensor_bijective |
| 19 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 20 | {I : Type v} [Finite I] (X Y : I → Over (Spec (.of C))) |
| 21 | [∀ i, IsAffine (X i).left] [∀ i, IsAffine (Y i).left] |
| 22 | [∀ i, Smooth (X i).hom] [∀ i, Smooth (Y i).hom] |
| 23 | (f : ∀ i, X i ⟶ Y i) (P : I → Over (Spec (.of R))) |
| 24 | (qX : ∀ i, (P i).left ⟶ (X i).left) (qY : ∀ i, (P i).left ⟶ (Y i).left) |
| 25 | (hX : ∀ i, IsPullback (qX i) (P i).hom (X i).hom |
| 26 | (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 27 | (hY : ∀ i, IsPullback (qY i) (P i).hom (Y i).hom |
| 28 | (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 29 | (hq : ∀ i, qX i ≫ (f i).left = qY i) |
| 30 | (E : Subalgebra C R) (hE : E.FG) : |
| 31 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 32 | ∀ i, Function.Bijective (Algebra.TensorProduct.map (AlgHom.id D D) (Affine.OverMorphisms.affineOverMap C (f i))) := by |
| 33 | have (i : I) : Algebra.Smooth C (Affine.OverChartPoints.affineOverAlgebra C (X i)) := HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth C (X i) |
| 34 | have (i : I) : Algebra.Smooth C (Affine.OverChartPoints.affineOverAlgebra C (Y i)) := HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth C (Y i) |
| 35 | have hb (i : I) : Function.Bijective |
| 36 | (Algebra.TensorProduct.map (AlgHom.id R R) (Affine.OverMorphisms.affineOverMap C (f i))) := by |
| 37 | exact isIso_SpecMap_iff.mp |
| 38 | (Affine.ComparisonTensorIso.affineOverMap_tensor_isIso_of_common_recovery (f i) (P i).hom |
| 39 | (qX i) (qY i) (hX i) (hY i) (hq i)) |
| 40 | exact NaturalTensorMapDescent.exists_common_natural_tensorMap_bijective |
| 41 | (fun i => ↥(Affine.OverChartPoints.affineOverAlgebra C (Y i))) (fun i => ↥(Affine.OverChartPoints.affineOverAlgebra C (X i))) |
| 42 | (fun i => Affine.OverMorphisms.affineOverMap C (f i)) hb E hE |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AffineComparisonDescent |