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.PELModuli.IntegralModel.Relative.FiniteTargetFibers |
| 2 | |
| 3 | /-! # Finite Fiber Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteFiberDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finiteness after any base change detects finite target fibers above |
| 10 | its image. Residue fields of lifted target points supply the necessary |
| 11 | field extensions; no chosen compatibility of algebraic closures is used. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {X Y B T : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ B) (g : T ⟶ B) |
| 19 | |
| 20 | theorem finite_target_fiber_of_finite_baseChange |
| 21 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g)) (y : Y) |
| 22 | (hy : q y ∈ Set.range g) : (f ⁻¹' {y}).Finite := by |
| 23 | have hi : IsFinite (pullback.fst (pullback.fst q g) f) := by |
| 24 | rw [← IntegralModel.Finite.PullbackTransport.finite_pullback_snd_iff_fst, ← IntegralModel.Finite.PullbackTransport.relativeMorphismBaseChange_isFinite_iff] |
| 25 | exact h |
| 26 | have hyr : y ∈ Set.range (pullback.fst q g) := by |
| 27 | rw [Scheme.Pullback.range_fst] |
| 28 | exact hy |
| 29 | obtain ⟨z, hz⟩ := hyr |
| 30 | let c := (pullback q g).fromSpecResidueField z |
| 31 | let a := c ≫ pullback.fst q g |
| 32 | have ha : Set.range a = {y} := by |
| 33 | ext w |
| 34 | constructor |
| 35 | · rintro ⟨t, rfl⟩ |
| 36 | change (pullback.fst q g) (c t) = y |
| 37 | rw [show c t = z from (pullback q g).fromSpecResidueField_apply z t, hz] |
| 38 | · intro hw |
| 39 | change w = y at hw |
| 40 | subst w |
| 41 | refine ⟨IsLocalRing.closedPoint ((pullback q g).residueField z), ?_⟩ |
| 42 | change (pullback.fst q g) (c _) = y |
| 43 | rw [show c _ = z from (pullback q g).fromSpecResidueField_apply z _, hz] |
| 44 | have : IsFinite (pullback.fst a f) := |
| 45 | (IntegralModel.Finite.PullbackTransport.finite_pullback_fst_iterated_iff (pullback.fst q g) f c).mp inferInstance |
| 46 | have : IsFinite (pullback.snd f a) := (IntegralModel.Finite.PullbackTransport.finite_pullback_snd_iff_fst f a).mpr inferInstance |
| 47 | have hfin := (pullback.snd f a).finite_preimage Set.finite_univ |
| 48 | have : Finite (pullback f a : Scheme.{u}) := |
| 49 | Set.finite_univ_iff.mp (by simpa only [Set.preimage_univ] using hfin) |
| 50 | have hr := Set.finite_range (pullback.fst f a) |
| 51 | rwa [Scheme.Pullback.range_fst, ha] at hr |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteFiberDescent |