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.ReferenceFamily.PushoutQuotientReduction |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Scalar Extension Fiber -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.ScalarExtensionFiber |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reducing the literal scalar extension gives the original fiber |
| 11 | tensor algebra. The constructed quotient equivalence retains both tensor |
| 12 | factors and the exact coefficient-reduction map. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable (R D k A : Type) [CommRing R] [CommRing D] [CommRing k] [CommRing A] |
| 17 | [Algebra R D] [Algebra R k] [Algebra D k] [IsScalarTower R D k] [Algebra R A] |
| 18 | |
| 19 | local instance tensorScalarFiber_sourceRing : CommRing (D ⊗[R] A) := |
| 20 | Algebra.TensorProduct.instCommRing (R := R) (A := D) (B := A) |
| 21 | |
| 22 | local instance tensorScalarFiber_targetRing : CommRing (k ⊗[R] A) := |
| 23 | Algebra.TensorProduct.instCommRing (R := R) (A := k) (B := A) |
| 24 | |
| 25 | attribute [local instance] Algebra.TensorProduct.rightAlgebra |
| 26 | |
| 27 | def tensorScalarExtensionReduction : (D ⊗[R] A) →ₐ[D] (k ⊗[R] A) := |
| 28 | Algebra.TensorProduct.map (Algebra.ofId D k) (AlgHom.id R A) |
| 29 | |
| 30 | theorem tensorScalarExtensionReduction_tmul (d : D) (a : A) : |
| 31 | tensorScalarExtensionReduction R D k A (d ⊗ₜ[R] a) = algebraMap D k d ⊗ₜ[R] a := rfl |
| 32 | |
| 33 | @[instance_reducible] |
| 34 | def tensorScalarExtensionFiberAlgebra : Algebra (D ⊗[R] A) (k ⊗[R] A) := |
| 35 | (tensorScalarExtensionReduction R D k A).toRingHom.toAlgebra |
| 36 | |
| 37 | attribute [local instance 50] tensorScalarExtensionFiberAlgebra |
| 38 | |
| 39 | local instance tensorScalarFiber_baseTower : IsScalarTower D (D ⊗[R] A) (k ⊗[R] A) := |
| 40 | IsScalarTower.of_algebraMap_eq (fun d => ((tensorScalarExtensionReduction R D k A).commutes d).symm) |
| 41 | |
| 42 | local instance tensorScalarFiber_originalTower : IsScalarTower A (D ⊗[R] A) (k ⊗[R] A) := by |
| 43 | apply IsScalarTower.of_algebraMap_eq |
| 44 | intro a |
| 45 | change (1 : k) ⊗ₜ[R] a = algebraMap D k 1 ⊗ₜ[R] a |
| 46 | rw [map_one] |
| 47 | |
| 48 | local instance tensorScalarFiber_groundTower : IsScalarTower R (D ⊗[R] A) (k ⊗[R] A) := |
| 49 | IsScalarTower.of_algebraMap_eq (fun r => |
| 50 | ((tensorScalarExtensionReduction R D k A).restrictScalars R).commutes r |>.symm) |
| 51 | |
| 52 | theorem tensorScalarExtensionFiber_isPushout : |
| 53 | Algebra.IsPushout D k (D ⊗[R] A) (k ⊗[R] A) := |
| 54 | PushoutQuotientReduction.scalarExtensionFiber_isPushout R D k A (D ⊗[R] A) (k ⊗[R] A) |
| 55 | |
| 56 | def tensorScalarExtensionFiberQuotientEquiv (h : Function.Surjective (algebraMap D k)) : |
| 57 | ((D ⊗[R] A) ⧸ (RingHom.ker (algebraMap D k)).map (algebraMap D (D ⊗[R] A))) ≃ₐ[D] |
| 58 | (k ⊗[R] A) := |
| 59 | PushoutQuotientReduction.scalarExtensionFiberQuotientEquiv R D k A (D ⊗[R] A) (k ⊗[R] A) h |
| 60 | |
| 61 | theorem tensorScalarExtensionFiberQuotientEquiv_mk |
| 62 | (h : Function.Surjective (algebraMap D k)) (p : D ⊗[R] A) : |
| 63 | tensorScalarExtensionFiberQuotientEquiv R D k A h |
| 64 | (Ideal.Quotient.mk ((RingHom.ker (algebraMap D k)).map (algebraMap D (D ⊗[R] A))) p) = |
| 65 | tensorScalarExtensionReduction R D k A p := |
| 66 | PushoutQuotientReduction.scalarExtensionFiberQuotientEquiv_mk R D k A (D ⊗[R] A) (k ⊗[R] A) h p |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.ScalarExtensionFiber |