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.Etale.ComparisonFiberProduct |
| 2 | |
| 3 | /-! # Etale Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleComparison.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A pointed common étale refinement of two coordinate presentations of one ring. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {k P R S C : Type u} [CommRing k] [CommRing P] [CommRing R] [CommRing S] |
| 16 | [CommRing C] [Algebra k P] [Algebra k R] [Algebra k S] [Algebra k C] |
| 17 | [Algebra P R] [Algebra P S] [IsScalarTower k P R] [IsScalarTower k P S] |
| 18 | [Algebra.Etale P R] [Algebra.Etale P S] |
| 19 | |
| 20 | /-- The tensor-product construction gives two actual étale maps from the |
| 21 | original ring and a common point. The isomorphism of the chart rings need only |
| 22 | respect the coefficient ring, so their coordinate presentations can differ. -/ |
| 23 | theorem exists_pointed_etale_comparison (e : R ≃ₐ[k] S) (r : R →ₐ[k] C) |
| 24 | (h : ∀ p : P, r (algebraMap P R p) = r (e.symm (algebraMap P S p))) : |
| 25 | ∃ f g : R →ₐ[k] R ⊗[P] S, ∃ v : R ⊗[P] S →ₐ[k] C, |
| 26 | f.toRingHom.Etale ∧ g.toRingHom.Etale ∧ |
| 27 | (∀ p : P, f (algebraMap P R p) = g (e.symm (algebraMap P S p))) ∧ |
| 28 | (∀ x : R, v (f x) = r x) ∧ (∀ x : R, v (g x) = r x) := by |
| 29 | let f := Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonLeft (k := k) (P := P) (R := R) (S := S) |
| 30 | let g := (Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight (k := k) (P := P) (R := R) (S := S)).comp e.toAlgHom |
| 31 | let v := Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonPoint r (r.comp e.symm.toAlgHom) h |
| 32 | refine ⟨f, g, v, Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonLeft_etale, ?_, ?_, ?_, ?_⟩ |
| 33 | · have hg : g.toRingHom = |
| 34 | (Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight (k := k) (P := P) (R := R) (S := S)).toRingHom.comp |
| 35 | e.toRingHom := by |
| 36 | ext x |
| 37 | rfl |
| 38 | rw [hg] |
| 39 | exact RingHom.Etale.stableUnderComposition e.toRingHom |
| 40 | (Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight (k := k) (P := P) (R := R) (S := S)).toRingHom |
| 41 | (RingHom.Etale.of_bijective e.bijective) Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight_etale |
| 42 | · intro p |
| 43 | change Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonLeft (k := k) (P := P) (S := S) (algebraMap P R p) = |
| 44 | Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight (k := k) (P := P) (R := R) (e (e.symm (algebraMap P S p))) |
| 45 | rw [e.apply_symm_apply] |
| 46 | exact Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparison_coordinate_relation p |
| 47 | · intro x |
| 48 | exact Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonPoint_left r (r.comp e.symm.toAlgHom) h x |
| 49 | · intro x |
| 50 | change v (Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonRight (k := k) (P := P) (R := R) (e x)) = r x |
| 51 | calc |
| 52 | _ = (r.comp e.symm.toAlgHom) (e x) := |
| 53 | Blowups.Etale.ComparisonFiberProduct.Construction.etaleComparisonPoint_right r (r.comp e.symm.toAlgHom) h (e x) |
| 54 | _ = r x := by |
| 55 | change r (e.symm (e x)) = r x |
| 56 | rw [e.symm_apply_apply] |
| 57 | |
| 58 | /-- A common point valued in a domain supplies an actual prime on the common |
| 59 | chart at which the two maps agree on every original section. -/ |
| 60 | theorem exists_prime_pointed_etale_comparison [IsDomain C] |
| 61 | (e : R ≃ₐ[k] S) (r : R →ₐ[k] C) |
| 62 | (h : ∀ p : P, r (algebraMap P R p) = r (e.symm (algebraMap P S p))) : |
| 63 | ∃ f g : R →ₐ[k] R ⊗[P] S, ∃ q : Ideal (R ⊗[P] S), |
| 64 | q.IsPrime ∧ f.toRingHom.Etale ∧ g.toRingHom.Etale ∧ |
| 65 | (∀ p : P, f (algebraMap P R p) = g (e.symm (algebraMap P S p))) ∧ |
| 66 | (∀ x : R, g x - f x ∈ q) := by |
| 67 | obtain ⟨f, g, v, hf, hg, hcoords, hvf, hvg⟩ := exists_pointed_etale_comparison e r h |
| 68 | refine ⟨f, g, RingHom.ker v.toRingHom, ?_, hf, hg, hcoords, ?_⟩ |
| 69 | · exact Ideal.comap_isPrime v.toRingHom ⊥ |
| 70 | · intro x |
| 71 | change v (g x - f x) = 0 |
| 72 | rw [map_sub, hvf, hvg, sub_self] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleComparison.Construction |