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.AlgebraicGeometry.Morphisms.Finite |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | |
| 4 | /-! # Affine Restriction Square -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.AffineRestrictionSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual cartesian square of section rings over nested affine opens |
| 11 | for an affine morphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsAffineHom f] |
| 18 | {U V : Y.Opens} (hVU : V ≤ U) (hU : IsAffineOpen U) (hV : IsAffineOpen V) |
| 19 | |
| 20 | include hU hV in |
| 21 | theorem isPushout : IsPushout (Y.presheaf.map (homOfLE hVU).op) (f.app U) |
| 22 | (f.app V) (X.presheaf.map (homOfLE (show f ⁻¹ᵁ V ≤ f ⁻¹ᵁ U from |
| 23 | (Opens.map f.base).monotone hVU)).op) := by |
| 24 | let H : IsPullback (𝟙 X) f f (𝟙 Y) := IsPullback.id_horiz f |
| 25 | have hleft : V ≤ (𝟙 Y) ⁻¹ᵁ U := by simpa using hVU |
| 26 | have hright : f ⁻¹ᵁ U ≤ f ⁻¹ᵁ U := le_rfl |
| 27 | have hbot : f ⁻¹ᵁ V = (𝟙 X) ⁻¹ᵁ (f ⁻¹ᵁ U) ⊓ f ⁻¹ᵁ V := by |
| 28 | simpa using (inf_eq_right.mpr ((Opens.map f.base).monotone hVU)).symm |
| 29 | let : IsIso (pushoutSection H hleft hright hbot) := |
| 30 | isIso_pushoutSection_of_isAffineOpen H hleft hright hbot hU hV (hU.preimage f) |
| 31 | have hp := ((isIso_pushoutSection_iff H hleft hright hbot).mp inferInstance).flip |
| 32 | convert hp using 1 <;> ext a <;> first | rfl | simp only [Scheme.Hom.appLE_eq_app] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.AffineRestrictionSquare |