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.AbelianModuli.ReferenceFamily.Affine.AlgebraAutomorphismNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.ImmersionGlobalSections |
| 3 | |
| 4 | /-! # Presentation Regular Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The ring of any actual affine presentation identifies with |
| 11 | the original regular sections on its open image. The identification |
| 12 | preserves restrictions and the constants of the original base morphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 17 | |
| 18 | variable (k : Type) [CommRing k] (B : CommAlgCat k) (X : Over (Spec (.of k))) |
| 19 | (i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ X) [IsOpenImmersion i.left] |
| 20 | |
| 21 | def affinePresentationRegularSectionEquiv : B ≃+* Γ(X.left, i.left.opensRange) := |
| 22 | ((Scheme.ΓSpecIso (.of B)).symm ≪≫ IsOpenImmersion.ΓIsoTop i.left).commRingCatIsoToRingEquiv |
| 23 | |
| 24 | theorem affinePresentationRegularSectionEquiv_constant (c : k) : |
| 25 | affinePresentationRegularSectionEquiv k B X i (algebraMap k B c) = |
| 26 | X.left.presheaf.map (homOfLE (show i.left.opensRange ≤ ⊤ from le_top)).op |
| 27 | (X.hom.appTop ((Scheme.ΓSpecIso (.of k)).inv c)) := by |
| 28 | have hΓ : (Scheme.ΓSpecIso (.of B)).inv (algebraMap k B c) = |
| 29 | (Spec.map (CommRingCat.ofHom (algebraMap k B))).appTop ((Scheme.ΓSpecIso (.of k)).inv c) := |
| 30 | ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom (algebraMap k B))) c |
| 31 | have hi := congrArg (fun f : (EtaleSplittingAt.EtaleSplitting.affineOver k B).left ⟶ Spec (.of k) => |
| 32 | f.appTop ((Scheme.ΓSpecIso (.of k)).inv c)) i.w |
| 33 | rw [Scheme.Hom.comp_appTop] at hi |
| 34 | have he : (Scheme.ΓSpecIso (.of B)).inv (algebraMap k B c) = |
| 35 | i.left.appTop (X.hom.appTop ((Scheme.ΓSpecIso (.of k)).inv c)) := hΓ.trans hi.symm |
| 36 | change (IsOpenImmersion.ΓIsoTop i.left).hom ((Scheme.ΓSpecIso (.of B)).inv (algebraMap k B c)) = _ |
| 37 | rw [he] |
| 38 | exact Open.ImmersionGlobalSections.openImmersionTopSection_global i.left _ |
| 39 | |
| 40 | variable (C : CommAlgCat k) (j : EtaleSplittingAt.EtaleSplitting.affineOver k C ⟶ X) [IsOpenImmersion j.left] |
| 41 | |
| 42 | theorem affinePresentationRegularSectionEquiv_natural (q : B →ₐ[k] C) |
| 43 | (hi : AlgebraAutomorphismNaturality.affineOverAlgHom k B C q ≫ i = j) (h : j.left.opensRange ≤ i.left.opensRange) (a : B) : |
| 44 | affinePresentationRegularSectionEquiv k C X j (q a) = |
| 45 | X.left.presheaf.map (homOfLE h).op (affinePresentationRegularSectionEquiv k B X i a) := by |
| 46 | let f := AlgebraAutomorphismNaturality.affineOverAlgHom k B C q |
| 47 | have hΓ : (Scheme.ΓSpecIso (.of C)).inv (q a) = |
| 48 | f.left.appTop ((Scheme.ΓSpecIso (.of B)).inv a) := |
| 49 | ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom q.toRingHom)) a |
| 50 | have hs := ConcreteCategory.congr_hom (Open.ImmersionGlobalSections.openImmersionTopSectionIso_natural f.left i.left j.left |
| 51 | (congrArg (fun g => g.left) hi) h) ((Scheme.ΓSpecIso (.of B)).inv a) |
| 52 | change (IsOpenImmersion.ΓIsoTop j.left).hom ((Scheme.ΓSpecIso (.of C)).inv (q a)) = |
| 53 | X.left.presheaf.map (homOfLE h).op ((IsOpenImmersion.ΓIsoTop i.left).hom ((Scheme.ΓSpecIso (.of B)).inv a)) |
| 54 | rw [hΓ] |
| 55 | exact hs |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationRegularSections |