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.FormalGeometry.Completion.Proper.ProductCoverFunctions |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedLocalProductMap |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedLocalSetup |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedLocalFiber |
| 5 | |
| 6 | /-! # Normalized Product Cover Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedProductCoverFunctions.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Formal functions and actual connected fibers for normalized finite etale product covers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] {A B T : Scheme.{u}} |
| 23 | [IsIntegral A] [IsIntegral B] |
| 24 | (p : A ⟶ Spec (CommRingCat.of K)) [IsProper p] [Smooth p] |
| 25 | (q : B ⟶ Spec (CommRingCat.of K)) [IsProper q] [Smooth q] |
| 26 | (t : T ⟶ pullback p q) [IsFinite t] [Etale t] |
| 27 | (n : (t ≫ pullback.snd p q).normalization) |
| 28 | |
| 29 | /-- Actual normalized local formal functions, with the global-section isomorphism and |
| 30 | projective detecting cover derived from the original finite etale product geometry. -/ |
| 31 | theorem finiteEtaleProductCover_normalizedLocalFormalComparison_surjective : |
| 32 | ComparisonProperty.Construction.NormalizedLocalFormalComparisonSurjective (t ≫ pullback.snd p q) n := by |
| 33 | let f := t ≫ pullback.snd p q |
| 34 | have : IsProper f := inferInstanceAs (IsProper (t ≫ pullback.snd p q)) |
| 35 | have : Smooth f := inferInstanceAs (Smooth (t ≫ pullback.snd p q)) |
| 36 | obtain ⟨hfin, het⟩ := Proper.SmoothFiniteEtaleNormalization.Construction.proper_smooth_family_normalization_finite_etale K (f ≫ q) q f |
| 37 | have : IsFinite (t ≫ pullback.snd p q).fromNormalization := hfin |
| 38 | have : Etale (t ≫ pullback.snd p q).fromNormalization := het |
| 39 | have : IsLocallyNoetherian B := LocallyOfFiniteType.isLocallyNoetherian q |
| 40 | have : IsLocallyNoetherian f.normalization := |
| 41 | LocallyOfFiniteType.isLocallyNoetherian f.fromNormalization |
| 42 | have : IsNoetherianRing (f.normalization.presheaf.stalk n) := inferInstance |
| 43 | let a := NormalizedLocalProductMap.Construction.normalizedLocalProductMap p q t n |
| 44 | let b := NormalizedLocalProductMap.Construction.normalizedLocalBaseToField p q t n |
| 45 | have : IsFinite a := NormalizedLocalProductMap.Construction.normalizedLocalProductMap_finite p q t n |
| 46 | have : Etale a := NormalizedLocalProductMap.Construction.normalizedLocalProductMap_etale p q t n |
| 47 | have hb : a ≫ pullback.snd p b = NormalizedLocalFunctions.Construction.normalizedLocalFamily f n := NormalizedLocalProductMap.Construction.normalizedLocalProductMap_snd p q t n |
| 48 | have : IsIso (a ≫ pullback.snd p b).appTop := by |
| 49 | rw [hb] |
| 50 | exact NormalizedLocalFunctions.Construction.normalizedLocalFamily_appTop_isIso f n |
| 51 | have hA (x : A) : IsIntegrallyClosed (A.presheaf.stalk x) := by |
| 52 | have := Quotients.FiniteDescent.SmoothStalk.Construction.SmoothStalkFactorial.stalk p x |
| 53 | infer_instance |
| 54 | have h := Proper.ProductCoverFunctions.Construction.properProductCover_formalFunctionsComparisonSurjective |
| 55 | (R := f.normalization.presheaf.stalk n) p b a hA |
| 56 | (IsLocalRing.maximalIdeal (f.normalization.presheaf.stalk n)) |
| 57 | rw [hb] at h |
| 58 | exact h |
| 59 | |
| 60 | /-- Connectedness follows from the actual nontrivial infinitesimal idempotent obstruction. -/ |
| 61 | theorem finiteEtaleProductCover_normalizedLocal_infinitesimal_connected : |
| 62 | ConnectedSpace (Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood |
| 63 | (IsLocalRing.maximalIdeal ((t ≫ pullback.snd p q).normalization.presheaf.stalk n)) |
| 64 | (NormalizedLocalFunctions.Construction.normalizedLocalFamily (t ≫ pullback.snd p q) n) 0) := by |
| 65 | let f := t ≫ pullback.snd p q |
| 66 | have : IsProper f := inferInstanceAs (IsProper (t ≫ pullback.snd p q)) |
| 67 | have : Smooth f := inferInstanceAs (Smooth (t ≫ pullback.snd p q)) |
| 68 | obtain ⟨hR, _hp, _hs, hsurj, _hΓ⟩ := NormalizedLocalSetup.Construction.proper_smooth_normalizedLocalFamily_properties K |
| 69 | (f ≫ q) q f n |
| 70 | have : IsNoetherianRing (f.normalization.presheaf.stalk n) := hR |
| 71 | exact ComparisonProperty.Construction.normalizedLocal_initial_connected_of_formal_surjective f n hsurj |
| 72 | (finiteEtaleProductCover_normalizedLocalFormalComparison_surjective p q t n) |
| 73 | |
| 74 | /-- The actual scheme-theoretic fibers of the first normalization factor are connected. -/ |
| 75 | theorem finiteEtaleProductCover_normalized_fiber_connected : |
| 76 | ConnectedSpace ((t ≫ pullback.snd p q).toNormalization.fiber n) := by |
| 77 | have := finiteEtaleProductCover_normalizedLocal_infinitesimal_connected p q t n |
| 78 | exact NormalizedLocalFiber.Construction.normalized_fiber_connected_of_local_initial_connected (t ≫ pullback.snd p q) n |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedProductCoverFunctions.Construction |