Download data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ComplexOrientation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.16 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ComplexOrientation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ComplexOrientation.lean
-
curl -L -o ComplexOrientation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ComplexOrientation.lean
5.16 kB
| import Mathlib.LinearAlgebra.Complex.Orientation | |
| import Mathlib.RingTheory.Complex | |
| import Mathlib.RingTheory.Norm.Transitivity | |
| /-! # Complex Orientation -/ | |
| namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexOrientation | |
| noncomputable section | |
| /-!+# Complex orientations of finite-dimensional tangent model spaces | |
| The real determinant of a complex-linear automorphism is the squared complex | |
| norm of its complex determinant and is therefore positive. The real bases | |
| `(vβ, I vβ, β¦, vβ, I vβ)` consequently give one orientation independent of | |
| the chosen complex basis. These are linear-algebraic prerequisites for cycle | |
| orientations; this file does not construct fundamental or cycle classes. | |
| -/ | |
| open _root_.Module | |
| variable {V W : Type*} | |
| variable [AddCommGroup V] [Module β V] [Module β V] [IsScalarTower β β V] | |
| variable [AddCommGroup W] [Module β W] [Module β W] [IsScalarTower β β W] | |
| /-- The determinant after restricting a complex-linear map to real scalars. -/ | |
| theorem complexLinearMap_realDet (f : V ββ[β] V) : | |
| LinearMap.det (f.restrictScalars β) = Complex.normSq (LinearMap.det f) := by | |
| rw [LinearMap.det_restrictScalars, Algebra.norm_complex_apply] | |
| /-- Every complex-linear automorphism has positive real determinant. -/ | |
| theorem complexLinearEquiv_realDet_pos (e : V ββ[β] V) : | |
| 0 < LinearMap.det ((e.restrictScalars β).toLinearMap) := by | |
| change 0 < LinearMap.det (e.toLinearMap.restrictScalars β) | |
| rw [complexLinearMap_realDet, Complex.normSq_pos] | |
| exact e.isUnit_det'.ne_zero | |
| variable {ΞΉ : Type*} | |
| /-- The real basis obtained from a complex basis by replacing each vector with | |
| itself and its multiple by `I`, in that order. -/ | |
| def complexRealBasis (b : Basis ΞΉ β V) : Basis (ΞΉ Γ Fin 2) β V := | |
| Complex.basisOneI.smulTower' b | |
| @[simp] | |
| theorem complexRealBasis_apply (b : Basis ΞΉ β V) (i : ΞΉ) (j : Fin 2) : | |
| complexRealBasis b (i, j) = Complex.basisOneI j β’ b i := by | |
| exact Complex.basisOneI.smulTower'_apply b (i, j) | |
| @[simp] | |
| theorem complexRealBasis_map (b : Basis ΞΉ β V) (e : V ββ[β] W) : | |
| complexRealBasis (b.map e) = (complexRealBasis b).map (e.restrictScalars β) := by | |
| ext ij | |
| simp [complexRealBasis, Basis.smulTower'_apply] | |
| variable [Fintype ΞΉ] [DecidableEq ΞΉ] | |
| /-- The complex orientation as presented by a complex basis. -/ | |
| def complexOrientationOfBasis (b : Basis ΞΉ β V) : Orientation β V (ΞΉ Γ Fin 2) := | |
| (complexRealBasis b).orientation | |
| theorem complexOrientationOfBasis_map (b : Basis ΞΉ β V) (e : V ββ[β] W) : | |
| complexOrientationOfBasis (b.map e) = | |
| Orientation.map (ΞΉ Γ Fin 2) (e.restrictScalars β) (complexOrientationOfBasis b) := by | |
| rw [complexOrientationOfBasis, complexRealBasis_map, Basis.orientation_map] | |
| rfl | |
| /-- A complex-linear automorphism preserves the orientation of any real basis. -/ | |
| theorem complexLinearEquiv_preserves_realBasis_orientation | |
| {ΞΊ : Type*} [Fintype ΞΊ] [DecidableEq ΞΊ] | |
| (b : Basis ΞΊ β V) (e : V ββ[β] V) : | |
| Orientation.map ΞΊ (e.restrictScalars β) b.orientation = b.orientation := by | |
| rw [β Basis.orientation_map] | |
| exact (b.orientation_comp_linearEquiv_eq_iff_det_pos (e.restrictScalars β)).2 | |
| (complexLinearEquiv_realDet_pos e) | |
| /-- The orientation from the paired real basis is independent of the complex basis. -/ | |
| theorem complexOrientationOfBasis_eq (b c : Basis ΞΉ β V) : | |
| complexOrientationOfBasis b = complexOrientationOfBasis c := by | |
| let e := b.equiv c (Equiv.refl ΞΉ) | |
| have he : b.map e = c := by | |
| simp [e] | |
| calc | |
| complexOrientationOfBasis b = | |
| Orientation.map (ΞΉ Γ Fin 2) (e.restrictScalars β) (complexOrientationOfBasis b) := | |
| (complexLinearEquiv_preserves_realBasis_orientation (complexRealBasis b) e).symm | |
| _ = complexOrientationOfBasis (b.map e) := (complexOrientationOfBasis_map b e).symm | |
| _ = complexOrientationOfBasis c := congrArg complexOrientationOfBasis he | |
| /-- Complex-linear coordinate transitions preserve the orientations defined by | |
| any complex bases on the source and target. -/ | |
| theorem complexOrientationOfBasis_equiv (b : Basis ΞΉ β V) (c : Basis ΞΉ β W) | |
| (e : V ββ[β] W) : | |
| Orientation.map (ΞΉ Γ Fin 2) (e.restrictScalars β) (complexOrientationOfBasis b) = | |
| complexOrientationOfBasis c := by | |
| rw [β complexOrientationOfBasis_map] | |
| exact complexOrientationOfBasis_eq (b.map e) c | |
| /-- The standard complex orientation on the real tangent model space `ββΏ`. -/ | |
| def standardComplexOrientation (n : β) : | |
| Orientation β (Fin n β β) (Fin n Γ Fin 2) := | |
| complexOrientationOfBasis (Pi.basisFun β (Fin n)) | |
| /-- Every complex-linear change of standard complex coordinates preserves | |
| the standard real orientation. -/ | |
| theorem standardComplexOrientation_preserved (n : β) | |
| (e : (Fin n β β) ββ[β] (Fin n β β)) : | |
| Orientation.map (Fin n Γ Fin 2) (e.restrictScalars β) | |
| (standardComplexOrientation n) = standardComplexOrientation n := by | |
| exact complexOrientationOfBasis_equiv (Pi.basisFun β (Fin n)) | |
| (Pi.basisFun β (Fin n)) e | |
| end | |
| end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexOrientation | |