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.Global.CoordinateSubspaceChart |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelZero |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelOrderEquiv |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PullbackCenter |
| 5 | |
| 6 | /-! # Subspace Chart Model -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Retained coordinate charts supply actual smooth integral affine models and exact common marked inputs. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {x : X} |
| 17 | |
| 18 | abbrev Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelScheme (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : Scheme := |
| 19 | Spec (.of (MvPolynomial (C.normal ⊕ Fin C.freeDimension) ℂ)) |
| 20 | |
| 21 | abbrev Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelStructure (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : C.modelScheme ⟶ Foundations.Scheme.ProjectiveSpace.complexBase := |
| 22 | ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (MvPolynomial (C.normal ⊕ Fin C.freeDimension) ℂ) |
| 23 | |
| 24 | abbrev Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelIdeal (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : C.modelScheme.IdealSheafData := |
| 25 | Affine.QuotientKernel.Construction.affineQuotientKernel (RingHom.ker Coordinate.SubspaceIdeal.Construction.polynomialCoordinateProjection.toRingHom) |
| 26 | |
| 27 | def Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelMap (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : Spec C.ring ⟶ C.modelScheme := |
| 28 | Spec.map (CommRingCat.ofHom C.coordinate.toRingHom) |
| 29 | |
| 30 | instance Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelStructure_smooth (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : Smooth C.modelStructure := by |
| 31 | let : Algebra.Smooth ℂ (MvPolynomial (C.normal ⊕ Fin C.freeDimension) ℂ) := ⟨inferInstance, inferInstance⟩ |
| 32 | infer_instance |
| 33 | |
| 34 | instance Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelMap_etale (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : Etale C.modelMap := |
| 35 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom C.coordinate.toRingHom)).mpr C.coordinate_etale |
| 36 | |
| 37 | theorem Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelMap_ground (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : |
| 38 | C.modelMap ≫ C.modelStructure = C.map ≫ f := by |
| 39 | rw [C.ground] |
| 40 | change Spec.map (CommRingCat.ofHom C.coordinate.toRingHom) ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure _ = _ |
| 41 | rw [ComplexAffineDifferentialIdeal.Construction.complexSpecStructure, ← Spec.map_comp] |
| 42 | apply congrArg Spec.map |
| 43 | have he : C.coordinate.toRingHom.comp (algebraMap ℂ (MvPolynomial (C.normal ⊕ Fin C.freeDimension) ℂ)) = |
| 44 | algebraMap ℂ C.ring := by |
| 45 | apply RingHom.ext |
| 46 | intro c |
| 47 | exact C.coordinate.commutes c |
| 48 | exact congrArg CommRingCat.ofHom he |
| 49 | |
| 50 | theorem Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelMap_ideal (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : |
| 51 | C.modelIdeal.comap C.modelMap = J.comap C.map := by |
| 52 | rw [Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelIdeal, Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelMap, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 53 | exact C.ideal_eq.symm |
| 54 | |
| 55 | theorem Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.modelIdeal_ne_bot (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : C.modelIdeal ≠ ⊥ := by |
| 56 | intro hz |
| 57 | apply C.modelNonzero |
| 58 | apply le_bot_iff.mp |
| 59 | apply (Affine.IdealChartDescent.Construction.affineQuotientKernel_le_iff _ _).mp |
| 60 | rw [Affine.KernelZero.Construction.affineQuotientKernel_bot] |
| 61 | exact hz.le |
| 62 | |
| 63 | theorem Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart.chartIdeal_ne_bot (C : Global.CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) : J.comap C.map ≠ ⊥ := by |
| 64 | rw [← C.modelMap_ideal] |
| 65 | exact Blowups.Etale.PullbackCenter.Construction.idealSheaf_comap_nonempty_etale_ne_bot C.modelMap C.modelIdeal C.modelIdeal_ne_bot |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Resolution.Blowups |