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 Mathlib.RingTheory.IsTensorProduct |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Pushout Quotient Reduction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PushoutQuotientReduction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Base change along a surjective coefficient map identifies the |
| 14 | actual fiber with the quotient by the extended base kernel. The quotient |
| 15 | comparison retains the original algebra map to that fiber. -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | def coefficientQuotientReductionEquiv (D k : Type) [CommRing D] [CommRing k] [Algebra D k] |
| 20 | (h : Function.Surjective (algebraMap D k)) : |
| 21 | (D ⧸ RingHom.ker (algebraMap D k)) ≃ₐ[D] k := |
| 22 | Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId D k) h |
| 23 | |
| 24 | variable (D k P B : Type) [CommRing D] [CommRing k] [CommRing P] [CommRing B] |
| 25 | [Algebra D k] [Algebra D P] [Algebra D B] [Algebra k B] [Algebra P B] |
| 26 | [IsScalarTower D k B] [IsScalarTower D P B] [Algebra.IsPushout D k P B] |
| 27 | (h : Function.Surjective (algebraMap D k)) |
| 28 | |
| 29 | def pushoutQuotientReductionEquiv : |
| 30 | (P ⧸ (RingHom.ker (algebraMap D k)).map (algebraMap D P)) ≃ₐ[D] B := |
| 31 | ((Algebra.TensorProduct.quotIdealMapEquivQuotTensor P (RingHom.ker (algebraMap D k))).restrictScalars D).trans |
| 32 | ((Algebra.TensorProduct.congr |
| 33 | (coefficientQuotientReductionEquiv D k h) (AlgEquiv.refl : P ≃ₐ[D] P)).trans |
| 34 | ((Algebra.IsPushout.equiv D k P B).restrictScalars D)) |
| 35 | |
| 36 | theorem pushoutQuotientReductionEquiv_mk (p : P) : |
| 37 | pushoutQuotientReductionEquiv D k P B h |
| 38 | (Ideal.Quotient.mk ((RingHom.ker (algebraMap D k)).map (algebraMap D P)) p) = algebraMap P B p := by |
| 39 | change (Algebra.IsPushout.equiv D k P B) |
| 40 | ((Algebra.TensorProduct.congr |
| 41 | (coefficientQuotientReductionEquiv D k h) (AlgEquiv.refl : P ≃ₐ[D] P)) |
| 42 | ((Algebra.TensorProduct.quotIdealMapEquivQuotTensor P (RingHom.ker (algebraMap D k))) |
| 43 | (Ideal.Quotient.mk ((RingHom.ker (algebraMap D k)).map (algebraMap D P)) p))) = _ |
| 44 | rw [Algebra.TensorProduct.quotIdealMapEquivQuotTensor_mk, |
| 45 | Algebra.TensorProduct.congr_apply, Algebra.TensorProduct.map_tmul] |
| 46 | simp only [map_one, AlgEquiv.coe_toAlgHom, AlgEquiv.coe_refl, id_eq] |
| 47 | rw [Algebra.IsPushout.equiv_tmul, map_one, one_mul] |
| 48 | |
| 49 | include h in |
| 50 | theorem pushoutReduction_surjective : Function.Surjective (algebraMap P B) := by |
| 51 | intro b |
| 52 | obtain ⟨q, hq⟩ := (pushoutQuotientReductionEquiv D k P B h).surjective b |
| 53 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective q |
| 54 | exact ⟨p, (pushoutQuotientReductionEquiv_mk D k P B h p).symm.trans hq⟩ |
| 55 | |
| 56 | include h in |
| 57 | theorem pushoutReduction_kernel : |
| 58 | RingHom.ker (algebraMap P B) = (RingHom.ker (algebraMap D k)).map (algebraMap D P) := by |
| 59 | ext p |
| 60 | change algebraMap P B p = 0 ↔ p ∈ (RingHom.ker (algebraMap D k)).map (algebraMap D P) |
| 61 | constructor |
| 62 | · intro hp |
| 63 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 64 | apply (pushoutQuotientReductionEquiv D k P B h).injective |
| 65 | rw [pushoutQuotientReductionEquiv_mk, map_zero] |
| 66 | exact hp |
| 67 | · intro hp |
| 68 | rw [← pushoutQuotientReductionEquiv_mk D k P B h p] |
| 69 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hp, map_zero] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! The fixed fiber of a scalar-extended affine family is the actual |
| 74 | base change along the coefficient reduction, hence its canonical quotient. -/ |
| 75 | |
| 76 | variable (R D k S P B : Type) [CommRing R] [CommRing D] [CommRing k] |
| 77 | [CommRing S] [CommRing P] [CommRing B] |
| 78 | [Algebra R D] [Algebra R k] [Algebra D k] [IsScalarTower R D k] |
| 79 | [Algebra R S] [Algebra R P] [Algebra D P] [Algebra S P] |
| 80 | [IsScalarTower R D P] [IsScalarTower R S P] |
| 81 | [Algebra R B] [Algebra D B] [Algebra k B] [Algebra S B] [Algebra P B] |
| 82 | [IsScalarTower R k B] [IsScalarTower D k B] [IsScalarTower D P B] |
| 83 | [IsScalarTower R S B] [IsScalarTower R P B] [IsScalarTower S P B] |
| 84 | [hleft : Algebra.IsPushout R D S P] [hfull : Algebra.IsPushout R k S B] |
| 85 | |
| 86 | include hleft hfull in |
| 87 | theorem scalarExtensionFiber_isPushout : Algebra.IsPushout D k P B := |
| 88 | (Algebra.IsPushout.comp_iff (R := R) (S := D) (R' := S) (S' := P) (T := k) (T' := B)).mp hfull |
| 89 | |
| 90 | def scalarExtensionFiberQuotientEquiv (h : Function.Surjective (algebraMap D k)) : |
| 91 | (P ⧸ (RingHom.ker (algebraMap D k)).map (algebraMap D P)) ≃ₐ[D] B := by |
| 92 | let : Algebra.IsPushout D k P B := scalarExtensionFiber_isPushout R D k S P B |
| 93 | exact pushoutQuotientReductionEquiv D k P B h |
| 94 | |
| 95 | theorem scalarExtensionFiberQuotientEquiv_mk |
| 96 | (h : Function.Surjective (algebraMap D k)) (p : P) : |
| 97 | scalarExtensionFiberQuotientEquiv R D k S P B h |
| 98 | (Ideal.Quotient.mk ((RingHom.ker (algebraMap D k)).map (algebraMap D P)) p) = algebraMap P B p := by |
| 99 | let : Algebra.IsPushout D k P B := scalarExtensionFiber_isPushout R D k S P B |
| 100 | exact pushoutQuotientReductionEquiv_mk D k P B h p |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PushoutQuotientReduction |