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.Principal |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatIntersectionPrincipal |
| 3 | import Mathlib.RingTheory.UniqueFactorizationDomain.GCDMonoid |
| 4 | import Mathlib.RingTheory.Noetherian.UniqueFactorizationDomain |
| 5 | import Mathlib.RingTheory.AdicCompletion.Noetherian |
| 6 | import Mathlib.RingTheory.AdicCompletion.LocalRing |
| 7 | import Mathlib.RingTheory.AdicCompletion.AsTensorProduct |
| 8 | |
| 9 | /-! # Factorial -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Factorial.Construction.FactorialDescent |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! |
| 16 | # Factoriality descends from a faithfully flat local domain |
| 17 | |
| 18 | Flatness preserves intersections of principal ideals. Each such intersection |
| 19 | is principal after extension to a factorial ring; descent of its generator |
| 20 | then constructs least common multiples in the original Noetherian domain. |
| 21 | -/ |
| 22 | |
| 23 | variable {R S : Type*} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 24 | variable [CommRing S] [IsDomain S] [IsLocalRing S] [Algebra R S] |
| 25 | |
| 26 | theorem of_faithfullyFlat [Module.FaithfullyFlat R S] [UniqueFactorizationMonoid S] : |
| 27 | UniqueFactorizationMonoid R := by |
| 28 | classical |
| 29 | let := UniqueFactorizationMonoid.toGCDMonoid S |
| 30 | have hp (a b : R) : (Ideal.span {a} ⊓ Ideal.span {b}).IsPrincipal := by |
| 31 | apply Principal.Construction.PrincipalDescent.isPrincipal (S := S) |
| 32 | rw [FlatIntersectionPrincipal.Construction.FlatIntersection.principal] |
| 33 | refine ⟨GCDMonoid.lcm (algebraMap R S a) (algebraMap R S b), ?_⟩ |
| 34 | ext x |
| 35 | simp only [Ideal.mem_inf, Ideal.mem_span_singleton, lcm_dvd_iff] |
| 36 | let := gcdMonoidOfExistsLCM fun a b : R => by |
| 37 | obtain ⟨c, hc⟩ := hp a b |
| 38 | change Ideal.span {a} ⊓ Ideal.span {b} = Ideal.span {c} at hc |
| 39 | refine ⟨c, fun d => ?_⟩ |
| 40 | simpa only [Ideal.mem_inf, Ideal.mem_span_singleton] using |
| 41 | (SetLike.ext_iff.mp hc d) |
| 42 | infer_instance |
| 43 | |
| 44 | theorem of_completion [IsLocalRing R] |
| 45 | [IsDomain (AdicCompletion (IsLocalRing.maximalIdeal R) R)] |
| 46 | [UniqueFactorizationMonoid (AdicCompletion (IsLocalRing.maximalIdeal R) R)] : |
| 47 | UniqueFactorizationMonoid R := by |
| 48 | let S := AdicCompletion (IsLocalRing.maximalIdeal R) R |
| 49 | have : Module.FaithfullyFlat R S := Module.FaithfullyFlat.of_flat_of_isLocalHom |
| 50 | exact of_faithfullyFlat (S := S) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Factorial.Construction.FactorialDescent |