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.RepresentationTheory.Theta.Geometric.Picard.ComparisonScheme |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.RigidifiedParameterPullback |
| 3 | |
| 4 | /-! # Parameter Comparison -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Picard.ParameterComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The scheme comparing a parameterized Picard family with an arbitrary |
| 11 | rigidified family carries its actual parameter and base maps. Its points |
| 12 | are precisely the parameter maps realizing that family's Picard class. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 19 | {A N T : Over (Spec (.of K))} [GrpObj A] [IsCommMonObj A] |
| 20 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 21 | [IsLocallyNoetherian (N ⊗ T).left] |
| 22 | (Q : AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine.Construction.RigidifiedProductLine A N) (L : AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine.Construction.RigidifiedProductLine A T) |
| 23 | |
| 24 | def picardParameterComparison : Over (Spec (.of K)) := |
| 25 | ComparisonScheme.picardComparisonOver (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) |
| 26 | (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T)) |
| 27 | |
| 28 | def picardParameterInclusion : picardParameterComparison Q L ⟶ N ⊗ T := |
| 29 | ComparisonScheme.picardComparisonInclusion (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) |
| 30 | (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T)) |
| 31 | |
| 32 | instance picardParameterInclusion_mono : Mono (picardParameterInclusion Q L) := |
| 33 | inferInstanceAs (Mono (ComparisonScheme.picardComparisonInclusion |
| 34 | (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T)))) |
| 35 | |
| 36 | def picardParameterMap : picardParameterComparison Q L ⟶ N := |
| 37 | picardParameterInclusion Q L ≫ fst N T |
| 38 | |
| 39 | def picardParameterProjection : picardParameterComparison Q L ⟶ T := |
| 40 | picardParameterInclusion Q L ≫ snd N T |
| 41 | |
| 42 | instance picardParameterInclusion_left_locallyOfFiniteType : |
| 43 | LocallyOfFiniteType (picardParameterInclusion Q L).left := |
| 44 | inferInstanceAs (LocallyOfFiniteType (ComparisonScheme.picardComparisonInclusion |
| 45 | (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T))).left) |
| 46 | |
| 47 | instance picardParameterInclusion_left_quasiCompact : |
| 48 | QuasiCompact (picardParameterInclusion Q L).left := |
| 49 | inferInstanceAs (QuasiCompact (ComparisonScheme.picardComparisonInclusion |
| 50 | (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T))).left) |
| 51 | |
| 52 | instance picardParameterProjection_locallyOfFiniteType [LocallyOfFiniteType N.hom] : |
| 53 | LocallyOfFiniteType (picardParameterProjection Q L).left := by |
| 54 | have : LocallyOfFiniteType (snd N T).left := |
| 55 | inferInstanceAs (LocallyOfFiniteType (CategoryTheory.Limits.pullback.snd N.hom T.hom)) |
| 56 | change LocallyOfFiniteType ((picardParameterInclusion Q L).left ≫ (snd N T).left) |
| 57 | infer_instance |
| 58 | |
| 59 | instance picardParameterProjection_quasiCompact [QuasiCompact N.hom] : |
| 60 | QuasiCompact (picardParameterProjection Q L).left := by |
| 61 | have : QuasiCompact (snd N T).left := |
| 62 | inferInstanceAs (QuasiCompact (CategoryTheory.Limits.pullback.snd N.hom T.hom)) |
| 63 | change QuasiCompact ((picardParameterInclusion Q L).left ≫ (snd N T).left) |
| 64 | infer_instance |
| 65 | |
| 66 | theorem picardParameterComparison_value {U : Over (Spec (.of K))} |
| 67 | (z : U ⟶ picardParameterComparison Q L) : |
| 68 | Q.relativeValue (z ≫ picardParameterMap Q L) = |
| 69 | L.relativeValue (z ≫ picardParameterProjection Q L) := by |
| 70 | have h := ComparisonScheme.picardComparison_compares (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) |
| 71 | (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T)) z |
| 72 | rw [RigidifiedParameterPullback.rigidifiedParameterPullback_relativeValue, RigidifiedParameterPullback.rigidifiedParameterPullback_relativeValue] at h |
| 73 | exact (congrArg Q.relativeValue (Category.assoc z (picardParameterInclusion Q L) (fst N T)).symm).trans |
| 74 | (h.trans (congrArg L.relativeValue (Category.assoc z (picardParameterInclusion Q L) (snd N T)))) |
| 75 | |
| 76 | theorem picardParameterComparison_factorization {U : Over (Spec (.of K))} |
| 77 | (a : U ⟶ N) (t : U ⟶ T) : |
| 78 | Q.relativeValue a = L.relativeValue t ↔ |
| 79 | ∃ z : U ⟶ picardParameterComparison Q L, |
| 80 | z ≫ picardParameterMap Q L = a ∧ z ≫ picardParameterProjection Q L = t := by |
| 81 | have h := ComparisonScheme.picardComparison_factorization (RigidifiedParameterPullback.rigidifiedParameterPullback Q (fst N T)) |
| 82 | (RigidifiedParameterPullback.rigidifiedParameterPullback L (snd N T)) (lift a t) |
| 83 | rw [RigidifiedParameterPullback.rigidifiedParameterPullback_relativeValue, RigidifiedParameterPullback.rigidifiedParameterPullback_relativeValue, |
| 84 | lift_fst, lift_snd] at h |
| 85 | constructor |
| 86 | · intro he |
| 87 | obtain ⟨z, hz⟩ := h.mp he |
| 88 | refine ⟨z, ?_, ?_⟩ |
| 89 | · exact (Category.assoc z (picardParameterInclusion Q L) (fst N T)).symm.trans |
| 90 | ((congrArg (· ≫ fst N T) hz).trans (lift_fst a t)) |
| 91 | · exact (Category.assoc z (picardParameterInclusion Q L) (snd N T)).symm.trans |
| 92 | ((congrArg (· ≫ snd N T) hz).trans (lift_snd a t)) |
| 93 | · rintro ⟨z, ha, ht⟩ |
| 94 | have hv := picardParameterComparison_value Q L z |
| 95 | rw [ha, ht] at hv |
| 96 | exact hv |
| 97 | |
| 98 | theorem picardParameterProjection_mono |
| 99 | (hQ : ∀ U : Over (Spec (.of K)), Function.Injective (Q.relativeValue (T := U))) : |
| 100 | Mono (picardParameterProjection Q L) := by |
| 101 | constructor |
| 102 | intro U f g hfg |
| 103 | apply (cancel_mono (picardParameterInclusion Q L)).mp |
| 104 | apply CartesianMonoidalCategory.hom_ext |
| 105 | · have hvf := picardParameterComparison_value Q L f |
| 106 | have hvg := picardParameterComparison_value Q L g |
| 107 | have hp : f ≫ picardParameterMap Q L = g ≫ picardParameterMap Q L := |
| 108 | hQ U (hvf.trans ((congrArg L.relativeValue hfg).trans hvg.symm)) |
| 109 | exact (Category.assoc f (picardParameterInclusion Q L) (fst N T)).trans |
| 110 | (hp.trans (Category.assoc g (picardParameterInclusion Q L) (fst N T)).symm) |
| 111 | · exact (Category.assoc f (picardParameterInclusion Q L) (snd N T)).trans |
| 112 | (hfg.trans (Category.assoc g (picardParameterInclusion Q L) (snd N T)).symm) |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.RepresentationTheory.Theta.Geometric.Picard.ParameterComparison |