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.AbelianModuli.HilbertConstruction.PrescribedModelRecoveryMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FactoredRecoveryNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.FactoredRecovery |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramComparison |
| 5 | |
| 6 | /-! # Prescribed Recovery Embedding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The lifted recovery preserves the prescribed projective embedding and gives its Cartesian recovery square. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {C K R : CommRingCat.{u}} (φ : C ⟶ K) (ψ : K ⟶ R) |
| 19 | variable {A : Over (Spec R)} {X : Over (Spec C)} {n : ℕ} |
| 20 | variable (f : A ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n) (i : X ⟶ Projective.ProjectivePresentations.affineProjectiveSpace C n) |
| 21 | variable (L : Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel ((Over.pullback (Spec.map φ)).obj X) (Spec.map ψ)) |
| 22 | variable (q : A.left ⟶ X.left) (h : IsPullback q A.hom X.hom (Spec.map ψ ≫ Spec.map φ)) |
| 23 | variable (hw : q ≫ i.left = f.left ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (φ ≫ ψ) n) |
| 24 | |
| 25 | include hw |
| 26 | |
| 27 | theorem Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel.prescribedRecoveryMap_embedding : |
| 28 | L.prescribedRecoveryMap φ ψ q h ≫ (L.prescribedEmbedding φ (Spec.map ψ) i).left = |
| 29 | f.left ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap ψ n := by |
| 30 | let c := Spec.map φ |
| 31 | let r := Spec.map ψ |
| 32 | let a : A.left ⟶ pullback X.hom c := FactoredBaseRecovery.factoredBaseRecovery q A.hom X.hom r c h |
| 33 | let b : (Projective.ProjectivePresentations.affineProjectiveSpace R n).left ⟶ pullback (Projective.ProjectivePresentations.affineProjectiveSpace C n).hom c := |
| 34 | FactoredBaseRecovery.factoredBaseRecovery _ _ _ _ _ (Projective.FactoredRecovery.polynomialProjectiveComposite_isPullback φ ψ n) |
| 35 | let g : pullback X.hom c ⟶ pullback (Projective.ProjectivePresentations.affineProjectiveSpace C n).hom c := ((Over.pullback c).map i).left |
| 36 | let u : L.scheme.left ⟶ pullback X.hom c := L.embedding.left |
| 37 | let e : (Projective.ProjectivePresentations.affineProjectiveSpace K n).left ⟶ pullback (Projective.ProjectivePresentations.affineProjectiveSpace C n).hom c := |
| 38 | (Projective.RingMapBaseChange.polynomialProjectiveBaseChangeIso φ n).hom.left |
| 39 | let d : pullback (Projective.ProjectivePresentations.affineProjectiveSpace C n).hom c ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace K n).left := |
| 40 | (Projective.RingMapBaseChange.polynomialProjectiveBaseChangeIso φ n).inv.left |
| 41 | let f₀ : A.left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace R n).left := f.left |
| 42 | let p₀ : (Projective.ProjectivePresentations.affineProjectiveSpace R n).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace K n).left := Projective.CoefficientFunctoriality.polynomialProjectiveMap ψ n |
| 43 | let qY : A.left ⟶ L.scheme.left := L.prescribedRecoveryMap φ ψ q h |
| 44 | have hq : qY ≫ u = a := L.prescribedRecoveryMap_comp_model φ ψ q h |
| 45 | have hn : a ≫ g = f₀ ≫ b := FactoredRecoveryNaturality.factoredBaseRecovery_natural r c f i q |
| 46 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap (φ ≫ ψ) n) h (Projective.FactoredRecovery.polynomialProjectiveComposite_isPullback φ ψ n) hw |
| 47 | have hp : b = p₀ ≫ e := Projective.FactoredRecovery.polynomialProjective_factoredRecovery φ ψ n |
| 48 | have he : e ≫ d = 𝟙 (Projective.ProjectivePresentations.affineProjectiveSpace K n).left := |
| 49 | congrArg (fun k => k.left) (Projective.RingMapBaseChange.polynomialProjectiveBaseChangeIso φ n).hom_inv_id |
| 50 | change qY ≫ (u ≫ g ≫ d) = f₀ ≫ p₀ |
| 51 | rw [← Category.assoc, hq, ← Category.assoc, hn, hp] |
| 52 | simp only [Category.assoc, he, Category.comp_id] |
| 53 | |
| 54 | theorem Smooth.ProjectiveClosedModel.SmoothProjectiveClosedModel.prescribedEmbedding_recovery_isPullback : |
| 55 | IsPullback (L.prescribedRecoveryMap φ ψ q h) f.left |
| 56 | (L.prescribedEmbedding φ (Spec.map ψ) i).left (Projective.CoefficientFunctoriality.polynomialProjectiveMap ψ n) := |
| 57 | Cartesian.DiagramComparison.isPullback_arrow_of_base_squares _ _ A.hom (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom |
| 58 | L.scheme.hom (Projective.ProjectivePresentations.affineProjectiveSpace K n).hom (Spec.map ψ) _ _ |
| 59 | (L.prescribedRecoveryMap_isPullback φ ψ q h) (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback ψ n) |
| 60 | f.w (L.prescribedEmbedding φ (Spec.map ψ) i).w (L.prescribedRecoveryMap_embedding φ ψ f i q h hw) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |