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.BoundaryModel.LogarithmicCoordinates |
| 2 | |
| 3 | /-! # Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Replace local coordinates while retaining actual boundary equations and their labels. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {k R : Type u} {ι : Type v} [CommRing k] [CommRing R] [Algebra k R] |
| 14 | {w : ι → R} |
| 15 | |
| 16 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryCoordinate (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) (j : ι) : |
| 17 | Option M.boundaryIndices := |
| 18 | (M.coordinate j).pmap (fun s hs => ⟨s, hs⟩) |
| 19 | (fun s hs => (M.mem_boundaryIndices s).mpr ⟨j, hs⟩) |
| 20 | |
| 21 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryCoordinate_map (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) (j : ι) : |
| 22 | (M.boundaryCoordinate j).map Subtype.val = M.coordinate j := by |
| 23 | cases hc : M.coordinate j <;> simp [Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryCoordinate, hc] |
| 24 | |
| 25 | /-- A replacement étale coordinate system that retains every represented |
| 26 | boundary coordinate gives a model for the original, pulled-back equations. -/ |
| 27 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.replaceCoordinates (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 28 | {S σ : Type u} [CommRing S] [Algebra k S] [Fintype σ] [DecidableEq σ] |
| 29 | (f : R →ₐ[k] S) (φ : MvPolynomial σ k →+* S) (hφ : φ.Etale) |
| 30 | (hg : ∀ c : k, φ (MvPolynomial.C c) = algebraMap k S c) |
| 31 | (e : M.boundaryIndices ↪ σ) |
| 32 | (he : ∀ s : M.boundaryIndices, φ (MvPolynomial.X (e s)) = f (M.map (MvPolynomial.X s.val))) : |
| 33 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k S ι (fun j => f (w j)) where |
| 34 | indices := σ |
| 35 | finite := inferInstance |
| 36 | decidableEq := inferInstance |
| 37 | map := φ |
| 38 | etale := hφ |
| 39 | ground := hg |
| 40 | coordinate := fun j => (M.boundaryCoordinate j).map e |
| 41 | distinct i j s hi hj := by |
| 42 | cases hci : M.boundaryCoordinate i with |
| 43 | | none => simp only [hci, Option.map_none] at hi; cases hi |
| 44 | | some t => |
| 45 | cases hcj : M.boundaryCoordinate j with |
| 46 | | none => simp only [hcj, Option.map_none] at hj; cases hj |
| 47 | | some t' => |
| 48 | have hi' : e t = s := by simpa only [hci, Option.map_some, Option.some.injEq] using hi |
| 49 | have hj' : e t' = s := by simpa only [hcj, Option.map_some, Option.some.injEq] using hj |
| 50 | have ht : t' = t := e.injective (hj'.trans hi'.symm) |
| 51 | apply M.distinct i j t.val |
| 52 | · rw [← M.boundaryCoordinate_map i, hci] |
| 53 | rfl |
| 54 | · rw [← M.boundaryCoordinate_map j, hcj, ht] |
| 55 | rfl |
| 56 | multiplier := fun j => f (M.multiplier j) |
| 57 | multiplierUnit j := (M.multiplierUnit j).map f.toRingHom |
| 58 | equation j := by |
| 59 | rw [M.equation j, map_mul, ← M.boundaryCoordinate_map j] |
| 60 | cases hc : M.boundaryCoordinate j with |
| 61 | | none => simp only [Option.map_none, map_one] |
| 62 | | some t => simp only [Option.map_some, he] |
| 63 | |
| 64 | /-- Any coordinate outside the retained boundary embedding remains |
| 65 | unused by every original boundary label in the replacement model. -/ |
| 66 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.replaceCoordinates_unused (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 67 | {S σ : Type u} [CommRing S] [Algebra k S] [Fintype σ] [DecidableEq σ] |
| 68 | (f : R →ₐ[k] S) (φ : MvPolynomial σ k →+* S) (hφ : φ.Etale) |
| 69 | (hg : ∀ c : k, φ (MvPolynomial.C c) = algebraMap k S c) |
| 70 | (e : M.boundaryIndices ↪ σ) |
| 71 | (he : ∀ s : M.boundaryIndices, φ (MvPolynomial.X (e s)) = f (M.map (MvPolynomial.X s.val))) |
| 72 | (h : σ) (hh : ∀ s, e s ≠ h) (j : ι) : |
| 73 | (M.replaceCoordinates f φ hφ hg e he).coordinate j ≠ some h := by |
| 74 | change (M.boundaryCoordinate j).map e ≠ some h |
| 75 | cases hc : M.boundaryCoordinate j with |
| 76 | | none => simp |
| 77 | | some t => simpa only [Option.map_some, ne_eq, Option.some.injEq] using hh t |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups |