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.Coordinate.FamilyIdeal |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientOpenFrame |
| 3 | |
| 4 | /-! # Coordinate Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.CoordinateIdeal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact ideals for quotient-coordinate centers on actual ambient neighborhoods. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem coordinateFamilyIdeal_map |
| 15 | {R S ι : Type u} [CommRing R] [CommRing S] (f : R →+* S) (g : ι → R) (C : Finset ι) : |
| 16 | (Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal g C).map f = Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal (fun i => f (g i)) C := by |
| 17 | rw [Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal, Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal, Ideal.map_span, ← Set.image_comp] |
| 18 | rfl |
| 19 | |
| 20 | theorem coordinateFamilyIdeal_with_normal |
| 21 | {R ι : Type u} [CommRing R] [DecidableEq ι] (g : ι → R) (z : R) (C : Finset ι) : |
| 22 | Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z) (insert none (C.image some)) = |
| 23 | Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal g C ⊔ Ideal.span {z} := by |
| 24 | rw [Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal, Finset.coe_insert, Set.image_insert_eq, Ideal.span_insert] |
| 25 | change Ideal.span {z} ⊔ Ideal.span _ = _ |
| 26 | rw [sup_comm] |
| 27 | congr 1 |
| 28 | apply congrArg Ideal.span |
| 29 | ext r |
| 30 | constructor |
| 31 | · rintro ⟨i, hi, rfl⟩ |
| 32 | obtain ⟨j, hj, rfl⟩ := Finset.mem_image.mp hi |
| 33 | exact ⟨j, hj, rfl⟩ |
| 34 | · rintro ⟨i, hi, rfl⟩ |
| 35 | exact ⟨some i, Finset.mem_image_of_mem some hi, rfl⟩ |
| 36 | |
| 37 | theorem quotient_preimage_coordinate_family |
| 38 | {R Q ι : Type u} [CommRing R] [CommRing Q] [DecidableEq ι] |
| 39 | (q : R →+* Q) (hq : Function.Surjective q) (z : R) |
| 40 | (hker : RingHom.ker q = Ideal.span {z}) (g : ι → R) (C : Finset ι) : |
| 41 | (Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal (fun i => q (g i)) C).comap q = |
| 42 | Coordinate.FamilyIdeal.Construction.coordinateFamilyIdeal (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z) (insert none (C.image some)) := by |
| 43 | rw [← coordinateFamilyIdeal_map q g C, Ideal.comap_map_of_surjective q hq, |
| 44 | ← RingHom.ker_eq_comap_bot, hker, coordinateFamilyIdeal_with_normal] |
| 45 | |
| 46 | theorem quotient_center_map_of_kernel_square |
| 47 | {R S Q : Type*} [CommRing R] [CommRing S] [CommRing Q] |
| 48 | (q : R →+* Q) (q' : S →+* Q) (f : R →+* S) |
| 49 | (hq : Function.Surjective q) (hq' : Function.Surjective q') |
| 50 | (hcomm : q'.comp f = q) (hker : RingHom.ker q' = (RingHom.ker q).map f) |
| 51 | (K : Ideal Q) : (K.comap q).map f = K.comap q' := by |
| 52 | let I := (K.comap q).map f |
| 53 | have hm : I.map q' = K := by |
| 54 | change ((K.comap q).map f).map q' = K |
| 55 | rw [Ideal.map_map, hcomm, Ideal.map_comap_of_surjective q hq] |
| 56 | have hk : RingHom.ker q' ≤ I := by |
| 57 | rw [hker] |
| 58 | exact Ideal.map_mono (Ideal.comap_mono bot_le) |
| 59 | have h := Ideal.comap_map_of_surjective q' hq' I |
| 60 | rw [hm, ← RingHom.ker_eq_comap_bot, sup_eq_left.mpr hk] at h |
| 61 | exact h.symm |
| 62 | |
| 63 | theorem quotient_center_map_of_surjective_kernel_square |
| 64 | {R S Q T : Type*} [CommRing R] [CommRing S] [CommRing Q] [CommRing T] |
| 65 | (q : R →+* Q) (q' : S →+* T) (f : R →+* S) (a : Q →+* T) |
| 66 | (hq : Function.Surjective q) (hq' : Function.Surjective q') |
| 67 | (hcomm : q'.comp f = a.comp q) (hker : RingHom.ker q' = (RingHom.ker q).map f) |
| 68 | (K : Ideal Q) : (K.comap q).map f = (K.map a).comap q' := by |
| 69 | let I := (K.comap q).map f |
| 70 | have hm : I.map q' = K.map a := by |
| 71 | change ((K.comap q).map f).map q' = K.map a |
| 72 | rw [Ideal.map_map, hcomm, ← Ideal.map_map, Ideal.map_comap_of_surjective q hq] |
| 73 | have hk : RingHom.ker q' ≤ I := by |
| 74 | rw [hker] |
| 75 | exact Ideal.map_mono (Ideal.comap_mono bot_le) |
| 76 | have h := Ideal.comap_map_of_surjective q' hq' I |
| 77 | rw [hm, ← RingHom.ker_eq_comap_bot, sup_eq_left.mpr hk] at h |
| 78 | exact h.symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.CoordinateIdeal.Construction |