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.AbelianModuli.ReferenceFamily.PositiveLineOn |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PicardSquareComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.BaseChange |
| 4 | |
| 5 | /-! # Positive Line Formula Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PositiveLineFormulaTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transport the actual ample Poincare formula through a native |
| 12 | group isomorphism, using its precise recovered line class. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | theorem positiveLineFormula_pullback |
| 19 | {S : Scheme.{0}} {g h : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : HilbertConstruction.Abelian.Schemes.AbelianScheme h S) |
| 20 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] [IsIso f] |
| 21 | (P : HilbertConstruction.Line.Bundles.LineBundle (A.scheme ⊗ A.scheme).left) (Q : HilbertConstruction.Line.Bundles.LineBundle (B.scheme ⊗ B.scheme).left) |
| 22 | (hQ : Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (f ⊗ₘ f).left (HilbertConstruction.Line.Bundles.LineBundle.classOf Q) = HilbertConstruction.Line.Bundles.LineBundle.classOf P) |
| 23 | (hpos : PositiveLineOn.PositiveLineFormula B Q) : PositiveLineOn.PositiveLineFormula A P := by |
| 24 | obtain ⟨L, hL, hz, hm⟩ := (PositiveLineOn.positiveLineFormula_iff_class B Q).mp hpos |
| 25 | have : IsIso f.left := inferInstanceAs (IsIso ((Over.forget S).map f)) |
| 26 | apply (PositiveLineOn.positiveLineFormula_iff_class A P).mpr |
| 27 | refine ⟨L.pullback f.left, hL.pullback_of_isIso f.left, ?_, ?_⟩ |
| 28 | · exact (HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp η[A.scheme].left f.left (HilbertConstruction.Line.Bundles.LineBundle.classOf L)).symm.trans |
| 29 | ((congrArg (fun a => HilbertConstruction.Line.Bundles.LineBundle.pullbackClass a (HilbertConstruction.Line.Bundles.LineBundle.classOf L)) |
| 30 | (congrArg Over.Hom.left (IsMonHom.one_hom f))).trans hz) |
| 31 | · have h₁ := PicardSquareComparison.picardPullback_square (f ⊗ₘ f).left (fst B.scheme B.scheme).left |
| 32 | (fst A.scheme A.scheme).left f.left (Over.tensorHom_left_fst _ _ f f) (HilbertConstruction.Line.Bundles.LineBundle.classOf L) |
| 33 | have h₂ := PicardSquareComparison.picardPullback_square (f ⊗ₘ f).left (snd B.scheme B.scheme).left |
| 34 | (snd A.scheme A.scheme).left f.left (Over.tensorHom_left_snd _ _ f f) (HilbertConstruction.Line.Bundles.LineBundle.classOf L) |
| 35 | have h₃ := PicardSquareComparison.picardPullback_square (f ⊗ₘ f).left μ[B.scheme].left |
| 36 | μ[A.scheme].left f.left (congrArg Over.Hom.left (IsMonHom.mul_hom f)).symm (HilbertConstruction.Line.Bundles.LineBundle.classOf L) |
| 37 | have hh := congrArg (Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (f ⊗ₘ f).left) hm |
| 38 | rw [map_mul, map_mul, hQ, h₁, h₂, h₃] at hh |
| 39 | exact hh |
| 40 | |
| 41 | theorem positiveLineFormula_transport |
| 42 | {S : Scheme.{0}} {g h : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : HilbertConstruction.Abelian.Schemes.AbelianScheme h S) |
| 43 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] |
| 44 | (P : HilbertConstruction.Line.Bundles.LineBundle (A.scheme ⊗ A.scheme).left) (Q : HilbertConstruction.Line.Bundles.LineBundle (B.scheme ⊗ B.scheme).left) |
| 45 | (hQ : Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (e.hom ⊗ₘ e.hom).left (HilbertConstruction.Line.Bundles.LineBundle.classOf Q) = HilbertConstruction.Line.Bundles.LineBundle.classOf P) |
| 46 | (hpos : PositiveLineOn.PositiveLineFormula A P) : PositiveLineOn.PositiveLineFormula B Q := by |
| 47 | let e₂ : (A.scheme ⊗ A.scheme).left ≅ (B.scheme ⊗ B.scheme).left := |
| 48 | (Over.forget S).mapIso (tensorIso e e) |
| 49 | have hr : Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (e.inv ⊗ₘ e.inv).left (HilbertConstruction.Line.Bundles.LineBundle.classOf P) = HilbertConstruction.Line.Bundles.LineBundle.classOf Q := |
| 50 | PicardSquareComparison.picardPullback_inverse e₂ (HilbertConstruction.Line.Bundles.LineBundle.classOf P) (HilbertConstruction.Line.Bundles.LineBundle.classOf Q) hQ |
| 51 | exact positiveLineFormula_pullback B A e.inv Q P hr hpos |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PositiveLineFormulaTransport |