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.IsogenyQuotient.Intrinsic.DoubleAnnihilator |
| 2 | |
| 3 | /-! # Relative Annihilator -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Translate CartierDuality's native double-annihilator theorem to the relative |
| 11 | subgroup functor used by the quotient construction. The subgroup is the |
| 12 | original native image and both annihilators use the actual scheme map. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | def Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup {S : Scheme.{u}} {A H : Over S} |
| 21 | [GrpObj A] [GrpObj H] (i : H ⟶ A) [IsMonHom i] : |
| 22 | TorsionQuotient.SubgroupFunctor.RelativeSubgroup A (Over.mk (𝟙 S)) where |
| 23 | points T _ := (IsMonHom.monoidHom i T).range |
| 24 | naturality := by |
| 25 | intro X Y f t a ha |
| 26 | obtain ⟨x, rfl⟩ := ha |
| 27 | exact ⟨f ≫ x, Category.assoc f x i⟩ |
| 28 | |
| 29 | def Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup_model {S : Scheme.{u}} {A H : Over S} |
| 30 | [GrpObj A] [GrpObj H] (i : H ⟶ A) [IsMonHom i] [Mono i] |
| 31 | [IsFinite H.hom] [Flat H.hom] [LocallyOfFinitePresentation H.hom] : |
| 32 | (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i).Model where |
| 33 | carrier := H |
| 34 | toBase := Over.homMk H.hom (Category.comp_id _) |
| 35 | toGroup := i |
| 36 | finite := inferInstanceAs (IsFinite H.hom) |
| 37 | flat := inferInstanceAs (Flat H.hom) |
| 38 | finitePresentation := inferInstanceAs (LocallyOfFinitePresentation H.hom) |
| 39 | jointly_monic _ _ _ _ hh := (cancel_mono i).mp hh |
| 40 | points_iff X t a := by |
| 41 | constructor |
| 42 | · rintro ⟨h, hh⟩ |
| 43 | refine ⟨h, ?_, hh⟩ |
| 44 | apply Over.OverMorphism.ext |
| 45 | exact h.w.trans (t.w.symm.trans (Category.comp_id t.left)) |
| 46 | · rintro ⟨h, _, hh⟩ |
| 47 | exact ⟨h, hh⟩ |
| 48 | |
| 49 | variable {S : Scheme.{u}} {A B H : Over S} |
| 50 | [GrpObj A] [IsCommMonObj A] [GrpObj B] [IsCommMonObj B] |
| 51 | [GrpObj H] [IsCommMonObj H] |
| 52 | (e : Annihilator.Construction.SchemeBicharacter (A := A) (B := B) (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 53 | |
| 54 | omit [IsCommMonObj A] [IsCommMonObj B] [IsCommMonObj H] in |
| 55 | theorem Annihilator.Construction.SchemeBicharacter.nativeImage_annihilator_membership (i : H ⟶ A) [IsMonHom i] |
| 56 | (T : Over S) (t : T ⟶ Over.mk (𝟙 S)) (y : T ⟶ B) : |
| 57 | y ∈ (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i)).points T t ↔ |
| 58 | ∀ (U : Over S) (f : U ⟶ T) (x : U ⟶ H), e.pairValue (x ≫ i) (f ≫ y) = 1 := by |
| 59 | constructor |
| 60 | · intro h U f x |
| 61 | exact h U f (x ≫ i) ⟨x, rfl⟩ |
| 62 | · intro h U f x hx |
| 63 | obtain ⟨z, rfl⟩ := hx |
| 64 | exact h U f z |
| 65 | |
| 66 | theorem Annihilator.Construction.SchemeBicharacter.nativeImage_relative_double_annihilator |
| 67 | [IsFinite A.hom] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 68 | [IsFinite H.hom] [Flat H.hom] [LocallyOfFinitePresentation H.hom] |
| 69 | (i : Grp.mk H ⟶ Grp.mk A) [Mono i.hom.hom] (he : e.toSheafPairing.IsPerfect) : |
| 70 | e.flip.relativeAnnihilator (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)) = |
| 71 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom := by |
| 72 | ext T t x |
| 73 | change (∀ (U : Over S) (f : U ⟶ T) (y : U ⟶ B), |
| 74 | y ∈ (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)).points U (f ≫ t) → |
| 75 | e.flip.pairValue y (f ≫ x) = 1) ↔ _ |
| 76 | simp only [Annihilator.Construction.SchemeBicharacter.nativeImage_annihilator_membership, Annihilator.Construction.SchemeBicharacter.flip_pairValue] |
| 77 | exact e.native_double_annihilator_from_perfect_pairing i he T x |
| 78 | |
| 79 | theorem Annihilator.Construction.SchemeBicharacter.nativeImage_relative_annihilator_has_model |
| 80 | [IsFinite A.hom] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 81 | [IsFinite H.hom] [Flat H.hom] [LocallyOfFinitePresentation H.hom] |
| 82 | (i : Grp.mk H ⟶ Grp.mk A) [Mono i.hom.hom] (he : e.toSheafPairing.IsPerfect) : |
| 83 | Nonempty (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)).Model := by |
| 84 | obtain ⟨J, hc, k, hf, hflat, hfp, hk, hpoints⟩ := e.native_annihilator_from_perfect_pairing i he |
| 85 | let := hc |
| 86 | let := hf |
| 87 | let := hflat |
| 88 | let := hfp |
| 89 | let := hk |
| 90 | have heq : e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom) = |
| 91 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup k.hom.hom := by |
| 92 | ext T t y |
| 93 | rw [Annihilator.Construction.SchemeBicharacter.nativeImage_annihilator_membership] |
| 94 | exact (hpoints T y).symm |
| 95 | rw [heq] |
| 96 | exact ⟨Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup_model k.hom.hom⟩ |
| 97 | |
| 98 | theorem Annihilator.Construction.SchemeBicharacter.nativeImage_relative_annihilator_model_and_double |
| 99 | [IsFinite A.hom] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 100 | [IsFinite H.hom] [Flat H.hom] [LocallyOfFinitePresentation H.hom] |
| 101 | (i : Grp.mk H ⟶ Grp.mk A) [Mono i.hom.hom] (he : e.toSheafPairing.IsPerfect) : |
| 102 | Nonempty (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)).Model ∧ |
| 103 | e.flip.relativeAnnihilator (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)) = |
| 104 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom := |
| 105 | ⟨e.nativeImage_relative_annihilator_has_model i he, |
| 106 | e.nativeImage_relative_double_annihilator i he⟩ |
| 107 | |
| 108 | theorem Annihilator.Construction.SchemeBicharacter.commGroupImage_relative_annihilator_model_and_double |
| 109 | [IsFinite A.hom] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 110 | (J : CommGrp (Over S)) |
| 111 | [IsFinite J.X.hom] [Flat J.X.hom] [LocallyOfFinitePresentation J.X.hom] |
| 112 | (i : J.toGrp ⟶ Grp.mk A) [Mono i.hom.hom] (he : e.toSheafPairing.IsPerfect) : |
| 113 | Nonempty (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)).Model ∧ |
| 114 | e.flip.relativeAnnihilator (e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom)) = |
| 115 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup i.hom.hom := |
| 116 | e.nativeImage_relative_annihilator_model_and_double i he |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |