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.IntersectionTheory.ProjectionFormula.Support.Fields |
| 2 | |
| 3 | /-! # Integral Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.IntegralImage |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An arbitrary proper integral scheme factors through its actual |
| 10 | reduced image in the smooth projective target, retaining the generic field. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {Z : Scheme} [IsIntegral Z] |
| 17 | (f : Z ⟶ X.carrier) [IsProper f] |
| 18 | |
| 19 | def map : Z ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme (CycleClass.Geometric.StratumClosure.integralImageClosure f) := CycleClass.Geometric.StratumClosure.toReducedImageClosure f |
| 20 | |
| 21 | theorem map_fac : map X f ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure f) = f := |
| 22 | CycleClass.Geometric.StratumClosure.toReducedImageClosure_inclusion f |
| 23 | |
| 24 | instance map_isProper : IsProper (map X f) := by |
| 25 | let : IsProper (map X f ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure f)) := by |
| 26 | rw [map_fac] |
| 27 | infer_instance |
| 28 | exact IsProper.of_comp (map X f) (CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure f)) |
| 29 | |
| 30 | theorem map_surjective : Function.Surjective (map X f) := by |
| 31 | intro y |
| 32 | have hy : CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure f) y ∈ (CycleClass.Geometric.StratumClosure.integralImageClosure f : Set X.carrier) := by |
| 33 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 34 | exact ⟨y, rfl⟩ |
| 35 | rw [CycleClass.Geometric.StratumClosure.integralImageClosure_coe, f.isClosedMap.isClosed_range.closure_eq] at hy |
| 36 | obtain ⟨z, hz⟩ := hy |
| 37 | refine ⟨z, (CycleClass.Geometric.GenericPoint.reducedSupportι (CycleClass.Geometric.StratumClosure.integralImageClosure f)).isEmbedding.injective ?_⟩ |
| 38 | have he := congrArg (fun k : Z ⟶ X.carrier => k z) (map_fac X f) |
| 39 | exact he.trans hz |
| 40 | |
| 41 | theorem map_genericPoint : map X f (genericPoint Z) = |
| 42 | genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (CycleClass.Geometric.StratumClosure.integralImageClosure f)) := by |
| 43 | apply IsGenericPoint.eq _ (genericPoint_spec _) |
| 44 | have h := (genericPoint_spec Z).image (map X f).continuous |
| 45 | simpa only [Set.image_univ, (map_surjective X f).range_eq, closure_univ] using h |
| 46 | |
| 47 | theorem map_over : map X f ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap (CycleClass.Geometric.StratumClosure.integralImageClosure f) X.structureMap = f ≫ X.structureMap := by |
| 48 | rw [CycleClass.Geometric.SupportFiniteType.supportStructureMap, ← Category.assoc, map_fac] |
| 49 | |
| 50 | theorem dimension_le : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Geometric.StratumClosure.integralImageClosure f) X.structureMap ≤ |
| 51 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ X.structureMap) := by |
| 52 | have h := Cycles.Functoriality.FunctionFields.Construction.dimension_le_of_genericPoint (map X f) (map_genericPoint X f) |
| 53 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (CycleClass.Geometric.StratumClosure.integralImageClosure f) X.structureMap) |
| 54 | rw [map_over] at h |
| 55 | exact h |
| 56 | |
| 57 | theorem field_finite |
| 58 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Geometric.StratumClosure.integralImageClosure f) X.structureMap = |
| 59 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ X.structureMap)) : |
| 60 | letI := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (map X f) (map_genericPoint X f)).hom.toAlgebra |
| 61 | Module.Finite (CycleClass.Geometric.GenericPoint.reducedSupportScheme (CycleClass.Geometric.StratumClosure.integralImageClosure f)).functionField Z.functionField := by |
| 62 | apply Cycles.Functoriality.FunctionFields.Construction.genericField_extension_finite (map X f) (map_genericPoint X f) |
| 63 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (CycleClass.Geometric.StratumClosure.integralImageClosure f) X.structureMap) |
| 64 | rw [map_over] |
| 65 | exact hd |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.IntegralImage |