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.Pure.RelativeLevelIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Normalized.SmoothAffineDualProduct |
| 3 | |
| 4 | /-! # Pullback Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Polarized.PullbackRetraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual polarized full-level pullback returns to the original |
| 11 | object along a retraction of bases, with its precise carrier comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {S T : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 16 | |
| 17 | theorem abelianPullbackCongrIso_hom (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (f h : T ⟶ S) (w : f = h) : |
| 18 | (A.pullbackCongrIso f h w).hom = |
| 19 | (eqToIso (congrArg (fun q : T ⟶ S => Over.pullback q) w)).hom.app A.scheme := by |
| 20 | subst h |
| 21 | rfl |
| 22 | |
| 23 | theorem purePullbackCongrIso_dual (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 24 | (f h : T ⟶ S) (w : f = h) : |
| 25 | (Pure.RelativeLevelIso.purePullbackCongrIso A f h w).dual = A.dual.abelian.pullbackCongrIso f h w := by |
| 26 | subst h |
| 27 | rfl |
| 28 | |
| 29 | def polarizedPullbackRetractionIso (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 30 | (f : T ⟶ S) (h : S ⟶ T) (w : h ≫ f = 𝟙 S) : |
| 31 | HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso ((A.pullback f).pullback h) A := |
| 32 | (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f h).trans |
| 33 | ((Pure.RelativeLevelIso.purePullbackCongrIso A (h ≫ f) (𝟙 S) w).trans (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackId A)) |
| 34 | |
| 35 | theorem polarizedPullbackRetractionIso_abelian (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 36 | (f : T ⟶ S) (h : S ⟶ T) (w : h ≫ f = 𝟙 S) : |
| 37 | (polarizedPullbackRetractionIso A f h w).abelian.hom = |
| 38 | (((Over.pullbackComp h f).symm ≪≫ |
| 39 | eqToIso (congrArg (fun q : S ⟶ S => Over.pullback q) w) ≪≫ Over.pullbackId).hom.app A.abelian.scheme) := by |
| 40 | change (A.abelian.pullbackCompIso f h).inv ≫ |
| 41 | (Pure.RelativeLevelIso.purePullbackCongrIso A (h ≫ f) (𝟙 S) w).abelian.hom ≫ A.abelian.pullbackIdIso.hom = _ |
| 42 | rw [Pure.RelativeLevelIso.purePullbackCongrIso_abelian, abelianPullbackCongrIso_hom, |
| 43 | HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv, HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom] |
| 44 | rfl |
| 45 | |
| 46 | theorem polarizedPullbackRetractionIso_dual (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 47 | (f : T ⟶ S) (h : S ⟶ T) (w : h ≫ f = 𝟙 S) : |
| 48 | (polarizedPullbackRetractionIso A f h w).dual.hom = |
| 49 | (((Over.pullbackComp h f).symm ≪≫ |
| 50 | eqToIso (congrArg (fun q : S ⟶ S => Over.pullback q) w) ≪≫ Over.pullbackId).hom.app A.dual.abelian.scheme) := by |
| 51 | change (A.dual.abelian.pullbackCompIso f h).inv ≫ |
| 52 | (Pure.RelativeLevelIso.purePullbackCongrIso A (h ≫ f) (𝟙 S) w).dual.hom ≫ A.dual.abelian.pullbackIdIso.hom = _ |
| 53 | rw [purePullbackCongrIso_dual, abelianPullbackCongrIso_hom, |
| 54 | HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv, HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom] |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Polarized.PullbackRetraction |