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.HilbertScheme.Presentations.Relative.TargetBaseChangeIsomorphism |
| 2 | import Mathlib.AlgebraicGeometry.Fiber |
| 3 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 4 | |
| 5 | /-! # Isomorphism Target Fibers -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.IsomorphismTargetFibers |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An isomorphic coefficient fiber gives isomorphic fibers over each |
| 12 | target point; properness then gives finite target neighborhoods. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y B : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ B) |
| 18 | |
| 19 | theorem isIso_targetFiber_of_relative_fiber (y : Y) |
| 20 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (B.fromSpecResidueField (q y)))) : |
| 21 | IsIso (f.fiberToSpecResidueField y) := by |
| 22 | have hi : IsIso (pullback.fst (pullback.fst q (B.fromSpecResidueField (q y))) f) := by |
| 23 | rw [← SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, ← MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff] |
| 24 | exact h |
| 25 | let k : Spec (Y.residueField y) ⟶ pullback q (B.fromSpecResidueField (q y)) := |
| 26 | pullback.lift (Y.fromSpecResidueField y) (Spec.map (q.residueFieldMap y)) |
| 27 | (Scheme.Hom.SpecMap_residueFieldMap_fromSpecResidueField q y).symm |
| 28 | have hk : k ≫ pullback.fst q (B.fromSpecResidueField (q y)) = Y.fromSpecResidueField y := |
| 29 | pullback.lift_fst _ _ _ |
| 30 | change IsIso (pullback.snd f (Y.fromSpecResidueField y)) |
| 31 | rw [SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, ← hk, ← IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff] |
| 32 | infer_instance |
| 33 | |
| 34 | theorem finite_target_fiber_of_relative_isomorphism (y : Y) |
| 35 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (B.fromSpecResidueField (q y)))) : |
| 36 | (f ⁻¹' {y}).Finite := by |
| 37 | let := isIso_targetFiber_of_relative_fiber f q y h |
| 38 | let : Finite (f.fiber y) := Finite.of_injective |
| 39 | (f.fiberToSpecResidueField y) (f.fiberToSpecResidueField y).injective |
| 40 | exact (f.fiberHomeo y).finite_iff.mp inferInstance |
| 41 | |
| 42 | theorem exists_finite_target_neighborhood_of_relative_isomorphism |
| 43 | [IsProper f] (y : Y) |
| 44 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (B.fromSpecResidueField (q y)))) : |
| 45 | ∃ U : Y.Opens, y ∈ U ∧ IsFinite (f ∣_ U) := |
| 46 | exists_isFinite_morphismRestrict_of_finite_preimage_singleton f y |
| 47 | (finite_target_fiber_of_relative_isomorphism f q y h) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.IsomorphismTargetFibers |