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.Intrinsic.SectionEvaluation |
| 2 | |
| 3 | /-! # Section Reduction Evaluation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionReductionEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation along actual geometric sections commutes with a |
| 10 | specified change of base and its commuting section square. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem appLE_congr {P Q : Scheme} (f g : P ⟶ Q) (h : f = g) |
| 19 | (U : Q.Opens) (V : P.Opens) (hf : V ≤ f ⁻¹ᵁ U) (hg : V ≤ g ⁻¹ᵁ U) : |
| 20 | f.appLE U V hf = g.appLE U V hg := by |
| 21 | subst g |
| 22 | rfl |
| 23 | |
| 24 | universe u |
| 25 | variable {R S : Type u} [CommRing R] [CommRing S] (ρ : R →+* S) |
| 26 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 27 | (f : Y.left ⟶ X.left) |
| 28 | (sX : Spec (CommRingCat.of R) ⟶ X.left) (hsX : sX ≫ X.hom = 𝟙 _) |
| 29 | (sY : Spec (CommRingCat.of S) ⟶ Y.left) (hsY : sY ≫ Y.hom = 𝟙 _) |
| 30 | (h : sY ≫ f = Spec.map (CommRingCat.ofHom ρ) ≫ sX) |
| 31 | (U : X.left.Opens) (hU : ⊤ ≤ sX ⁻¹ᵁ U) (hV : ⊤ ≤ sY ⁻¹ᵁ (f ⁻¹ᵁ U)) |
| 32 | |
| 33 | include h in |
| 34 | theorem evaluation (a : Γ(X.left, U)) : |
| 35 | SectionEvaluation.evaluation S Y sY hsY (f ⁻¹ᵁ U) hV (f.app U a) = |
| 36 | ρ (SectionEvaluation.evaluation R X sX hsX U hU a) := by |
| 37 | have happ : f.app U ≫ sY.appLE (f ⁻¹ᵁ U) ⊤ hV = |
| 38 | sX.appLE U ⊤ hU ≫ (Spec.map (CommRingCat.ofHom ρ)).appLE ⊤ ⊤ le_top := by |
| 39 | rw [← Scheme.Hom.comp_appLE, Scheme.Hom.appLE_comp_appLE] |
| 40 | exact appLE_congr _ _ h U ⊤ _ _ |
| 41 | have htop : (Spec.map (CommRingCat.ofHom ρ)).appLE ⊤ ⊤ le_top = |
| 42 | (Spec.map (CommRingCat.ofHom ρ)).appTop := by |
| 43 | simp only [Scheme.Hom.appLE, Scheme.Hom.appTop] |
| 44 | exact Category.comp_id _ |
| 45 | have hs : (f.app U ≫ sY.appLE (f ⁻¹ᵁ U) ⊤ hV) ≫ |
| 46 | (Scheme.ΓSpecIso (CommRingCat.of S)).hom = |
| 47 | (sX.appLE U ⊤ hU ≫ (Scheme.ΓSpecIso (CommRingCat.of R)).hom) ≫ |
| 48 | CommRingCat.ofHom ρ := by |
| 49 | rw [happ, Category.assoc, htop, Scheme.ΓSpecIso_naturality, Category.assoc] |
| 50 | exact ConcreteCategory.congr_hom hs a |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionReductionEvaluation |