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.NormalQuotientOpenFrame |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.CenterComposition |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.FamilyIdeal |
| 4 | |
| 5 | /-! # Dual Frame -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.DualFrame.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual common-coordinate charts from a finite dual frame, including unit boundary labels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem mixed_boundary_chart_of_dual_frame |
| 18 | {k : Type u} [CommRing k] (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 19 | {ι : Type u} [Fintype ι] [DecidableEq ι] {β : Type v} |
| 20 | (g : ι → R) (D : ι → Derivation k R R) |
| 21 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 22 | (C : Finset ι) (w a : β → R) (ha : ∀ j, IsUnit (a j)) |
| 23 | (e : β → Option ι) (he : ∀ i j s, e i = some s → e j = some s → i = j) |
| 24 | (hw : ∀ j, w j = a j * match e j with | none => 1 | some i => g i) |
| 25 | (F : Finset β) (hF : ∀ j, j ∈ F ↔ ∃ i ∈ C, e j = some i) |
| 26 | (p : PrimeSpectrum R) : |
| 27 | Nonempty (CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R (Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal g C) w F p) := by |
| 28 | classical |
| 29 | obtain ⟨t, ht, n, φ, hφ, hφk, hX⟩ := AdaptedEtaleFrame.Construction.exists_adapted_etale_frame D g hD p.asIdeal |
| 30 | let S := Localization.Away t |
| 31 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 32 | obtain ⟨P, hP⟩ := Etale.RefinementHelpers.Construction.exists_localization_away_prime t p ht |
| 33 | let B : Etale.BoundaryModel.Construction.EtaleBoundaryModel k S β (fun j => f (w j)) := |
| 34 | { indices := Fin n ⊕ ι |
| 35 | finite := inferInstance |
| 36 | decidableEq := inferInstance |
| 37 | map := φ |
| 38 | etale := hφ |
| 39 | ground := hφk |
| 40 | coordinate := fun j => (e j).map Sum.inr |
| 41 | distinct := by |
| 42 | intro i j s hi hj |
| 43 | cases hi' : e i with |
| 44 | | none => simp [hi'] at hi |
| 45 | | some l => |
| 46 | cases hj' : e j with |
| 47 | | none => simp [hj'] at hj |
| 48 | | some m => |
| 49 | simp only [hi', Option.map_some] at hi |
| 50 | simp only [hj', Option.map_some] at hj |
| 51 | have hlm : l = m := Sum.inr_injective |
| 52 | ((Option.some.inj hi).trans (Option.some.inj hj).symm) |
| 53 | exact he i j l hi' (hj'.trans (congrArg some hlm.symm)) |
| 54 | multiplier := fun j => f (a j) |
| 55 | multiplierUnit := fun j => (ha j).map f.toRingHom |
| 56 | equation := by |
| 57 | intro j |
| 58 | rw [hw, map_mul] |
| 59 | cases hj : e j with |
| 60 | | none => simp |
| 61 | | some i => simp only [Option.map_some]; rw [hX]; rfl } |
| 62 | refine ⟨{ chart := |
| 63 | { carrier := .of S |
| 64 | algebra := inferInstance |
| 65 | map := f |
| 66 | isOpenImmersion := IsOpenImmersion.of_isLocalization t |
| 67 | point := P |
| 68 | point_over := hP |
| 69 | model := B } |
| 70 | coordinates := C.image Sum.inr |
| 71 | center_eq := Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal_map_eq_coordinate_center g C f.toRingHom φ hX |
| 72 | divided_iff := ?_ }⟩ |
| 73 | intro j |
| 74 | rw [hF] |
| 75 | change (∃ i ∈ C, e j = some i) ↔ |
| 76 | ∃ s ∈ C.image (Sum.inr : ι → Fin n ⊕ ι), (e j).map Sum.inr = some s |
| 77 | constructor |
| 78 | · rintro ⟨i, hi, hei⟩ |
| 79 | exact ⟨Sum.inr i, Finset.mem_image_of_mem Sum.inr hi, by rw [hei]; rfl⟩ |
| 80 | · rintro ⟨s, hs, hes⟩ |
| 81 | obtain ⟨i, hi, rfl⟩ := Finset.mem_image.mp hs |
| 82 | refine ⟨i, hi, ?_⟩ |
| 83 | cases hj : e j with |
| 84 | | none => simp [hj] at hes |
| 85 | | some l => |
| 86 | simp only [hj, Option.map_some] at hes |
| 87 | exact congrArg some (Sum.inr_injective (Option.some.inj hes)) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.DualFrame.Construction |