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.ArithmeticGeometry.Models.SpreadingOut.DenseOpen |
| 2 | |
| 3 | /-! # Good Open Fiber -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GoodOpenFiber.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A geometrically irreducible open controls the fibers of an integral |
| 10 | ambient scheme after shrinking a Dedekind base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem geometricallyIrreducible_after_localization_of_fiber_property |
| 17 | (R : Type u) [CommRing R] (X : Over (Spec (.of R))) (r : R) |
| 18 | (h : ∀ (k : Type u) [Field k] [Algebra R k], IsUnit (algebraMap R k r) → |
| 19 | IrreducibleSpace (pullback X.hom (Spec.map (CommRingCat.ofHom (algebraMap R k))) : Scheme.{u})) : |
| 20 | GeometricallyIrreducible (pullback.snd X.hom |
| 21 | (Spec.map (CommRingCat.ofHom (algebraMap R (Localization.Away r))))) := by |
| 22 | refine ⟨fun k _ y Z p q hp ↦ ?_⟩ |
| 23 | obtain ⟨φ, rfl⟩ := Spec.map_surjective y |
| 24 | let ψ : R →+* k := φ.hom.comp (algebraMap R (Localization.Away r)) |
| 25 | let : Algebra R k := ψ.toAlgebra |
| 26 | have hu : IsUnit (algebraMap R k r) := |
| 27 | (IsLocalization.Away.algebraMap_isUnit (S := Localization.Away r) r).map φ.hom |
| 28 | have hirr := h k hu |
| 29 | have houter := hp.paste_horiz (IsPullback.of_hasPullback X.hom |
| 30 | (Spec.map (CommRingCat.ofHom (algebraMap R (Localization.Away r))))) |
| 31 | have he : Spec.map φ ≫ Spec.map (CommRingCat.ofHom (algebraMap R (Localization.Away r))) = |
| 32 | Spec.map (CommRingCat.ofHom (algebraMap R k)) := by |
| 33 | rw [← Spec.map_comp] |
| 34 | rfl |
| 35 | rw [he] at houter |
| 36 | exact houter.isoPullback.hom.homeomorph.irreducibleSpace_iff.mpr hirr |
| 37 | |
| 38 | theorem geometricallyIrreducible_ambient_after_shrinking |
| 39 | (R : Type u) [CommRing R] [IsDedekindDomain R] |
| 40 | {W X : Over (Spec (.of R))} (i : W ⟶ X) [IsOpenImmersion i.left] |
| 41 | [GeometricallyIrreducible W.hom] [IsIntegral X.left] |
| 42 | [CompactSpace X.left] [IsLocallyNoetherian X.left] : |
| 43 | ∃ r : R, r ≠ 0 ∧ GeometricallyIrreducible (pullback.snd X.hom |
| 44 | (Spec.map (CommRingCat.ofHom (algebraMap R (Localization.Away r))))) := by |
| 45 | classical |
| 46 | have hn : Nonempty W.left := by |
| 47 | obtain ⟨w, -⟩ := W.hom.surjective (Classical.choice (inferInstanceAs (Nonempty (Spec (.of R))))) |
| 48 | exact ⟨w⟩ |
| 49 | let U := i.left.opensRange |
| 50 | have hU : (U : Set X.left).Nonempty := Set.range_nonempty i.left |
| 51 | obtain ⟨r, hr, hd⟩ := DenseOpen.Construction.integral_scheme_open_dense_in_fibers_after_shrinking R X U hU |
| 52 | refine ⟨r, hr, geometricallyIrreducible_after_localization_of_fiber_property R X r ?_⟩ |
| 53 | intro k _ _ hu |
| 54 | let g := Spec.map (CommRingCat.ofHom (algebraMap R k)) |
| 55 | let F := Over.pullback g |
| 56 | have : IrreducibleSpace (F.obj W).left := |
| 57 | pullback_of_geometrically GeometricallyIrreducible.geometrically_irreducibleSpace k g |
| 58 | have hj : Set.range (F.map i).left = (pullback.fst X.hom g) ⁻¹' (U : Set X.left) := |
| 59 | GeometricFieldComponents.Construction.pullback_square_range_fst (FoundationsPullback.Constructions.pullback_over_map_isPullback g i) |
| 60 | have : IsDominant (F.map i).left := ⟨by rw [DenseRange, hj]; exact hd k hu⟩ |
| 61 | exact GeometricFieldComponents.Construction.irreducibleSpace_of_dominant (F.map i).left |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GoodOpenFiber.Construction |