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.HilbertScheme.Presentations.Hilbert.ClosedAmbientMap |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionIdealEmbedding |
| 3 | |
| 4 | /-! # Closed Ambient Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.ClosedAmbientNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The closed-ambient Hilbert map is natural for every test scheme |
| 11 | and is injective on native families. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {X Y : Over S} (j : X ⟶ Y) |
| 17 | |
| 18 | theorem ambientEmbedding_naturality {T U : Over S} (a : T ⟶ U) : |
| 19 | ClosedAmbientMap.ambientEmbedding j T ≫ Functor.ambientMap Y a = Functor.ambientMap X a ≫ ClosedAmbientMap.ambientEmbedding j U := by |
| 20 | change (prod.map (𝟙 T) j).left ≫ (prod.map a (𝟙 Y)).left = |
| 21 | (prod.map a (𝟙 X)).left ≫ (prod.map (𝟙 U) j).left |
| 22 | rw [← Over.comp_left, ← Over.comp_left, prod.map_map, prod.map_map] |
| 23 | simp only [Category.id_comp, Category.comp_id] |
| 24 | |
| 25 | theorem ambientEmbedding_baseChange {T U : Over S} (a : T ⟶ U) : |
| 26 | IsPullback (ClosedAmbientMap.ambientEmbedding j T) (Functor.ambientMap X a) (Functor.ambientMap Y a) |
| 27 | (ClosedAmbientMap.ambientEmbedding j U) := by |
| 28 | apply IsPullback.of_right _ (ambientEmbedding_naturality j a) (Functor.ambient_isPullback Y a) |
| 29 | rw [ClosedAmbientMap.ambientEmbedding_projection, ClosedAmbientMap.ambientEmbedding_projection] |
| 30 | exact Functor.ambient_isPullback X a |
| 31 | |
| 32 | variable [IsClosedImmersion j.left] |
| 33 | |
| 34 | theorem pushforwardFamily_baseChange {T U : Over S} (a : T ⟶ U) (F : Functor.Family X U) : |
| 35 | ClosedAmbientMap.pushforwardFamily j (Functor.pullbackFamily X a F) = Functor.pullbackFamily Y a (ClosedAmbientMap.pushforwardFamily j F) := by |
| 36 | apply Subtype.ext |
| 37 | let h := (Functor.family_ambient_isPullback X a F.val).paste_horiz (ambientEmbedding_baseChange j a) |
| 38 | change ((F.val.comap (Functor.ambientMap X a)).subschemeι ≫ ClosedAmbientMap.ambientEmbedding j T).ker = |
| 39 | (F.val.subschemeι ≫ ClosedAmbientMap.ambientEmbedding j U).ker.comap (Functor.ambientMap Y a) |
| 40 | rw [← h.isoPullback_hom_fst, Scheme.Hom.ker_comp_of_isIso, |
| 41 | Scheme.IdealSheafData.ker_fst_of_isClosedImmersion] |
| 42 | |
| 43 | theorem pushforwardFamily_injective (T : Over S) : Function.Injective |
| 44 | (ClosedAmbientMap.pushforwardFamily j : Functor.Family X T → Functor.Family Y T) := by |
| 45 | intro F G h |
| 46 | apply Subtype.ext |
| 47 | exact Closed.ImmersionIdealEmbedding.ideal_map_closed_injective (ClosedAmbientMap.ambientEmbedding j T) (congrArg Subtype.val h) |
| 48 | |
| 49 | def closedAmbientTransformation : Functor.familyFunctor X ⟶ Functor.familyFunctor Y where |
| 50 | app _ := ↾fun F => ClosedAmbientMap.pushforwardFamily j F |
| 51 | naturality T U a := by |
| 52 | apply ConcreteCategory.hom_ext |
| 53 | intro F |
| 54 | exact pushforwardFamily_baseChange j a.unop F |
| 55 | |
| 56 | instance closedAmbientTransformation_mono : Mono (closedAmbientTransformation j) := by |
| 57 | rw [NatTrans.mono_iff_mono_app] |
| 58 | intro T |
| 59 | exact (CategoryTheory.mono_iff_injective _).mpr (pushforwardFamily_injective j T.unop) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.ClosedAmbientNaturality |