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.AbelianScheme.CartierDuality.LineHomDescent |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCharacterDetection |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.CharacterSpan |
| 4 | |
| 5 | /-! # Line Character Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineCharacterDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: kernel characters distinguish pullback-trivialized line bundles |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.LineDescent |
| 20 | |
| 21 | /-- An isomorphism intertwines two maps in both directions. -/ |
| 22 | theorem inverse_intertwines {C : Type*} [Category C] |
| 23 | {A₁ A₂ B₁ B₂ : C} (e : A₁ ≅ B₁) (d : A₂ ≅ B₂) |
| 24 | (a : A₁ ⟶ A₂) (b : B₁ ⟶ B₂) (h : e.hom ≫ b = a ≫ d.hom) : |
| 25 | e.inv ≫ a = b ≫ d.inv := by |
| 26 | apply (cancel_epi e.hom).mp |
| 27 | simp only [Iso.hom_inv_id_assoc] |
| 28 | rw [← Category.assoc, h, Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 29 | |
| 30 | /-- Compatible actual line-bundle isomorphisms descend through the cover. -/ |
| 31 | theorem nonempty_iso_of_compatible {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 32 | [Flat f] [Surjective f] [QuasiCompact f] |
| 33 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 34 | (e : (Scheme.Modules.pullback f).obj L.sheaf ≅ (Scheme.Modules.pullback f).obj M.sheaf) |
| 35 | (he : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 36 | (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 37 | (Scheme.Modules.pullback x).map e.hom ≫ (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M.sheaf).hom q x y hx hy = |
| 38 | (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L.sheaf).hom q x y hx hy ≫ (Scheme.Modules.pullback y).map e.hom) : |
| 39 | Nonempty (L.sheaf ≅ M.sheaf) := by |
| 40 | let b := Picard.Homomorphisms.ModuleHomBaseChange.Construction.canonicalDescentHom f e.hom he |
| 41 | let c := Picard.Homomorphisms.ModuleHomBaseChange.Construction.canonicalDescentHom f e.inv (fun q x y hx hy => |
| 42 | inverse_intertwines ((Scheme.Modules.pullback x).mapIso e) ((Scheme.Modules.pullback y).mapIso e) |
| 43 | ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L.sheaf).hom q x y hx hy) |
| 44 | ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M.sheaf).hom q x y hx hy) (he q x y hx hy)) |
| 45 | obtain ⟨a, ha, _⟩ := LineHomDescent.Construction.LineDescent.existsUnique_lineHom_descent f L M b |
| 46 | obtain ⟨d, hd, _⟩ := LineHomDescent.Construction.LineDescent.existsUnique_lineHom_descent f M L c |
| 47 | have ha' : (Scheme.Modules.pullback f).map a = e.hom := ha |
| 48 | have hd' : (Scheme.Modules.pullback f).map d = e.inv := hd |
| 49 | refine ⟨⟨a, d, ?_, ?_⟩⟩ |
| 50 | · apply LineHomDescent.Construction.LineDescent.pullbackHom_injective_lines f L L |
| 51 | rw [Functor.map_comp, ha', hd', e.hom_inv_id, CategoryTheory.Functor.map_id] |
| 52 | · apply LineHomDescent.Construction.LineDescent.pullbackHom_injective_lines f M M |
| 53 | rw [Functor.map_comp, hd', ha', e.inv_hom_id, CategoryTheory.Functor.map_id] |
| 54 | |
| 55 | end Construction.LineDescent |
| 56 | |
| 57 | namespace Construction.KernelCharacters |
| 58 | |
| 59 | open scoped _root_.CategoryTheory.MonObj |
| 60 | |
| 61 | /-- Every class in the pullback kernel has an actual representative |
| 62 | and an actual trivialization, obtained from equality of module-sheaf classes. -/ |
| 63 | theorem exists_trivialized_representative |
| 64 | {S : Scheme.{u}} {A B : Over S} (f : A ⟶ B) |
| 65 | (q : {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.left // |
| 66 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left}) : |
| 67 | ∃ L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L = q.val ∧ |
| 68 | Nonempty ((Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) := by |
| 69 | obtain ⟨L, hL⟩ := Quotient.exists_rep q.val |
| 70 | refine ⟨L, hL, ?_⟩ |
| 71 | exact Quotient.exact ((congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left) hL).trans q.property) |
| 72 | |
| 73 | variable {k : Type u} [Field k] |
| 74 | variable {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 75 | variable (f : A ⟶ B) [IsMonHom f] |
| 76 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 77 | variable [IsAffine (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).left] |
| 78 | variable [Flat f.left] [Surjective f.left] [QuasiCompact f.left] |
| 79 | |
| 80 | /-- Equal characters give isomorphic original line bundles; the proof |
| 81 | uses the complete native gluing relation, including nonreduced tests. -/ |
| 82 | theorem line_iso_of_character_eq |
| 83 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 84 | (e : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 85 | (d : (Scheme.Modules.pullback f.left).obj M.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 86 | (R : CommHopfAlgCat k) |
| 87 | (i : ((hopfSpec (.of k)).obj (.op R)).X ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) [IsMonHom i.hom] |
| 88 | (h : Picard.Homomorphisms.LineKernelCharacters.Construction.lineKernelCoordinateCharacter L e R i.hom = Picard.Homomorphisms.LineKernelCharacters.Construction.lineKernelCoordinateCharacter M d R i.hom) : |
| 89 | Nonempty (L.sheaf ≅ M.sheaf) := by |
| 90 | have hs := Picard.Homomorphisms.LineKernelCharacters.Construction.kernelCocycleCoordinateCharacter_eq_implies_scalar_eq |
| 91 | (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f L e) (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f M d) R i h |
| 92 | exact LineDescent.nonempty_iso_of_compatible f.left L M (e ≪≫ d.symm) |
| 93 | (fun q x y hx hy => Picard.Homomorphisms.KernelCharacterDetection.Construction.kernelScalar_eq_implies_native_compatible |
| 94 | (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineNativeDatum f L) (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineNativeDatum f M) e d hs q x y hx hy) |
| 95 | |
| 96 | /-- The pullback kernel of actual line-bundle classes embeds into the |
| 97 | coordinate characters of the scheme-theoretic kernel. -/ |
| 98 | def pullbackKernelCharacterEmbedding |
| 99 | (R : CommHopfAlgCat k) |
| 100 | (i : ((hopfSpec (.of k)).obj (.op R)).X ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) [IsMonHom i.hom] : |
| 101 | {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.left // |
| 102 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left} ↪ GroupLike k R := by |
| 103 | choose L hL e using exists_trivialized_representative f |
| 104 | refine ⟨fun q => Picard.Homomorphisms.LineKernelCharacters.Construction.lineKernelCoordinateCharacter (L q) (Classical.choice (e q)) R i.hom, ?_⟩ |
| 105 | intro q r h |
| 106 | apply Subtype.ext |
| 107 | have he : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L q) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L r) := |
| 108 | Quotient.sound (line_iso_of_character_eq f (L q) (L r) |
| 109 | (Classical.choice (e q)) (Classical.choice (e r)) R i h) |
| 110 | exact (hL q).symm.trans (he.trans (hL r)) |
| 111 | |
| 112 | /-- A finite-dimensional kernel Hopf algebra permits only finitely |
| 113 | many line-bundle classes trivialized by the group morphism. -/ |
| 114 | theorem finite_pullbackKernel |
| 115 | (R : CommHopfAlgCat k) [Module.Finite k R] |
| 116 | (i : ((hopfSpec (.of k)).obj (.op R)).X ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) [IsMonHom i.hom] : |
| 117 | Finite {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.left // |
| 118 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left} := by |
| 119 | have : Finite (GroupLike k R) := Picard.Homomorphisms.CharacterSpan.Construction.finite_coordinateCharacters k R |
| 120 | exact Finite.of_injective _ (pullbackKernelCharacterEmbedding f R i).injective |
| 121 | |
| 122 | end Construction.KernelCharacters |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineCharacterDetection |