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.IntersectionTheory.ProjectionFormula.Affine.ResidueDegree |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 4 | |
| 5 | /-! # Residue Degree -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.ResidueDegree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every point of a finite scheme morphism has positive native |
| 12 | residue degree, by comparison with the finite algebra on an affine chart. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | theorem positive {X Y : Scheme} (f : X ⟶ Y) [IsFinite f] (x : X) : 0 < f.residueDegree x := by |
| 19 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top (f x)) |
| 20 | let V := f ⁻¹ᵁ U |
| 21 | have hV : IsAffineOpen V := hU.preimage f |
| 22 | let R := Γ(Y, U) |
| 23 | let S := Γ(X, V) |
| 24 | let φ : R →+* S := (f.app U).hom |
| 25 | let : Algebra R S := φ.toAlgebra |
| 26 | let : Module.Finite R S := f.finite_app U hU |
| 27 | let q : PrimeSpectrum S := hV.primeIdealOf ⟨x, hxU⟩ |
| 28 | have hq : hV.fromSpec q = x := hV.fromSpec_primeIdealOf _ |
| 29 | have hfac : Spec.map (CommRingCat.ofHom (algebraMap R S)) ≫ hU.fromSpec = hV.fromSpec ≫ f := by |
| 30 | change Spec.map (f.app U) ≫ hU.fromSpec = hV.fromSpec ≫ f |
| 31 | rw [Scheme.Hom.app_eq_appLE] |
| 32 | exact IsAffineOpen.SpecMap_appLE_fromSpec f hU hV le_rfl |
| 33 | rw [← hq, ← Support.Map.residueDegree_pre_immersion hV.fromSpec f q, ← hfac, |
| 34 | Support.Map.residueDegree_post_immersion, Affine.ResidueDegree.residueDegree_eq_inertiaDeg] |
| 35 | exact q.asIdeal.inertiaDeg_pos R |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.ResidueDegree |