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.CartierDuality.PolarizedTorsion |
| 2 | |
| 3 | /-! # Finite Over Field -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteOverField.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite schemes over the geometric residue field are finite locally free. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | /-- Over a field, the finite coordinate module is free. This applies to |
| 16 | the actual annihilator scheme, including when it is nonreduced. -/ |
| 17 | theorem finiteOverField_finiteLocallyFree {K : Type u} [Field K] |
| 18 | {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsFinite p] : |
| 19 | Flat p ∧ LocallyOfFinitePresentation p := by |
| 20 | have : IsAffine X := isAffine_of_isAffineHom p |
| 21 | let f : CommRingCat.of K ⟶ Γ(X, ⊤) := Spec.preimage (X.isoSpec.inv ≫ p) |
| 22 | have hf : Spec.map f = X.isoSpec.inv ≫ p := Spec.map_preimage _ |
| 23 | have : IsFinite (Spec.map f) := (congrArg IsFinite hf).mpr inferInstance |
| 24 | let : Algebra K Γ(X, ⊤) := f.hom.toAlgebra |
| 25 | have : Module.Finite K Γ(X, ⊤) := |
| 26 | RingHom.finite_algebraMap.mp ((IsFinite.SpecMap_iff f).mp |
| 27 | (inferInstanceAs (IsFinite (Spec.map f)))) |
| 28 | have hc := (CartierDuality.FiniteLocallyFreeCoordinates.Construction.finiteLocallyFree_spec_iff K Γ(X, ⊤)).mpr |
| 29 | ⟨inferInstance, inferInstance⟩ |
| 30 | have : Flat (Spec.map f) := hc.2.1 |
| 31 | have : LocallyOfFinitePresentation (Spec.map f) := hc.2.2 |
| 32 | have h : X.isoSpec.hom ≫ Spec.map f = p := by |
| 33 | rw [hf, ← Category.assoc, X.isoSpec.hom_inv_id, Category.id_comp] |
| 34 | exact ⟨(congrArg Flat h).mp inferInstance, |
| 35 | (congrArg LocallyOfFinitePresentation h).mp inferInstance⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteOverField.Construction |