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.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 2 | |
| 3 | /-! # Section Evaluation -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation of actual regular sections at actual complex scheme points. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 12 | |
| 13 | variable {X Y : Scheme} |
| 14 | |
| 15 | def complexSectionValue (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) (U : X.Opens) |
| 16 | (hp : p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U) : Γ(X, U) →+* ℂ := |
| 17 | (Scheme.ΓSpecIso (.of ℂ)).hom.hom.comp (p.appLE U ⊤ (by |
| 18 | intro x _ |
| 19 | change p x ∈ U |
| 20 | rwa [Subsingleton.elim x (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)])).hom |
| 21 | |
| 22 | theorem complexSectionValue_congr (p q : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) (h : p = q) (U : X.Opens) |
| 23 | (hp : p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U) (hq : q (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U) (s : Γ(X, U)) : |
| 24 | complexSectionValue p U hp s = complexSectionValue q U hq s := by |
| 25 | subst q |
| 26 | rfl |
| 27 | |
| 28 | theorem complexSectionValue_restrict (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) (U V : X.Opens) |
| 29 | (hVU : V ≤ U) (hp : p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ V) (s : Γ(X, U)) : |
| 30 | complexSectionValue p V hp (X.presheaf.map (homOfLE hVU).op s) = |
| 31 | complexSectionValue p U (hVU hp) s := by |
| 32 | have h := p.map_appLE (show (⊤ : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase.Opens) ≤ p ⁻¹ᵁ V from by |
| 33 | intro x _ |
| 34 | change p x ∈ V |
| 35 | rwa [Subsingleton.elim x (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)]) (homOfLE hVU).op |
| 36 | exact congrArg (fun f : Γ(X, U) ⟶ Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) => |
| 37 | (Scheme.ΓSpecIso (.of ℂ)).hom (f s)) h |
| 38 | |
| 39 | theorem complexSectionValue_pullback (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) (f : X ⟶ Y) |
| 40 | (U : Y.Opens) (V : X.Opens) (hV : V ≤ f ⁻¹ᵁ U) |
| 41 | (hp : p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ V) (s : Γ(Y, U)) : |
| 42 | complexSectionValue p V hp (f.appLE U V hV s) = |
| 43 | complexSectionValue (p ≫ f) U (hV hp) s := by |
| 44 | have h := Scheme.Hom.appLE_comp_appLE p f U V ⊤ hV (by |
| 45 | intro x _ |
| 46 | change p x ∈ V |
| 47 | rwa [Subsingleton.elim x (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)]) |
| 48 | exact congrArg (fun g : Γ(Y, U) ⟶ Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) => |
| 49 | (Scheme.ΓSpecIso (.of ℂ)).hom (g s)) h |
| 50 | |
| 51 | theorem complexSectionValue_spec {R : Type} [CommRing R] (a : R →+* ℂ) (r : R) : |
| 52 | complexSectionValue (Spec.map (CommRingCat.ofHom a)) ⊤ (by trivial) |
| 53 | ((Scheme.ΓSpecIso (.of R)).inv r) = a r := by |
| 54 | change (Scheme.ΓSpecIso (.of ℂ)).hom |
| 55 | ((Spec.map (CommRingCat.ofHom a)).appTop ((Scheme.ΓSpecIso (.of R)).inv r)) = a r |
| 56 | have h := Scheme.ΓSpecIso_naturality (CommRingCat.ofHom a) |
| 57 | have h' := ConcreteCategory.congr_hom h ((Scheme.ΓSpecIso (.of R)).inv r) |
| 58 | change (Scheme.ΓSpecIso (.of ℂ)).hom |
| 59 | ((Spec.map (CommRingCat.ofHom a)).appTop ((Scheme.ΓSpecIso (.of R)).inv r)) = |
| 60 | a ((Scheme.ΓSpecIso (.of R)).hom ((Scheme.ΓSpecIso (.of R)).inv r)) at h' |
| 61 | rw [Iso.inv_hom_id_apply] at h' |
| 62 | exact h' |
| 63 | |
| 64 | theorem complexSectionValue_open (U : X.Opens) (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ U.toScheme) (s : Γ(X, U)) : |
| 65 | complexSectionValue (p ≫ U.ι) U (p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)).property s = |
| 66 | complexSectionValue p ⊤ (by trivial) (U.topIso.inv s) := by |
| 67 | have h := complexSectionValue_pullback p U.ι U ⊤ U.ι_preimage_self.ge (by trivial) s |
| 68 | have hm : U.ι.appLE U ⊤ U.ι_preimage_self.ge = U.topIso.inv := by |
| 69 | simp only [Scheme.Opens.ι_appLE, Scheme.Opens.topIso_inv] |
| 70 | exact congrArg X.presheaf.map (Subsingleton.elim _ _) |
| 71 | rw [hm] at h |
| 72 | exact h.symm |
| 73 | |
| 74 | theorem complexSectionValue_affineIso {R : Type} [CommRing R] |
| 75 | (e : X ≅ Spec (.of R)) (a : R →+* ℂ) (r : R) : |
| 76 | complexSectionValue (Spec.map (CommRingCat.ofHom a) ≫ e.inv) ⊤ (by trivial) |
| 77 | (e.hom.appTop ((Scheme.ΓSpecIso (.of R)).inv r)) = a r := by |
| 78 | have h := complexSectionValue_pullback (Spec.map (CommRingCat.ofHom a) ≫ e.inv) e.hom |
| 79 | ⊤ ⊤ (by simp) (by trivial) ((Scheme.ΓSpecIso (.of R)).inv r) |
| 80 | have ht : e.hom.appLE ⊤ ⊤ (by simp) = e.hom.appTop := e.hom.appLE_eq_app |
| 81 | rw [ht] at h |
| 82 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] at h |
| 83 | exact h.trans (complexSectionValue_spec a r) |
| 84 | |
| 85 | theorem complexRingHom_units_zpow {R : Type} [CommRing R] (f : R →+* ℂ) (u : Rˣ) (d : ℤ) : |
| 86 | f ((u ^ d : Rˣ) : R) = (f (u : R)) ^ d := by |
| 87 | change ((Units.map f.toMonoidHom (u ^ d) : ℂˣ) : ℂ) = _ |
| 88 | rw [map_zpow, Units.val_zpow_eq_zpow_val] |
| 89 | rfl |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation |