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.Normalization.Approximation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.ResidueDegree |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardPrescribedFiber |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 5 | |
| 6 | /-! # Singular Order Approximation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SingularOrderApproximation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A principal divisor separates any one of finitely many divisor |
| 13 | points on an integral projective scheme, including singular schemes. |
| 14 | Its selected coefficient is the positive degree of an actual branch. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped Classical |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Fields OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.DivisorComparison |
| 22 | Affine.DivisorNorm |
| 23 | |
| 24 | theorem exists_separating {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 25 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) (S : Finset X) (x : X) |
| 26 | (hS : ∀ z ∈ S, Order.coheight z = 1) : |
| 27 | letI : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 28 | ∃ (g : X.functionField) (d : ℕ), g ≠ 0 ∧ 0 < d ∧ |
| 29 | ∀ z ∈ S, (X.ord g z : ℚ) = if z = x then (d : ℚ) else 0 := by |
| 30 | let : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 31 | let : LocallyOfFiniteType f := P.finiteType.1 |
| 32 | let : IsFinite (Normalization.Scheme.normalizationMap X) := Normalization.Scheme.normalizationMap_isFinite X f |
| 33 | let := Normalization.DivisorComparison.normalization_noetherian X f |
| 34 | let T := (Normalization.Scheme.normalizationMap X) ⁻¹' (S : Set X) |
| 35 | have hT : T.Finite := (Normalization.Scheme.normalizationMap X).finite_preimage S.finite_toSet |
| 36 | let : Fintype T := hT.fintype |
| 37 | obtain ⟨y, hy⟩ := Normalization.Scheme.normalizationMap_surjective X x |
| 38 | have hheight (z : T) : Order.coheight (z.val : Normalization.Scheme.normalization X) = 1 := by |
| 39 | rw [← Normalization.Height.normalizationMap_coheight X f z.val] |
| 40 | exact hS _ z.property |
| 41 | obtain ⟨g', hg', he⟩ := Normalization.Approximation.exists_orders P |
| 42 | (fun z : T => z.val) hheight Subtype.val_injective (fun z => if z.val = y then 1 else 0) |
| 43 | let g := (Normalization.Fields.normalizationFieldIso X).inv g' |
| 44 | have hgg : (Normalization.Fields.normalizationFieldIso X).hom g = g' := |
| 45 | ConcreteCategory.congr_hom (Normalization.Fields.normalizationFieldIso X).inv_hom_id g' |
| 46 | have hg : g ≠ 0 := by |
| 47 | intro hz |
| 48 | apply hg' |
| 49 | rw [← hgg, hz, map_zero] |
| 50 | refine ⟨g, (Normalization.Scheme.normalizationMap X).residueDegree y, hg, |
| 51 | Normalization.ResidueDegree.positive X f y, ?_⟩ |
| 52 | intro z hz |
| 53 | rw [← Normalization.DivisorComparison.normalization_divisor_coefficient X f z (hS z hz) g hg] |
| 54 | have hc (w : Normalization.Scheme.normalization X) (hw : Normalization.Scheme.normalizationMap X w = z) : |
| 55 | Affine.DivisorNorm.rationalPrincipalDivisor (Normalization.Scheme.normalization X) ((Normalization.Fields.normalizationFieldIso X).hom g) w = |
| 56 | if w = y then (1 : ℚ) else 0 := by |
| 57 | have hwT : w ∈ T := by change Normalization.Scheme.normalizationMap X w ∈ S; rwa [hw] |
| 58 | rw [hgg, Affine.DivisorNorm.rationalPrincipalDivisor_apply, he ⟨w, hwT⟩] |
| 59 | split_ifs <;> norm_num |
| 60 | rw [PushforwardPrescribedFiber.coefficient (Normalization.Scheme.normalizationMap X) _ y z 1 hc, hy, one_mul] |
| 61 | simp only [eq_comm] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SingularOrderApproximation |