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.ConcreteAffineClosedModels |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.TensorSquareDescent |
| 3 | |
| 4 | /-! # Affine Diagram Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.AffineDiagramMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed affine chart maps descend together while retaining compatibility with every diagram arrow. -/ |
| 11 | |
| 12 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | theorem exists_common_closed_affine_diagram_maps |
| 17 | {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 18 | {I : Type v} [Finite I] (A B : I → Type u) |
| 19 | [∀ i, CommRing (A i)] [∀ i, CommRing (B i)] |
| 20 | [∀ i, Algebra C (A i)] [∀ i, Algebra C (B i)] |
| 21 | [∀ i, Algebra.FiniteType C (A i)] [∀ i, Algebra.FiniteType C (B i)] |
| 22 | [∀ i, Module.Flat C (B i)] |
| 23 | {J : Type w} (s t : J → I) (a : ∀ j, A (s j) →ₐ[C] A (t j)) (b : ∀ j, B (s j) →ₐ[C] B (t j)) |
| 24 | (φ : ∀ i, R ⊗[C] A i →ₐ[R] R ⊗[C] B i) (hφ : ∀ i, Function.Surjective (φ i)) |
| 25 | (hnat : ∀ j, (φ (t j)).comp (Algebra.TensorProduct.map (AlgHom.id R R) (a j)) = |
| 26 | (Algebra.TensorProduct.map (AlgHom.id R R) (b j)).comp (φ (s j))) |
| 27 | (E : Subalgebra C R) (hE : E.FG) : |
| 28 | ∃ D : Subalgebra C R, E ≤ D ∧ D.FG ∧ |
| 29 | ∃ ψ : ∀ i, D ⊗[C] A i →ₐ[D] D ⊗[C] B i, |
| 30 | (∀ i x, Coefficient.TensorMaps.coefficientTensorMap D (ψ i x) = φ i (Coefficient.TensorMaps.coefficientTensorMap D x)) ∧ |
| 31 | (∀ j, (ψ (t j)).comp (Algebra.TensorProduct.map (AlgHom.id D D) (a j)) = |
| 32 | (Algebra.TensorProduct.map (AlgHom.id D D) (b j)).comp (ψ (s j))) ∧ |
| 33 | ∃ F : Subalgebra D R, F.FG ∧ |
| 34 | ∀ i, IsClosedImmersion (Spec.map (CommRingCat.ofHom |
| 35 | (R := F ⊗[D] (D ⊗[C] A i)) (S := F ⊗[D] (D ⊗[C] B i)) |
| 36 | (Algebra.TensorProduct.map (AlgHom.id F F) (ψ i)).toRingHom)) := by |
| 37 | obtain ⟨D, hED, hD, ψ, hψ, F, hF, hf⟩ := ConcreteAffineClosedModels.exists_common_flat_closedImmersion_models A B φ hφ E hE |
| 38 | refine ⟨D, hED, hD, ψ, hψ, ?_, F, hF, hf⟩ |
| 39 | intro j |
| 40 | exact HilbertConstruction.Flat.TensorSquareDescent.flat_tensor_square_descent D (a j) (b j) (φ (s j)) (φ (t j)) |
| 41 | (ψ (s j)) (ψ (t j)) (hψ (s j)) (hψ (t j)) (hnat j) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.AffineDiagramMaps |