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.ArithmeticGeometry.OrdinaryLocus.Openness.Rigidity |
| 2 | |
| 3 | /-! # Pointed Family Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PointedFamilyRigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A pointed family of maps from a proper variety to a group scheme is |
| 10 | constant in an integral parameter space. This is the geometric rigidity |
| 11 | step used when spreading maps to a finite coefficient field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 19 | (Y X Z : Over (Spec (.of k))) [GrpObj X] [GrpObj Z] |
| 20 | [LocallyOfFiniteType Y.hom] [IsProper X.hom] |
| 21 | [LocallyOfFiniteType Z.hom] [IsSeparated Z.hom] [IsIntegral (Y ⊗ X).left] |
| 22 | |
| 23 | theorem pointedFamily_eq_constant |
| 24 | (y₀ : 𝟙_ (Over (Spec (.of k))) ⟶ Y) |
| 25 | (f : Y ⊗ X ⟶ Z) (g : X ⟶ Z) [IsMonHom g] |
| 26 | (hf : lift (𝟙 Y) (toUnit Y ≫ η[X]) ≫ f = 1) |
| 27 | (hg : lift (toUnit X ≫ y₀) (𝟙 X) ≫ f = g) : f = snd Y X ≫ g := by |
| 28 | let d := f / (snd Y X ≫ g) |
| 29 | have hd : lift (toUnit X ≫ y₀) (𝟙 X) ≫ d = toUnit X ≫ η[Z] := by |
| 30 | simp only [d, GrpObj.comp_div, ← Category.assoc, lift_snd, Category.id_comp, hg, |
| 31 | div_self'] |
| 32 | rfl |
| 33 | have hr := ArithmeticGeometry.OrdinaryLocus.Openness.Rigidity.Construction.rigidity_of_constant_fiber Y X Z y₀ η[X] η[Z] d hd |
| 34 | have hz : lift (𝟙 Y) (toUnit Y ≫ η[X]) ≫ d = 1 := by |
| 35 | simp only [d, GrpObj.comp_div, ← Category.assoc, lift_snd, hf] |
| 36 | change 1 / ((1 : Y ⟶ X) ≫ g) = 1 |
| 37 | rw [MonObj.one_comp, div_self'] |
| 38 | rw [hz, MonObj.comp_one] at hr |
| 39 | exact div_eq_one.mp hr |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PointedFamilyRigidity |