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.Quotients.FiniteDescent.DenominatorNeighborhoodLe |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundStalkFactorial |
| 3 | |
| 4 | /-! # Ground Denominator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundDenominator.Construction.GroundDenominatorNeighborhood |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Principal affine neighborhoods for the denominator ideals of rational functions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem exists_principal {K : Type u} [Field K] |
| 17 | {X : Scheme.{u}} [IsIntegral X] (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] |
| 18 | (r : X.functionField) (x : X) : |
| 19 | ∃ U : X.affineOpens, x ∈ U.1 ∧ ((Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U).IsPrincipal := by |
| 20 | obtain ⟨_, ⟨V, hV, rfl⟩, hxV, _⟩ := |
| 21 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 22 | have : Nonempty V := ⟨⟨x, hxV⟩⟩ |
| 23 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 24 | have : IsNoetherianRing Γ(X, V) := IsLocallyNoetherian.component_noetherian ⟨V, hV⟩ |
| 25 | let := X.presheaf.algebra_section_stalk ⟨x, hxV⟩ |
| 26 | have := hV.isLocalization_stalk ⟨x, hxV⟩ |
| 27 | let p := (hV.primeIdealOf ⟨x, hxV⟩).asIdeal |
| 28 | let I := (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal ⟨V, hV⟩ |
| 29 | have hp : (I.map (algebraMap Γ(X, V) (X.presheaf.stalk x))).IsPrincipal := by |
| 30 | change (I.map (X.presheaf.germ V x hxV).hom).IsPrincipal |
| 31 | rw [show I = (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal ⟨V, hV⟩ from rfl, |
| 32 | Quotients.FiniteDescent.DenominatorStalkIs.Construction.DenominatorStalk.map_stalk r ⟨V, hV⟩ ⟨x, hxV⟩] |
| 33 | have := GroundStalkFactorial.Construction.ground_stalk_uniqueFactorization f x |
| 34 | exact Quotients.FiniteDescent.DenominatorIdealEq.Construction.DenominatorIdeal.isPrincipal r |
| 35 | obtain ⟨s, hsp, hs⟩ := Quotients.FiniteDescent.PrincipalNeighborhoodEq.Construction.PrincipalTransport.exists_away_isPrincipal |
| 36 | (A := X.presheaf.stalk x) I I.fg_of_isNoetherianRing p hp |
| 37 | refine ⟨X.affineBasicOpen s, ?_, ?_⟩ |
| 38 | · apply (X.mem_basicOpen s x hxV).mpr |
| 39 | change s ∉ (hV.primeIdealOf ⟨x, hxV⟩).asIdeal at hsp |
| 40 | rw [hV.primeIdealOf_eq_map_closedPoint] at hsp |
| 41 | change ¬ (X.presheaf.germ V x hxV) s ∈ IsLocalRing.maximalIdeal _ at hsp |
| 42 | simpa only [IsLocalRing.mem_maximalIdeal, mem_nonunits_iff, not_not] using hsp |
| 43 | · let : Algebra Γ(X, V) Γ(X, X.basicOpen s) := |
| 44 | (X.presheaf.map (homOfLE (X.basicOpen_le s)).op).hom.toAlgebra |
| 45 | have := hV.isLocalization_basicOpen s |
| 46 | rw [← (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).map_ideal_basicOpen ⟨V, hV⟩ s] |
| 47 | change (I.map (algebraMap Γ(X, V) Γ(X, X.basicOpen s))).IsPrincipal |
| 48 | exact Quotients.FiniteDescent.PrincipalNeighborhoodEq.Construction.PrincipalTransport.map_algHom (R := Γ(X, V)) |
| 49 | (A := Localization.Away s) (B := Γ(X, X.basicOpen s)) I |
| 50 | (IsLocalization.algEquiv (Submonoid.powers s) (Localization.Away s) |
| 51 | Γ(X, X.basicOpen s)).toAlgHom hs |
| 52 | |
| 53 | theorem exists_principal_le {K : Type u} [Field K] |
| 54 | {X : Scheme.{u}} [IsIntegral X] (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] |
| 55 | (r : X.functionField) (W : X.Opens) (x : W) : |
| 56 | ∃ U : X.affineOpens, x.1 ∈ U.1 ∧ U.1 ≤ W ∧ |
| 57 | ((Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U).IsPrincipal := by |
| 58 | obtain ⟨V, hxV, a, ha⟩ := exists_principal f r x |
| 59 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, hUV⟩ := |
| 60 | X.isBasis_affineOpens.exists_subset_of_mem_open |
| 61 | (show x.1 ∈ V.1 ⊓ W from ⟨hxV, x.2⟩) (V.1 ⊓ W).isOpen |
| 62 | refine ⟨⟨U, hU⟩, hxU, fun y hy => (hUV hy).2, ?_⟩ |
| 63 | have hUV' : U ≤ V.1 := fun y hy => (hUV hy).1 |
| 64 | rw [← (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).map_ideal (show (⟨U, hU⟩ : X.affineOpens) ≤ V from hUV')] |
| 65 | change (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal V = Ideal.span {a} at ha |
| 66 | rw [ha, Ideal.map_span, Set.image_singleton] |
| 67 | exact ⟨_, rfl⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundDenominator.Construction.GroundDenominatorNeighborhood |