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.EtaleLine.RefinementPullback |
| 2 | |
| 3 | /-! # Open Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.OpenBaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual pointed open base changes of relative étale lines over the original field. -/ |
| 10 | |
| 11 | open _root_.Polynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | attribute [local instance] Polynomial.algebra |
| 17 | |
| 18 | theorem exists_etale_line_open_base_change |
| 19 | {k H A R : Type u} [CommRing k] [CommRing H] [CommRing A] [CommRing R] |
| 20 | [Algebra k H] [Algebra k A] [Algebra k R] [Algebra H R] [IsScalarTower k H R] |
| 21 | [Algebra H[X] R] [IsScalarTower H H[X] R] [Algebra.Etale H[X] R] |
| 22 | (φ : H →ₐ[k] A) [IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom))] |
| 23 | (p : PrimeSpectrum R) (q : PrimeSpectrum A) |
| 24 | (hq : PrimeSpectrum.comap φ.toRingHom q = PrimeSpectrum.comap (algebraMap H R) p) : |
| 25 | ∃ (U : CommRingCat.{u}) (_ : Algebra k U) (_ : Algebra A U) (_ : Algebra A[X] U), |
| 26 | IsScalarTower k A U ∧ IsScalarTower A A[X] U ∧ Algebra.Etale A[X] U ∧ |
| 27 | ∃ f : R →ₐ[k] U, IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 28 | f (algebraMap H[X] R X) = algebraMap A[X] U X ∧ |
| 29 | (∀ h : H, f (algebraMap H R h) = algebraMap A U (φ h)) ∧ |
| 30 | ∃ Q : PrimeSpectrum U, PrimeSpectrum.comap f.toRingHom Q = p ∧ |
| 31 | PrimeSpectrum.comap (algebraMap A U) Q = q := by |
| 32 | let : Algebra H A := φ.toRingHom.toAlgebra |
| 33 | let U := CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing (H := H) (B := A) (R := R) |
| 34 | let : Algebra k U := ((algebraMap A U).comp (algebraMap k A)).toAlgebra |
| 35 | let : SMul k U := (inferInstance : Algebra k U).toSMul |
| 36 | let : Module k U := Algebra.toModule |
| 37 | let : IsScalarTower k A U := IsScalarTower.of_algebraMap_eq' (R := k) (S := A) (A := U) rfl |
| 38 | let : Algebra.Etale A[X] U := inferInstanceAs (Algebra.Etale A[X] (A[X] ⊗[H[X]] R)) |
| 39 | let r : R →+* U := (Algebra.TensorProduct.includeRight : R →ₐ[H[X]] U).toRingHom |
| 40 | have hcoeff (h : H) : r (algebraMap H R h) = algebraMap A U (φ h) := |
| 41 | CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing_constants (H := H) (B := A) (R := R) h |
| 42 | let f : R →ₐ[k] U := |
| 43 | { toRingHom := r |
| 44 | commutes' := fun c => by |
| 45 | change r (algebraMap k R c) = algebraMap A U (algebraMap k A c) |
| 46 | rw [IsScalarTower.algebraMap_apply k H R, hcoeff, φ.commutes] } |
| 47 | have hpb := RefinementPullback.Construction.etaleLineCoefficientRefinementRing_isPullback (H := H) (B := A) (R := R) |
| 48 | have ho : IsOpenImmersion (Spec.map (CommRingCat.ofHom r)) := |
| 49 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) hpb inferInstance |
| 50 | obtain ⟨Q, hQA, hQR⟩ := Scheme.exists_preimage_of_isPullback hpb q p hq |
| 51 | exact ⟨.of U, inferInstance, inferInstance, inferInstance, inferInstance, inferInstance, inferInstance, |
| 52 | f, ho, CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing_coordinate (H := H) (B := A) (R := R), hcoeff, Q, hQR, hQA⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.OpenBaseChange.Construction |