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.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivReduction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RestrictionHomExt |
| 3 | |
| 4 | /-! # Equiv Compatibility -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivCompatibility.Geometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restricting the same affine equivalence preserves the original |
| 11 | commuting square on section rings, as well as the common reduced open. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | (X₁ X₂ : Over (Spec (CommRingCat.of R))) |
| 19 | (U₁ : X₁.left.Opens) (U₂ : X₂.left.Opens) |
| 20 | (hU₁ : IsAffineOpen U₁) (hU₂ : IsAffineOpen U₂) |
| 21 | (e : EquivGeometry.ring R X₁ U₁ ≃ₐ[R] EquivGeometry.ring R X₂ U₂) |
| 22 | {Y : Scheme.{u}} (f₁ : Y ⟶ X₁.left) (f₂ : Y ⟶ X₂.left) |
| 23 | (h : f₁ ⁻¹ᵁ U₁ = f₂ ⁻¹ᵁ U₂) |
| 24 | (he : CommRingCat.ofHom e.toRingHom ≫ f₂.appLE U₂ (f₁ ⁻¹ᵁ U₁) h.le = f₁.app U₁) |
| 25 | (V : X₁.left.Opens) (hV : IsAffineOpen V) (hVU : V ≤ U₁) |
| 26 | |
| 27 | include hV in |
| 28 | theorem section_compatibility : |
| 29 | CommRingCat.ofHom (EquivGeometry.sectionEquiv R X₁ X₂ U₁ U₂ hU₁ hU₂ e V hVU).toRingHom ≫ |
| 30 | f₂.appLE (EquivGeometry.targetOpen R X₁ X₂ U₁ U₂ hU₁ hU₂ e V) (f₁ ⁻¹ᵁ V) |
| 31 | (EquivReduction.Geometry.target_preimage R X₁ X₂ U₁ U₂ hU₁ hU₂ e f₁ f₂ h he V hVU).le = |
| 32 | f₁.app V := by |
| 33 | apply Affine.RestrictionHomExt.hom_ext U₁ V hU₁ hV hVU |
| 34 | have heV : X₁.left.presheaf.map (homOfLE hVU).op ≫ |
| 35 | CommRingCat.ofHom (EquivGeometry.sectionEquiv R X₁ X₂ U₁ U₂ hU₁ hU₂ e V hVU).toRingHom = |
| 36 | CommRingCat.ofHom e.toRingHom ≫ X₂.left.presheaf.map |
| 37 | (homOfLE (EquivGeometry.target_below R X₁ X₂ U₁ U₂ hU₁ hU₂ e V)).op := by |
| 38 | ext a |
| 39 | exact EquivRestriction.Geometry.sectionEquiv_restriction R X₁ X₂ U₁ U₂ hU₁ hU₂ e V hVU a |
| 40 | rw [← Category.assoc, heV, Category.assoc, Scheme.Hom.map_appLE] |
| 41 | have hr := f₂.appLE_map (U := U₂) h.le (homOfLE (f₁.preimage_mono hVU)).op |
| 42 | rw [← hr, ← Category.assoc, he] |
| 43 | exact (f₁.naturality (homOfLE hVU).op).symm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivCompatibility.Geometry |