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.EquivRestriction |
| 2 | |
| 3 | /-! # Equiv Pullback Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivPullbackRestriction.Geometry |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pull back and restrict a parameter through the same specified |
| 10 | original affine equivalence, retaining the literal target restrictions. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | (X₁ X₂ : Over (Spec (CommRingCat.of R))) (f : X₁ ⟶ X₂) |
| 17 | (U₁ : X₁.left.Opens) (U₂ U₀ : X₂.left.Opens) |
| 18 | (hU₁ : IsAffineOpen U₁) (hU₂ : IsAffineOpen U₂) |
| 19 | (e : EquivGeometry.ring R X₁ U₁ ≃ₐ[R] EquivGeometry.ring R X₂ U₂) |
| 20 | (hpull : U₁ ≤ f.left ⁻¹ᵁ U₀) |
| 21 | (V : X₁.left.Opens) (hVU : V ≤ U₁) |
| 22 | (W : X₂.left.Opens) (hW₀ : W ≤ U₀) (hW₂ : W ≤ U₂) |
| 23 | (hVW : V ≤ f.left ⁻¹ᵁ W) |
| 24 | (hTW : EquivGeometry.targetOpen R X₁ X₂ U₁ U₂ hU₁ hU₂ e V ≤ W) |
| 25 | |
| 26 | theorem pullback_restriction (a : EquivGeometry.ring R X₂ U₀) : |
| 27 | EquivGeometry.sectionEquiv R X₁ X₂ U₁ U₂ hU₁ hU₂ e V hVU |
| 28 | (f.left.appLE W V hVW (X₂.left.presheaf.map (homOfLE hW₀).op a)) = |
| 29 | X₂.left.presheaf.map (homOfLE hTW).op |
| 30 | (X₂.left.presheaf.map (homOfLE hW₂).op |
| 31 | (e (f.left.appLE U₀ U₁ hpull a))) := by |
| 32 | have hleft := ConcreteCategory.congr_hom |
| 33 | (f.left.map_appLE hVW (homOfLE hW₀).op) a |
| 34 | have hright := ConcreteCategory.congr_hom |
| 35 | (f.left.appLE_map hpull (homOfLE hVU).op) a |
| 36 | have hin : f.left.appLE W V hVW (X₂.left.presheaf.map (homOfLE hW₀).op a) = |
| 37 | X₁.left.presheaf.map (homOfLE hVU).op (f.left.appLE U₀ U₁ hpull a) := |
| 38 | hleft.trans hright.symm |
| 39 | rw [hin, EquivRestriction.Geometry.sectionEquiv_restriction] |
| 40 | have hr : X₂.left.presheaf.map |
| 41 | (homOfLE (EquivGeometry.target_below R X₁ X₂ U₁ U₂ hU₁ hU₂ e V)).op = |
| 42 | X₂.left.presheaf.map (homOfLE hW₂).op ≫ X₂.left.presheaf.map (homOfLE hTW).op := by |
| 43 | rw [← Functor.map_comp] |
| 44 | congr 1 |
| 45 | exact ConcreteCategory.congr_hom hr (e (f.left.appLE U₀ U₁ hpull a)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivPullbackRestriction.Geometry |