File size: 5,158 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
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