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.LocalBoundaryProperty |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | |
| 4 | /-! # Chart Etale Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual affine pullbacks of pointed boundary charts along étale refinement maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {k : Type u} [CommRing k] {R S : CommRingCat.{u}} [Algebra k R] [Algebra k S] |
| 17 | {ι : Type v} {w : ι → R} |
| 18 | |
| 19 | /-- Pulling a source boundary chart back by an étale map gives an actual |
| 20 | open chart through the chosen target prime, with the original equations |
| 21 | pulled back by that map and the ground algebra unchanged. -/ |
| 22 | theorem Boundary.ChartEtaleBaseChange.Construction.exists_boundary_open_chart_etale_base_change (f : R →ₐ[k] S) |
| 23 | (hf : f.toRingHom.Etale) (q : PrimeSpectrum S) |
| 24 | (C : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k R w (PrimeSpectrum.comap f.toRingHom q)) : |
| 25 | Nonempty (Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k S (fun j => f (w j)) q) := by |
| 26 | let : Algebra R C.carrier := C.map.toRingHom.toAlgebra |
| 27 | let : Algebra R S := f.toRingHom.toAlgebra |
| 28 | let T := C.carrier ⊗[R] S |
| 29 | let l : C.carrier →+* T := Algebra.TensorProduct.includeLeftRingHom |
| 30 | let r : S →+* T := Algebra.TensorProduct.includeRight.toRingHom |
| 31 | let : Algebra k T := (l.comp (algebraMap k C.carrier)).toAlgebra |
| 32 | have hcomm (x : R) : l (C.map x) = r (f x) := by |
| 33 | exact congrArg (fun h : R →+* T => h x) |
| 34 | (Algebra.TensorProduct.includeLeftRingHom_comp_algebraMap (R := R) (A := C.carrier) (B := S)) |
| 35 | let lₖ : C.carrier →ₐ[k] T := { toRingHom := l, commutes' := fun _ => rfl } |
| 36 | let rₖ : S →ₐ[k] T := |
| 37 | { toRingHom := r |
| 38 | commutes' := fun c => by |
| 39 | change r (algebraMap k S c) = l (algebraMap k C.carrier c) |
| 40 | rw [← f.commutes c, ← C.map.commutes c] |
| 41 | exact (hcomm (algebraMap k R c)).symm } |
| 42 | have hpb : IsPullback (Spec.map (CommRingCat.ofHom l)) (Spec.map (CommRingCat.ofHom r)) |
| 43 | (Spec.map (CommRingCat.ofHom C.map.toRingHom)) (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 44 | apply isPullback_SpecMap_of_isPushout |
| 45 | exact CommRingCat.isPushout_tensorProduct R C.carrier S |
| 46 | have hfe : Etale (Spec.map (CommRingCat.ofHom f.toRingHom)) := |
| 47 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr hf |
| 48 | have hle : Etale (Spec.map (CommRingCat.ofHom l)) := |
| 49 | MorphismProperty.of_isPullback (P := @Etale) hpb.flip hfe |
| 50 | have hl : lₖ.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp hle |
| 51 | have hr : IsOpenImmersion (Spec.map (CommRingCat.ofHom r)) := |
| 52 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) hpb inferInstance |
| 53 | obtain ⟨Q, _, hQ⟩ := Scheme.exists_preimage_of_isPullback hpb C.point q C.point_over |
| 54 | refine ⟨{ carrier := .of T |
| 55 | algebra := inferInstance |
| 56 | map := rₖ |
| 57 | isOpenImmersion := hr |
| 58 | point := Q |
| 59 | point_over := hQ |
| 60 | model := ?_ }⟩ |
| 61 | have he : (fun j => rₖ (f (w j))) = (fun j => lₖ (C.map (w j))) := by |
| 62 | funext j |
| 63 | exact (hcomm (w j)).symm |
| 64 | rw [he] |
| 65 | exact C.model.baseChange lₖ hl |
| 66 | |
| 67 | /-- The local property is stable under every actual étale algebra map. -/ |
| 68 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.etale_baseChange (h : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) |
| 69 | (f : R →ₐ[k] S) (hf : f.toRingHom.Etale) : |
| 70 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k S (fun j => f (w j)) := by |
| 71 | intro q |
| 72 | obtain ⟨C⟩ := h (PrimeSpectrum.comap f.toRingHom q) |
| 73 | exact Boundary.ChartEtaleBaseChange.Construction.exists_boundary_open_chart_etale_base_change f hf q C |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups |