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.MixedBoundary.CenterCharts |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.EquationCongruence |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ChartEtaleBaseChange |
| 4 | |
| 5 | /-! # Center Etale Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine pullbacks preserve common coordinates for a center and its divided labels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {k : Type u} [CommRing k] {R S : CommRingCat.{u}} [Algebra k R] [Algebra k S] |
| 18 | {ι : Type v} {w : ι → R} {I : Ideal R} {F : Finset ι} |
| 19 | |
| 20 | theorem Mixed.CenterEtaleBaseChange.Construction.exists_mixed_center_chart_etale_base_change (f : R →ₐ[k] S) |
| 21 | (hf : f.toRingHom.Etale) (q : PrimeSpectrum S) |
| 22 | (C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I w F (PrimeSpectrum.comap f.toRingHom q)) : |
| 23 | Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k S (I.map f.toRingHom) (fun j => f (w j)) F q) := by |
| 24 | let B := C.chart |
| 25 | let : Algebra R B.carrier := B.map.toRingHom.toAlgebra |
| 26 | let : Algebra R S := f.toRingHom.toAlgebra |
| 27 | let T := B.carrier ⊗[R] S |
| 28 | let l : B.carrier →+* T := Algebra.TensorProduct.includeLeftRingHom |
| 29 | let r : S →+* T := Algebra.TensorProduct.includeRight.toRingHom |
| 30 | let : Algebra k T := (l.comp (algebraMap k B.carrier)).toAlgebra |
| 31 | have hcomm (x : R) : l (B.map x) = r (f x) := by |
| 32 | exact congrArg (fun h : R →+* T => h x) |
| 33 | (Algebra.TensorProduct.includeLeftRingHom_comp_algebraMap (R := R) (A := B.carrier) (B := S)) |
| 34 | let lₖ : B.carrier →ₐ[k] T := { toRingHom := l, commutes' := fun _ => rfl } |
| 35 | let rₖ : S →ₐ[k] T := |
| 36 | { toRingHom := r |
| 37 | commutes' := fun c => by |
| 38 | change r (algebraMap k S c) = l (algebraMap k B.carrier c) |
| 39 | rw [← f.commutes c, ← B.map.commutes c] |
| 40 | exact (hcomm (algebraMap k R c)).symm } |
| 41 | have hpb : IsPullback (Spec.map (CommRingCat.ofHom l)) (Spec.map (CommRingCat.ofHom r)) |
| 42 | (Spec.map (CommRingCat.ofHom B.map.toRingHom)) (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 43 | apply isPullback_SpecMap_of_isPushout |
| 44 | exact CommRingCat.isPushout_tensorProduct R B.carrier S |
| 45 | have hfe : Etale (Spec.map (CommRingCat.ofHom f.toRingHom)) := |
| 46 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr hf |
| 47 | have hle : Etale (Spec.map (CommRingCat.ofHom l)) := |
| 48 | MorphismProperty.of_isPullback (P := @Etale) hpb.flip hfe |
| 49 | have hl : lₖ.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp hle |
| 50 | have hr : IsOpenImmersion (Spec.map (CommRingCat.ofHom r)) := |
| 51 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) hpb inferInstance |
| 52 | obtain ⟨Q, _, hQ⟩ := Scheme.exists_preimage_of_isPullback hpb B.point q B.point_over |
| 53 | let N := (B.model.baseChange lₖ hl).congrEquations (fun j => rₖ (f (w j))) |
| 54 | (fun j => (hcomm (w j)).symm) |
| 55 | let O : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k S (fun j => f (w j)) q := |
| 56 | { carrier := .of T |
| 57 | algebra := inferInstance |
| 58 | map := rₖ |
| 59 | isOpenImmersion := hr |
| 60 | point := Q |
| 61 | point_over := hQ |
| 62 | model := N } |
| 63 | refine ⟨{ chart := O |
| 64 | coordinates := C.coordinates |
| 65 | center_eq := ?_ |
| 66 | divided_iff := C.divided_iff }⟩ |
| 67 | change (I.map f.toRingHom).map r = (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C.coordinates).map (l.comp B.model.map) |
| 68 | have hcommHom : l.comp B.map.toRingHom = r.comp f.toRingHom := RingHom.ext hcomm |
| 69 | rw [Ideal.map_map, ← hcommHom, ← Ideal.map_map, C.center_eq, Ideal.map_map] |
| 70 | |
| 71 | theorem MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts.etale_baseChange |
| 72 | (h : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I w F) (f : R →ₐ[k] S) (hf : f.toRingHom.Etale) : |
| 73 | MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k S (I.map f.toRingHom) (fun j => f (w j)) F := by |
| 74 | intro q hq |
| 75 | have hp : I ≤ (PrimeSpectrum.comap f.toRingHom q).asIdeal := |
| 76 | Ideal.map_le_iff_le_comap.mp hq |
| 77 | obtain ⟨C⟩ := h (PrimeSpectrum.comap f.toRingHom q) hp |
| 78 | exact Mixed.CenterEtaleBaseChange.Construction.exists_mixed_center_chart_etale_base_change f hf q C |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups |