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.Boundary.CenterReplacementFrame |
| 2 | |
| 3 | /-! # Boundary Center Replacement -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.BoundaryCenterReplacement.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual principal-open center replacement preserving already retained boundary generators. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {k R ι : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 14 | [Fintype ι] [DecidableEq ι] |
| 15 | |
| 16 | /-- Around the original prime, a boundary equation can replace a center |
| 17 | generator outside the retained index set. The actual center ideal and a |
| 18 | full dual frame are preserved on the explicitly constructed principal open. -/ |
| 19 | theorem exists_pointed_boundary_center_replacement |
| 20 | (g : ι → R) (D : ι → Derivation k R R) |
| 21 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 22 | (z : R) (hz : z ∈ Ideal.span (Set.range g)) |
| 23 | (E : Derivation k R R) (q : Ideal R) [q.IsPrime] |
| 24 | (hg : ∀ i, g i ∈ q) (hEz : E z ∉ q) |
| 25 | (B : Finset ι) (hEB : ∀ i ∈ B, E (g i) = 0) : |
| 26 | ∃ s ∉ q, ∃ i ∉ B, ∃ F : Option {j : ι // i ≠ j} → |
| 27 | Derivation k (Localization.Away s) (Localization.Away s), |
| 28 | Ideal.span (Set.range (CenterGeneratorReplacement.Construction.centerReplacementFamily |
| 29 | (fun j => algebraMap R (Localization.Away s) (g j)) i (algebraMap R (Localization.Away s) z))) = |
| 30 | (Ideal.span (Set.range g)).map (algebraMap R (Localization.Away s)) ∧ |
| 31 | ∀ p t, F p (CenterGeneratorReplacement.Construction.centerReplacementFamily (fun j => algebraMap R (Localization.Away s) (g j)) i |
| 32 | (algebraMap R (Localization.Away s) z) t) = if p = t then 1 else 0 := by |
| 33 | obtain ⟨c, i, hiB, hc, hci, hDiz⟩ := Boundary.CenterPivot.Construction.exists_boundary_center_pivot_outside g D hD z hz E q hg hEz B hEB |
| 34 | let s := c i * D i z |
| 35 | have hs : s ∉ q := q.primeCompl.mul_mem hci hDiz |
| 36 | let A := Localization.Away s |
| 37 | let : Algebra.FormallyEtale R A := Algebra.FormallyEtale.of_isLocalization (Submonoid.powers s) |
| 38 | let g' : ι → A := fun j => algebraMap R A (g j) |
| 39 | let D' : ι → Derivation k A A := fun j => Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) (D j) |
| 40 | have hD' : ∀ p t, D' p (g' t) = if p = t then 1 else 0 := by |
| 41 | intro p t |
| 42 | change Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) (D p) (algebraMap R A (g t)) = _ |
| 43 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD] |
| 44 | split_ifs <;> simp |
| 45 | have hu : IsUnit (algebraMap R A (c i) * algebraMap R A (D i z)) := by |
| 46 | rw [← map_mul] |
| 47 | exact IsLocalization.Away.algebraMap_isUnit s |
| 48 | have huc := isUnit_of_mul_isUnit_left hu |
| 49 | have huD := isUnit_of_mul_isUnit_right hu |
| 50 | have hunit : IsUnit (D' i (algebraMap R A z)) := by |
| 51 | change IsUnit (Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) (D i) (algebraMap R A z)) |
| 52 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 53 | exact huD |
| 54 | obtain ⟨F, hF⟩ := Boundary.CenterReplacementFrame.Construction.exists_centerReplacement_dual_frame g' D' hD' i (algebraMap R A z) hunit |
| 55 | refine ⟨s, hs, i, hiB, F, ?_, hF⟩ |
| 56 | have hc' : (∑ j, algebraMap R A (c j) * g' j) = algebraMap R A z := by |
| 57 | simpa only [map_sum, map_mul] using congrArg (algebraMap R A) hc |
| 58 | have hgen := CenterGeneratorReplacement.Construction.centerReplacementFamily_span g' (fun j => algebraMap R A (c j)) i (algebraMap R A z) hc' huc |
| 59 | rw [Ideal.map_span, ← Set.range_comp] |
| 60 | exact hgen |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.BoundaryCenterReplacement.Construction |