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.Functor |
| 2 | |
| 3 | /-! # Ambient Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native Hilbert families transport across actual isomorphisms of their |
| 10 | ambient schemes and base schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S S' : Scheme.{u}} (X : Over S) (Y : Over S') {T : Over S} {U : Over S'} |
| 16 | variable (e : Functor.ambient X T ≅ Functor.ambient Y U) (b : T.left ≅ U.left) |
| 17 | variable (he : e.hom ≫ Functor.ambientProjection Y U = Functor.ambientProjection X T ≫ b.hom) |
| 18 | |
| 19 | def ambientTransportMap (I : (Functor.ambient Y U).IdealSheafData) : |
| 20 | (I.comap e.hom).subscheme ⟶ I.subscheme := |
| 21 | (I.comapIso e.hom).hom ≫ pullback.snd e.hom I.subschemeι |
| 22 | |
| 23 | theorem ambientTransportMap_isPullback (I : (Functor.ambient Y U).IdealSheafData) : |
| 24 | IsPullback (I.comap e.hom).subschemeι (ambientTransportMap X Y e I) e.hom I.subschemeι := by |
| 25 | apply isPullback_of_isClosedImmersion |
| 26 | · dsimp only [ambientTransportMap] |
| 27 | rw [Category.assoc, ← pullback.condition, ← Category.assoc, Scheme.IdealSheafData.comapIso_hom_fst] |
| 28 | · simp only [Scheme.IdealSheafData.ker_subschemeι] |
| 29 | |
| 30 | include he |
| 31 | |
| 32 | theorem ambientTransport_projection_isPullback (I : (Functor.ambient Y U).IdealSheafData) : |
| 33 | IsPullback (Functor.familyProjection X (I.comap e.hom)) (ambientTransportMap X Y e I) |
| 34 | b.hom (Functor.familyProjection Y I) := |
| 35 | (ambientTransportMap_isPullback X Y e I).paste_horiz |
| 36 | (IsPullback.of_vert_isIso (show CommSq (Functor.ambientProjection X T) e.hom b.hom (Functor.ambientProjection Y U) from |
| 37 | ⟨he.symm⟩)) |
| 38 | |
| 39 | def ambientTransport (F : Functor.Family Y U) : Functor.Family X T := |
| 40 | ⟨F.val.comap e.hom, |
| 41 | MorphismProperty.of_isPullback (ambientTransport_projection_isPullback X Y e b he F.val).flip F.property.1, |
| 42 | MorphismProperty.of_isPullback (ambientTransport_projection_isPullback X Y e b he F.val).flip F.property.2.1, |
| 43 | MorphismProperty.of_isPullback (ambientTransport_projection_isPullback X Y e b he F.val).flip F.property.2.2⟩ |
| 44 | |
| 45 | theorem ambientTransport_inverse_compatibility : |
| 46 | e.inv ≫ Functor.ambientProjection X T = Functor.ambientProjection Y U ≫ b.inv := by |
| 47 | apply (cancel_epi e.hom).mp |
| 48 | rw [Iso.hom_inv_id_assoc, ← Category.assoc, he, Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 49 | |
| 50 | def ambientFamilyEquiv : Functor.Family Y U ≃ Functor.Family X T where |
| 51 | toFun := ambientTransport X Y e b he |
| 52 | invFun := ambientTransport Y X e.symm b.symm (ambientTransport_inverse_compatibility X Y e b he) |
| 53 | left_inv F := by |
| 54 | apply Subtype.ext |
| 55 | change (F.val.comap e.hom).comap e.inv = F.val |
| 56 | rw [← Scheme.IdealSheafData.comap_comp, Iso.inv_hom_id, Scheme.IdealSheafData.comap_id] |
| 57 | right_inv F := by |
| 58 | apply Subtype.ext |
| 59 | change (F.val.comap e.inv).comap e.hom = F.val |
| 60 | rw [← Scheme.IdealSheafData.comap_comp, Iso.hom_inv_id, Scheme.IdealSheafData.comap_id] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientTransport |