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.PresentationRegularSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open.ImmersionSectionMorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.SectionTransport |
| 4 | |
| 5 | /-! # Presentation Section Morphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationSectionMorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine coefficient maps commuting with an ambient scheme |
| 12 | morphism agree with pullback of the original regular sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 17 | |
| 18 | theorem openRange_preimage_of_square {A B X Y : Scheme.{0}} |
| 19 | (q : A ⟶ B) (i : B ⟶ Y) (j : A ⟶ X) (f : X ⟶ Y) |
| 20 | [IsOpenImmersion i] [IsOpenImmersion j] (h : q ≫ i = j ≫ f) : |
| 21 | j.opensRange ≤ f ⁻¹ᵁ i.opensRange := by |
| 22 | rintro x ⟨a, rfl⟩ |
| 23 | refine ⟨q a, ?_⟩ |
| 24 | exact congrArg (fun m : A ⟶ Y => m a) h |
| 25 | |
| 26 | theorem affinePresentationRegularSectionEquiv_morphism |
| 27 | (k : Type) [CommRing k] (B C : CommAlgCat k) (X Y : Over (Spec (.of k))) |
| 28 | (i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ Y) (j : EtaleSplittingAt.EtaleSplitting.affineOver k C ⟶ X) |
| 29 | [IsOpenImmersion i.left] [IsOpenImmersion j.left] (f : X ⟶ Y) (q : B →ₐ[k] C) |
| 30 | (hi : AlgebraAutomorphismNaturality.affineOverAlgHom k B C q ≫ i = j ≫ f) |
| 31 | (h : j.left.opensRange ≤ f.left ⁻¹ᵁ i.left.opensRange) (a : B) : |
| 32 | PresentationRegularSections.affinePresentationRegularSectionEquiv k C X j (q a) = |
| 33 | f.left.appLE i.left.opensRange j.left.opensRange h (PresentationRegularSections.affinePresentationRegularSectionEquiv k B Y i a) := by |
| 34 | let m := AlgebraAutomorphismNaturality.affineOverAlgHom k B C q |
| 35 | have hΓ : (Scheme.ΓSpecIso (.of C)).inv (q a) = |
| 36 | m.left.appTop ((Scheme.ΓSpecIso (.of B)).inv a) := |
| 37 | ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom q.toRingHom)) a |
| 38 | have H := ConcreteCategory.congr_hom (Open.ImmersionSectionMorphism.openImmersionTopSectionIso_morphism m.left i.left j.left f.left |
| 39 | (congrArg Over.Hom.left hi) h) ((Scheme.ΓSpecIso (.of B)).inv a) |
| 40 | change (IsOpenImmersion.ΓIsoTop j.left).hom ((Scheme.ΓSpecIso (.of C)).inv (q a)) = |
| 41 | f.left.appLE i.left.opensRange j.left.opensRange h |
| 42 | ((IsOpenImmersion.ΓIsoTop i.left).hom ((Scheme.ΓSpecIso (.of B)).inv a)) |
| 43 | rw [hΓ] |
| 44 | exact H |
| 45 | |
| 46 | theorem regularSectionTransport_appLE {X Y : Scheme.{0}} (f : X ⟶ Y) |
| 47 | {U U' : Y.Opens} {V V' : X.Opens} (hU : U = U') (hV : V = V') |
| 48 | (h : V ≤ f ⁻¹ᵁ U) (h' : V' ≤ f ⁻¹ᵁ U') (s : Γ(Y, U)) : |
| 49 | Regular.SectionTransport.regularSectionTransport hV (f.appLE U V h s) = |
| 50 | f.appLE U' V' h' (Regular.SectionTransport.regularSectionTransport hU s) := by |
| 51 | subst U' |
| 52 | subst V' |
| 53 | rfl |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PresentationSectionMorphism |