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.Resolution.Blowups.Modeled.LocalComponentFactors |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LabelledBoundaryMonomialTransform |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalBoundaryProperty |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.PointOverClosedPoint |
| 5 | |
| 6 | /-! # Monomial Exponent Bound -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A nonunit boundary component has precisely its displayed monomial exponent. -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem Boundary.MonomialExponentBound.Construction.boundaryMonomial_power_bound |
| 17 | {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] [DecidableEq ι] |
| 18 | (w : ι → R) (a : ι → ℕ) (j : ι) (hreg : IsRegular (w j)) |
| 19 | (hprime : (Ideal.span {w j}).IsPrime) (hind : ∀ i, i ≠ j → w i ∉ Ideal.span {w j}) |
| 20 | (b : ℕ) (hbound : Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a} ≤ Ideal.span {w j} ^ b) : b ≤ a j := by |
| 21 | have htop : ¬ (⊤ : Ideal R) ≤ Ideal.span {w j} := fun h => hprime.ne_top (top_le_iff.mp h) |
| 22 | have h := Boundary.FactorUniqueness.Construction.finite_prime_boundary_factor_exact_exponent Finset.univ w a ⊤ j (Finset.mem_univ j) |
| 23 | hreg hprime (fun i _ hi => hind i hi) htop |
| 24 | rw [Ideal.mul_top] at h |
| 25 | by_contra hb |
| 26 | apply h.2 |
| 27 | exact hbound.trans (Ideal.pow_le_pow_right (by omega)) |
| 28 | |
| 29 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.monomial_exponent_bound_or_unit |
| 30 | {k : Type u} [Field k] [CharZero k] [IsAlgClosed k] |
| 31 | {R : CommRingCat.{u}} [Algebra k R] {ι : Type v} [Fintype ι] [DecidableEq ι] |
| 32 | {w : ι → R} (hboundary : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) (a : ι → ℕ) (j : ι) (b : ℕ) |
| 33 | (hbound : Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a} ≤ Ideal.span {w j} ^ b) : |
| 34 | b ≤ a j ∨ IsUnit (w j) := by |
| 35 | classical |
| 36 | by_cases hu : IsUnit (w j) |
| 37 | · exact Or.inr hu |
| 38 | · have hproper : Ideal.span {w j} ≠ (⊤ : Ideal R) := fun h => hu (Ideal.span_singleton_eq_top.mp h) |
| 39 | obtain ⟨P, hP, hle⟩ := Ideal.exists_le_maximal (Ideal.span {w j}) hproper |
| 40 | let : P.IsMaximal := hP |
| 41 | let p : PrimeSpectrum R := ⟨P, inferInstance⟩ |
| 42 | have hwP : w j ∈ P := hle (Ideal.mem_span_singleton_self (w j)) |
| 43 | obtain ⟨C⟩ := hboundary p |
| 44 | obtain ⟨Q, hQ, hQP⟩ := PointOverClosedPoint.Construction.exists_maximal_point_over_closed_point C.map.toRingHom P C.point |
| 45 | (congrArg PrimeSpectrum.asIdeal C.point_over) |
| 46 | let : Q.IsMaximal := hQ |
| 47 | have hwQ : C.map (w j) ∈ Q := by |
| 48 | change w j ∈ Q.comap C.map.toRingHom |
| 49 | rwa [hQP] |
| 50 | let A := Localization.AtPrime Q |
| 51 | let φ : R →+* A := (algebraMap C.carrier A).comp C.map.toRingHom |
| 52 | obtain ⟨hreg, hprime, hind⟩ := C.model.local_component_factor_properties Q j hwQ |
| 53 | have hmap := Ideal.map_mono (f := φ) hbound |
| 54 | rw [Ideal.map_span, Set.image_singleton, Ideal.map_pow, Ideal.map_span, Set.image_singleton] at hmap |
| 55 | have he : φ (LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a) = LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement (fun i => φ (w i)) a := by |
| 56 | simp only [LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement, map_prod, map_pow] |
| 57 | rw [he] at hmap |
| 58 | exact Or.inl (Boundary.MonomialExponentBound.Construction.boundaryMonomial_power_bound (fun i => φ (w i)) a j hreg hprime hind b hmap) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups |