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.HilbertScheme.Presentations.AddedCechKernel |
| 2 | |
| 3 | /-! # Added Kernel Degrees -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.AddedKernelDegrees.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The added-chart kernel equivalence preserves homogeneous degrees and shifts face cardinality by one. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial DirectSum |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {σ : Type u} [LinearOrder σ] |
| 16 | variable (R : Type v) [CommRing R] |
| 17 | variable [Algebra (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 18 | [IsScalarTower R (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 19 | variable (he : ∀ i : σ, algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X (i : WithBot σ)) = X i) |
| 20 | variable (M : Type w) [AddCommGroup M] [Module R M] |
| 21 | [Module (MvPolynomial (WithBot σ) R) M] [Module (MvPolynomial σ R) M] |
| 22 | [IsScalarTower R (MvPolynomial (WithBot σ) R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 23 | [IsScalarTower (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) M] |
| 24 | variable (l : MvPolynomial σ R) |
| 25 | variable (hl : algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X ⊥) = l) |
| 26 | |
| 27 | theorem addedModuleCechComponent_card (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 28 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q + 1) f) : |
| 29 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (Presentations.Module.Fractions.GradedModules.AwayModule l M) q (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f) := by |
| 30 | intro s hs |
| 31 | change AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv R he l hl M s (f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s)) = 0 |
| 32 | rw [hf _ (by rw [AddedCoordinateFinsets.ProjectiveCech.card_addedCoordinateFace]; omega), map_zero] |
| 33 | |
| 34 | theorem addedModuleCechComponent_card_iff (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 35 | (hker : ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f = 0) : |
| 36 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (Presentations.Module.Fractions.GradedModules.AwayModule l M) q (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f) ↔ |
| 37 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q + 1) f := by |
| 38 | constructor |
| 39 | · intro h s hs |
| 40 | by_cases hbot : ⊥ ∈ s |
| 41 | · obtain ⟨t, rfl⟩ : ∃ t : Finset σ, AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace t = s := |
| 42 | ⟨AddedCoordinateFinsets.ProjectiveCech.removeAddedCoordinate s, AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace_representation s hbot⟩ |
| 43 | apply (AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv R he l hl M t).injective |
| 44 | rw [map_zero] |
| 45 | exact h t (by rw [AddedCoordinateFinsets.ProjectiveCech.card_addedCoordinateFace] at hs; omega) |
| 46 | · exact (AddedCechKernel.ProjectiveCech.retainedModuleCechMap_eq_zero_iff R he M f).mp hker s hbot |
| 47 | · exact addedModuleCechComponent_card R he M l hl q f |
| 48 | |
| 49 | theorem retainedModuleCechMap_kernel_card_zero (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 50 | (hker : ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f = 0) |
| 51 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M 0 f) : f = 0 := by |
| 52 | funext s |
| 53 | by_cases hbot : ⊥ ∈ s |
| 54 | · exact hf s (Finset.card_ne_zero.mpr ⟨⊥, hbot⟩) |
| 55 | · exact (AddedCechKernel.ProjectiveCech.retainedModuleCechMap_eq_zero_iff R he M f).mp hker s hbot |
| 56 | |
| 57 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 58 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 59 | variable (hlhom : l ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R 1) |
| 60 | |
| 61 | include hlhom in |
| 62 | theorem addedModuleCechComponent_homogeneous (d : ℤ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 63 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f) : |
| 64 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ l 1) d |
| 65 | (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f) := by |
| 66 | intro s |
| 67 | rw [← AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv_degree R he l hl M ℳ hlhom s d] |
| 68 | exact Submodule.mem_map.mpr ⟨f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s), hf _, rfl⟩ |
| 69 | |
| 70 | include hlhom in |
| 71 | theorem addedModuleCechComponent_homogeneous_iff (d : ℤ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 72 | (hker : ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f = 0) : |
| 73 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ l 1) d |
| 74 | (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f) ↔ ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f := by |
| 75 | constructor |
| 76 | · intro h s |
| 77 | by_cases hbot : ⊥ ∈ s |
| 78 | · obtain ⟨t, rfl⟩ : ∃ t : Finset σ, AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace t = s := |
| 79 | ⟨AddedCoordinateFinsets.ProjectiveCech.removeAddedCoordinate s, AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace_representation s hbot⟩ |
| 80 | have hm := h t |
| 81 | rw [← AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv_degree R he l hl M ℳ hlhom t d] at hm |
| 82 | obtain ⟨x, hx, hxe⟩ := Submodule.mem_map.mp hm |
| 83 | exact ((AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv R he l hl M t).injective hxe) ▸ hx |
| 84 | · rw [(AddedCechKernel.ProjectiveCech.retainedModuleCechMap_eq_zero_iff R he M f).mp hker s hbot] |
| 85 | exact Submodule.zero_mem _ |
| 86 | · exact addedModuleCechComponent_homogeneous R he M l hl ℳ hlhom d f |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.AddedKernelDegrees.ProjectiveCech |