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.Picard.ThetaConstruction.LocalUnramifiedFiberReflection |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Local Field Unramified Reflection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalFieldUnramifiedReflection.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local field-valued point detects vanishing of finite modules |
| 11 | over its local source. Thus an actual unramified geometric fiber |
| 12 | reflects formal unramifiedness at the original local point, without |
| 13 | requiring flatness of the original morphism. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem finiteLocalModule_subsingleton_of_localField |
| 20 | (B K : Type u) [CommRing B] [IsLocalRing B] [Field K] |
| 21 | [Algebra B K] [IsLocalHom (algebraMap B K)] |
| 22 | (M : Type u) [AddCommGroup M] [Module B M] [Module.Finite B M] |
| 23 | [Subsingleton (K ⊗[B] M)] : Subsingleton M := by |
| 24 | let k := IsLocalRing.ResidueField B |
| 25 | let : Algebra k K := (IsLocalRing.ResidueField.lift (algebraMap B K)).toAlgebra |
| 26 | let : IsScalarTower B k K := IsScalarTower.of_algebraMap_eq' (by |
| 27 | ext r |
| 28 | exact (IsLocalRing.ResidueField.lift_residue_apply (algebraMap B K) r).symm) |
| 29 | let : Subsingleton (K ⊗[k] (k ⊗[B] M)) := |
| 30 | (TensorProduct.AlgebraTensorModule.cancelBaseChange B k K K M).injective.subsingleton |
| 31 | have hk : Subsingleton (k ⊗[B] M) := |
| 32 | (Module.FaithfullyFlat.subsingleton_tensorProduct_iff_right k K).mp inferInstance |
| 33 | exact (IsLocalRing.subsingleton_tensorProduct (R := B) (M := M)).mp hk |
| 34 | |
| 35 | theorem localAlgebra_formallyUnramified_of_localFieldFiber |
| 36 | (R B K : Type u) [CommRing R] [CommRing B] [IsLocalRing B] [Field K] |
| 37 | [Algebra R B] [Algebra R K] [Algebra B K] [IsScalarTower R B K] |
| 38 | [IsLocalHom (algebraMap B K)] [Algebra.EssFiniteType R B] |
| 39 | [Algebra.FormallyUnramified K (K ⊗[R] B)] : Algebra.FormallyUnramified R B := by |
| 40 | let : Algebra B (K ⊗[R] B) := Algebra.TensorProduct.rightAlgebra |
| 41 | let : Subsingleton (K ⊗[R] Ω[B⁄R]) := |
| 42 | (KaehlerDifferential.tensorKaehlerEquivBase R K B (K ⊗[R] B)).injective.subsingleton |
| 43 | let : Subsingleton (K ⊗[B] Ω[B⁄R]) := |
| 44 | (TensorProduct.mapOfCompatibleSMul_surjective B R R K Ω[B⁄R]).subsingleton |
| 45 | exact ⟨finiteLocalModule_subsingleton_of_localField B K Ω[B⁄R]⟩ |
| 46 | |
| 47 | theorem localAlgebra_formallyUnramified_of_rightLocalFieldFiber |
| 48 | (R B K : Type u) [CommRing R] [CommRing B] [IsLocalRing B] [Field K] |
| 49 | [Algebra R B] [Algebra R K] [Algebra B K] [IsScalarTower R B K] |
| 50 | [IsLocalHom (algebraMap B K)] [Algebra.EssFiniteType R B] |
| 51 | (h : let : Algebra K (B ⊗[R] K) := Algebra.TensorProduct.rightAlgebra |
| 52 | Algebra.FormallyUnramified K (B ⊗[R] K)) : Algebra.FormallyUnramified R B := by |
| 53 | let : Algebra K (B ⊗[R] K) := Algebra.TensorProduct.rightAlgebra |
| 54 | let := h |
| 55 | let : Subsingleton (K ⊗[R] Ω[B⁄R]) := |
| 56 | (KaehlerDifferential.tensorKaehlerEquivBase R K B (B ⊗[R] K)).injective.subsingleton |
| 57 | let : Subsingleton (K ⊗[B] Ω[B⁄R]) := |
| 58 | (TensorProduct.mapOfCompatibleSMul_surjective B R R K Ω[B⁄R]).subsingleton |
| 59 | exact ⟨finiteLocalModule_subsingleton_of_localField B K Ω[B⁄R]⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalFieldUnramifiedReflection.Geometric |