import OAI.Analysis.HodgeTheory.Decomposition.ComplexMetric /-! # Compatible Real Inner -/ namespace OAI.Analysis.HodgeTheory.Decomposition.CompatibleRealInner.Constructions noncomputable section /-! Real and complex Hilbert structures with the same norm have the same real inner product; their genuine adjoints therefore agree under restriction. -/ theorem compatible_real_inner {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ā„‚ F] [InnerProductSpace ā„ F] (u v : F) : inner ā„ u v = (inner ā„‚ u v).re := by have hr := norm_sub_sq_real u v have hc := norm_sub_sq (š•œ := ā„‚) u v change ‖u - v‖ ^ 2 = ‖u‖ ^ 2 - 2 * (inner ā„‚ u v).re + ‖v‖ ^ 2 at hc linarith theorem compatible_adjoint_restrictScalars {F G : Type*} [NormedAddCommGroup F] [InnerProductSpace ā„‚ F] [InnerProductSpace ā„ F] [IsScalarTower ā„ ā„‚ F] [CompleteSpace F] [NormedAddCommGroup G] [InnerProductSpace ā„‚ G] [InnerProductSpace ā„ G] [IsScalarTower ā„ ā„‚ G] [CompleteSpace G] (A : F →L[ā„‚] G) : (A.restrictScalars ā„).adjoint = A.adjoint.restrictScalars ā„ := by apply ContinuousLinearMap.ext intro u apply ext_inner_right ā„ intro v rw [ContinuousLinearMap.adjoint_inner_left] change inner ā„ u (A v) = inner ā„ (A.adjoint u) v rw [compatible_real_inner, compatible_real_inner, ContinuousLinearMap.adjoint_inner_left] end end OAI.Analysis.HodgeTheory.Decomposition.CompatibleRealInner.Constructions