Download data/lean/OAI/AlgebraicGeometry/StableCoordinate/FrameQuotientMap.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 8.61 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/StableCoordinate/FrameQuotientMap.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/StableCoordinate/FrameQuotientMap.lean
-
curl -L -o FrameQuotientMap.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/StableCoordinate/FrameQuotientMap.lean
8.61 kB
| import OAI.AlgebraicGeometry.StableCoordinate.FrameLiftUniqueness | |
| import OAI.AlgebraicGeometry.StableCoordinate.ObstructionDefinitions | |
| import OAI.AlgebraicGeometry.StableCoordinate.BundleCharts | |
| namespace OAI | |
| /-! | |
| # Actual determinant-quotient maps from frames | |
| A determinant frame in a commutative `k`-algebra, together with an image of | |
| `u`, gives an actual algebra homomorphism from the exact source ring | |
| `k[a,d,b,c,u]/(ac-bd-1)`. This is the quotient-map construction needed when a | |
| normalized polynomial frame is turned into a lifted additive action. | |
| -/ | |
| noncomputable section | |
| namespace StableCoordinate.FrameLift | |
| open MvPolynomial | |
| variable {k S T : Type*} [CommRing k] [CommRing S] [CommRing T] | |
| [Algebra k S] [Algebra k T] | |
| /-- Evaluation on the five independent determinant-presentation variables. -/ | |
| def Frame.polynomialMap (F : Frame S) (u : S) : Obstruction.P k 5 ββ[k] S := | |
| MvPolynomial.aeval ![F.a, F.d, F.b, F.c, u] | |
| /-- Every determinant frame satisfies the exact source relation. -/ | |
| theorem Frame.polynomialMap_relation (F : Frame S) (u : S) : | |
| F.polynomialMap (k := k) u (Obstruction.determinantRelation k) = 0 := by | |
| simpa [Frame.polynomialMap, Obstruction.determinantRelation] using | |
| sub_eq_zero.mpr F.determinant | |
| /-- The determinant relation generates an ideal in the kernel of evaluation. -/ | |
| theorem Frame.ideal_le_ker_polynomialMap (F : Frame S) (u : S) : | |
| Obstruction.idealC k β€ RingHom.ker (F.polynomialMap (k := k) u).toRingHom := by | |
| rw [Obstruction.idealC, Ideal.span_singleton_le_iff_mem] | |
| exact F.polynomialMap_relation u | |
| /-- The actual map out of the source determinant quotient induced by a frame. | |
| The image of the fifth coordinate `u` is arbitrary and independently specified. -/ | |
| def Frame.quotientMap (F : Frame S) (u : S) : Obstruction.C k ββ[k] S := | |
| Ideal.Quotient.liftβ (Obstruction.idealC k) (F.polynomialMap u) | |
| (fun _ hp => F.ideal_le_ker_polynomialMap u hp) | |
| @[simp] theorem Frame.quotientMap_cX (F : Frame S) (u : S) (i : Fin 5) : | |
| F.quotientMap (k := k) u (Obstruction.cX k i) = ![F.a, F.d, F.b, F.c, u] i := by | |
| change F.polynomialMap u (X i) = _ | |
| simp [Frame.polynomialMap] | |
| @[simp] theorem Frame.quotientMap_a (F : Frame S) (u : S) : | |
| F.quotientMap (k := k) u (Obstruction.cX k 0) = F.a := by simp | |
| @[simp] theorem Frame.quotientMap_d (F : Frame S) (u : S) : | |
| F.quotientMap (k := k) u (Obstruction.cX k 1) = F.d := by simp | |
| @[simp] theorem Frame.quotientMap_b (F : Frame S) (u : S) : | |
| F.quotientMap (k := k) u (Obstruction.cX k 2) = F.b := by simp | |
| @[simp] theorem Frame.quotientMap_c (F : Frame S) (u : S) : | |
| F.quotientMap (k := k) u (Obstruction.cX k 3) = F.c := by simp | |
| @[simp] theorem Frame.quotientMap_u (F : Frame S) (u : S) : | |
| F.quotientMap (k := k) u (Obstruction.cX k 4) = u := by simp | |
| /-- Maps from the concrete determinant quotient are determined by all five | |
| coordinate images. -/ | |
| theorem determinant_algHom_ext {Ο Ο : Obstruction.C k ββ[k] S} | |
| (h : β i : Fin 5, Ο (Obstruction.cX k i) = Ο (Obstruction.cX k i)) : Ο = Ο := by | |
| apply Ideal.Quotient.algHom_ext | |
| apply MvPolynomial.algHom_ext | |
| exact h | |
| /-- The canonical determinant frame in the exact quotient. -/ | |
| def sourceFrame (k : Type*) [CommRing k] : Frame (Obstruction.C k) where | |
| a := Obstruction.cX k 0 | |
| d := Obstruction.cX k 1 | |
| b := Obstruction.cX k 2 | |
| c := Obstruction.cX k 3 | |
| determinant := sub_eq_zero.mp (Obstruction.c_relation k) | |
| /-- Each algebra map gives its frame of coordinate images. -/ | |
| def frameOfHom (Ο : Obstruction.C k ββ[k] S) : Frame S := | |
| (sourceFrame k).map Ο.toRingHom | |
| @[simp] theorem frameOfHom_a (Ο : Obstruction.C k ββ[k] S) : | |
| (frameOfHom Ο).a = Ο (Obstruction.cX k 0) := rfl | |
| @[simp] theorem frameOfHom_d (Ο : Obstruction.C k ββ[k] S) : | |
| (frameOfHom Ο).d = Ο (Obstruction.cX k 1) := rfl | |
| @[simp] theorem frameOfHom_b (Ο : Obstruction.C k ββ[k] S) : | |
| (frameOfHom Ο).b = Ο (Obstruction.cX k 2) := rfl | |
| @[simp] theorem frameOfHom_c (Ο : Obstruction.C k ββ[k] S) : | |
| (frameOfHom Ο).c = Ο (Obstruction.cX k 3) := rfl | |
| @[simp] theorem quotientMap_sourceFrame : | |
| (sourceFrame k).quotientMap (Obstruction.cX k 4) = AlgHom.id k (Obstruction.C k) := by | |
| apply determinant_algHom_ext | |
| intro i | |
| fin_cases i <;> simp [sourceFrame] | |
| /-- Naturality of the quotient-map construction under a target algebra map. -/ | |
| theorem Frame.quotientMap_natural (F : Frame S) (u : S) (Ο : S ββ[k] T) : | |
| Ο.comp (F.quotientMap u) = (F.map Ο.toRingHom).quotientMap (Ο u) := by | |
| apply determinant_algHom_ext | |
| intro i | |
| fin_cases i <;> simp [Frame.map] | |
| @[simp] theorem quotientMap_frameOfHom (Ο : Obstruction.C k ββ[k] S) : | |
| (frameOfHom Ο).quotientMap (Ο (Obstruction.cX k 4)) = Ο := by | |
| apply determinant_algHom_ext | |
| intro i | |
| fin_cases i <;> simp | |
| /-- Equality of the determinant frame and the fifth-coordinate image gives | |
| actual equality of quotient algebra homomorphisms. -/ | |
| theorem determinant_algHom_ext_frame {Ο Ο : Obstruction.C k ββ[k] S} | |
| (hF : frameOfHom Ο = frameOfHom Ο) | |
| (hu : Ο (Obstruction.cX k 4) = Ο (Obstruction.cX k 4)) : Ο = Ο := by | |
| rw [β quotientMap_frameOfHom Ο, β quotientMap_frameOfHom Ο, hF, hu] | |
| /-- Algebra maps from the quadric quotient are determined by its four generators. -/ | |
| theorem quadric_algHom_ext {Ο Ο : Obstruction.B k ββ[k] S} | |
| (h : β i : Fin 4, Ο (Obstruction.bX k i) = Ο (Obstruction.bX k i)) : Ο = Ο := by | |
| apply Ideal.Quotient.algHom_ext | |
| apply MvPolynomial.algHom_ext | |
| exact h | |
| /-- The existing bundle base map with the canonical source quotient aliases. -/ | |
| def sourceBaseMap (k : Type*) [CommRing k] : Obstruction.B k ββ[k] Obstruction.C k := | |
| BundleCharts.baseMap k | |
| /-- The already-constructed base map, expressed in the canonical source names. -/ | |
| @[simp] theorem baseMap_bX (i : Fin 4) : | |
| sourceBaseMap k (Obstruction.bX k i) = | |
| ![Obstruction.cX k 0 * Obstruction.cX k 2, | |
| Obstruction.cX k 1 * Obstruction.cX k 3, | |
| Obstruction.cX k 1 * Obstruction.cX k 2, Obstruction.cX k 4] i := | |
| BundleCharts.baseMap_qgen k i | |
| /-- A frame lying over the four images of a base map gives an actual extension | |
| of that base map to the determinant quotient. -/ | |
| theorem Frame.quotientMap_comp_baseMap (F : Frame S) (u : S) | |
| (Ο : Obstruction.B k ββ[k] S) | |
| (hx : F.a * F.b = Ο (Obstruction.bX k 0)) | |
| (hy : F.d * F.c = Ο (Obstruction.bX k 1)) | |
| (hz : F.d * F.b = Ο (Obstruction.bX k 2)) | |
| (hu : u = Ο (Obstruction.bX k 3)) : | |
| (F.quotientMap u).comp (sourceBaseMap k) = Ο := by | |
| apply quadric_algHom_ext | |
| intro i | |
| fin_cases i | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hx | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hy | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hz | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hu | |
| /-- Restriction to the source base records exactly the three frame products | |
| and the independent coordinate `u`. -/ | |
| theorem comp_baseMap_eq_iff {Ο Ο : Obstruction.C k ββ[k] S} : | |
| Ο.comp (sourceBaseMap k) = Ο.comp (sourceBaseMap k) β | |
| SameBase (frameOfHom Ο) (frameOfHom Ο) β§ | |
| Ο (Obstruction.cX k 4) = Ο (Obstruction.cX k 4) := by | |
| constructor | |
| Β· intro h | |
| refine β¨β¨?_, ?_, ?_β©, ?_β© | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using AlgHom.congr_fun h (Obstruction.bX k 0) | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using AlgHom.congr_fun h (Obstruction.bX k 1) | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using AlgHom.congr_fun h (Obstruction.bX k 2) | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using AlgHom.congr_fun h (Obstruction.bX k 3) | |
| Β· rintro β¨β¨hx, hy, hzβ©, huβ© | |
| apply quadric_algHom_ext | |
| intro i | |
| fin_cases i | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hx | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hy | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hz | |
| Β· simpa [AlgHom.comp_apply, baseMap_bX] using hu | |
| /-- Normalized polynomial maps of the determinant quotient are unique over | |
| the same base map. This is an actual equality of algebra homomorphisms. -/ | |
| theorem normalized_quotientMap_unique {R Ο : Type*} [CommRing R] [Algebra k R] | |
| [IsReduced R] {Ο Ο : Obstruction.C k ββ[k] MvPolynomial Ο R} | |
| (hbase : Ο.comp (sourceBaseMap k) = Ο.comp (sourceBaseMap k)) | |
| (hzero : (frameOfHom Ο).map MvPolynomial.constantCoeff = | |
| (frameOfHom Ο).map MvPolynomial.constantCoeff) : Ο = Ο := by | |
| obtain β¨hF, huβ© := comp_baseMap_eq_iff.mp hbase | |
| exact determinant_algHom_ext_frame (normalized_polynomial_unique hF hzero) hu | |
| end StableCoordinate.FrameLift | |
| end | |
| end OAI | |