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.Quotients.FiniteDescent.CubeSectionsAsAlgebra |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProperCechAugmentation |
| 3 | |
| 4 | /-! # Cube Point Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubePointEvaluation.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation at a rational point splits the constant functions in Cech degree zero. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {k : Type u} [Field k] {X : Scheme.{u}} (f : X ⟶ Spec (.of k)) |
| 17 | (s : Spec (.of k) ⟶ X) (hs : s ≫ f = 𝟙 _) |
| 18 | |
| 19 | def pointEvaluationRingHom (U : X.Opens) (hU : ⊤ ≤ s ⁻¹ᵁ U) : Γ(X, U) →+* k := |
| 20 | (s.appLE U ⊤ hU ≫ (Scheme.ΓSpecIso (.of k)).hom).hom |
| 21 | |
| 22 | include hs in |
| 23 | theorem pointEvaluation_constants (U : X.Opens) (hU : ⊤ ≤ s ⁻¹ᵁ U) (r : k) : |
| 24 | pointEvaluationRingHom s U hU (CubeSectionsAsAlgebra.Construction.CubeCech.sectionConstants f U r) = r := by |
| 25 | have h := RingHom.congr_fun (CubeSectionsAsAlgebra.Construction.CubeCech.sectionConstants_pullback f s U ⊤ hU) r |
| 26 | have h' := congrArg (fun x ↦ (Scheme.ΓSpecIso (.of k)).hom x) h |
| 27 | change pointEvaluationRingHom s U hU (CubeSectionsAsAlgebra.Construction.CubeCech.sectionConstants f U r) = |
| 28 | (Scheme.ΓSpecIso (.of k)).hom (CubeSectionsAsAlgebra.Construction.CubeCech.sectionConstants (s ≫ f) ⊤ r) at h' |
| 29 | rw [hs] at h' |
| 30 | refine h'.trans ?_ |
| 31 | simp [CubeSectionsAsAlgebra.Construction.CubeCech.sectionConstants, CubeProperGlobalSections.Construction.CubeCech.globalConstants] |
| 32 | |
| 33 | def pointEvaluationAlgHom (U : X.Opens) (hU : ⊤ ≤ s ⁻¹ᵁ U) : |
| 34 | CubeSectionsAsAlgebra.Construction.CubeCech.sectionsAsBaseAlgebra f U →ₐ[k] k where |
| 35 | __ := pointEvaluationRingHom s U hU |
| 36 | commutes' r := pointEvaluation_constants f s hs U hU r |
| 37 | |
| 38 | def pointEvaluationLinearMap (U : X.Opens) (hU : ⊤ ≤ s ⁻¹ᵁ U) : |
| 39 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f).obj.obj (op U) →ₗ[k] k := |
| 40 | (pointEvaluationAlgHom f s hs U hU).toLinearMap.comp |
| 41 | (CubeSectionsAsAlgebra.Construction.CubeCech.sectionsAsBaseModuleIso f U).toLinearEquiv.symm.toLinearMap |
| 42 | |
| 43 | def pointCechRetraction {ι : Type v} (U : ι → X.Opens) (i : ι) (hi : ⊤ ≤ s ⁻¹ᵁ U i) : |
| 44 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U →ₗ[k] k := |
| 45 | (pointEvaluationLinearMap f s hs (U i) hi).comp (LinearMap.proj i) |
| 46 | |
| 47 | theorem pointCechRetraction_comp {ι : Type v} (U : ι → X.Opens) (i : ι) |
| 48 | (hi : ⊤ ≤ s ⁻¹ᵁ U i) : |
| 49 | (pointCechRetraction f s hs U i hi).comp (CubeProperCechAugmentation.Construction.CubeCech.properCechAugmentation f U) = LinearMap.id := by |
| 50 | apply LinearMap.ext |
| 51 | intro r |
| 52 | exact pointEvaluation_constants f s hs (U i) hi r |
| 53 | |
| 54 | theorem pointCech_index_exists {ι : Type v} (U : ι → X.Opens) (hU : iSup U = ⊤) : |
| 55 | ∃ i, ⊤ ≤ s ⁻¹ᵁ U i := by |
| 56 | let p : Spec (.of k) := IsLocalRing.closedPoint k |
| 57 | have hp : s p ∈ iSup U := by rw [hU]; trivial |
| 58 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hp |
| 59 | refine ⟨i, ?_⟩ |
| 60 | intro x _ |
| 61 | have hx : x = p := Subsingleton.elim _ _ |
| 62 | change s x ∈ U i |
| 63 | rw [hx] |
| 64 | exact hi |
| 65 | |
| 66 | def chosenPointCechRetraction {ι : Type v} (U : ι → X.Opens) (hU : iSup U = ⊤) : |
| 67 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U →ₗ[k] k := |
| 68 | pointCechRetraction f s hs U (pointCech_index_exists s U hU).choose |
| 69 | (pointCech_index_exists s U hU).choose_spec |
| 70 | |
| 71 | theorem chosenPointCechRetraction_comp {ι : Type v} (U : ι → X.Opens) (hU : iSup U = ⊤) : |
| 72 | (chosenPointCechRetraction f s hs U hU).comp (CubeProperCechAugmentation.Construction.CubeCech.properCechAugmentation f U) = LinearMap.id := |
| 73 | pointCechRetraction_comp f s hs U _ _ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubePointEvaluation.Construction.CubeCech |