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.Finite.EtaleFiberDegree |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.FiberDegree |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.EtaleRestriction |
| 4 | |
| 5 | /-! # Fiber Degree -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.FiberDegree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The fiber weights of a proper integral support map add to its |
| 12 | native generic degree on the finite etale target open. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 20 | |
| 21 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 22 | (W : IrreducibleCloseds X.carrier) (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens) |
| 23 | [Etale (U.ι ≫ Map.supportImageMap f W)] (y : CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)) |
| 24 | (hy : y ∈ Proper.EtaleRestriction.good (Map.supportImageMap f W) U) |
| 25 | |
| 26 | include hy in |
| 27 | theorem finite : ((Map.supportImageMap f W) ⁻¹' {y}).Finite := by |
| 28 | let u := Map.supportImageMap f W |
| 29 | let V := Proper.EtaleRestriction.good u U |
| 30 | let : IsFinite (u ∣_ V) := Proper.EtaleRestriction.finite u U |
| 31 | let y' : V.toScheme := ⟨y, hy⟩ |
| 32 | let : Finite ((u ∣_ V) ⁻¹' ({y'} : Set V.toScheme)) := (u ∣_ V).finite_preimage_singleton y' |>.to_subtype |
| 33 | let : Finite (u ⁻¹' {y}) := Finite.of_equiv _ (Open.FiberDegree.equiv u V y') |
| 34 | exact Set.toFinite _ |
| 35 | |
| 36 | include hy in |
| 37 | theorem sum [Fintype ((Map.supportImageMap f W) ⁻¹' {y})] : |
| 38 | ∑ x : (Map.supportImageMap f W) ⁻¹' {y}, f.left.residueDegree (CycleClass.Geometric.GenericPoint.reducedSupportι W x.val) = |
| 39 | f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W) := by |
| 40 | let u := Map.supportImageMap f W |
| 41 | let V := Proper.EtaleRestriction.good u U |
| 42 | let : IsFinite (u ∣_ V) := Proper.EtaleRestriction.finite u U |
| 43 | let : Etale (u ∣_ V) := Proper.EtaleRestriction.etale u U |
| 44 | let y' : V.toScheme := ⟨y, hy⟩ |
| 45 | let : Nonempty V := ⟨y'⟩ |
| 46 | obtain ⟨x, hx⟩ := Map.supportImageMap_surjective f W y |
| 47 | let : Nonempty (u ⁻¹ᵁ V) := ⟨⟨x, by change u x ∈ V; rw [show u x = y from hx]; exact hy⟩⟩ |
| 48 | let : Fintype ((u ∣_ V) ⁻¹' ({y'} : Set V.toScheme)) := |
| 49 | Fintype.ofEquiv (u ⁻¹' {y}) (Open.FiberDegree.equiv u V y').symm |
| 50 | calc |
| 51 | _ = ∑ x : u ⁻¹' {y}, u.residueDegree x.val := |
| 52 | Finset.sum_congr rfl (fun x _ => (Map.supportImageMap_residueDegree f W x.val).symm) |
| 53 | _ = ∑ x : (u ∣_ V) ⁻¹' ({y'} : Set V.toScheme), (u ∣_ V).residueDegree x.val := |
| 54 | (Open.FiberDegree.sum u V y').symm |
| 55 | _ = (u ∣_ V).residueDegree (genericPoint (u ⁻¹ᵁ V).toScheme) := |
| 56 | ProjectionFormula.Finite.EtaleFiberDegree.sum (u ∣_ V) y' |
| 57 | _ = u.residueDegree (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) := Open.FiberDegree.generic_degree u V |
| 58 | _ = _ := Map.supportImageMap_generic_residueDegree f W |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.FiberDegree |