/-
Copyright (c) 2025 Monica Omar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Monica Omar
-/
module
public import Mathlib.Analysis.InnerProductSpace.PiL2
public import Mathlib.LinearAlgebra.Basis.MulOpposite
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Inner product space on `Hᵐᵒᵖ`
This file defines the inner product space structure on `Hᵐᵒᵖ` where we define
the inner product naturally. We also define `OrthonormalBasis.mulOpposite`.
-/
@[expose] public section
namespace MulOpposite
variable { H : Type*}
open MulOpposite
/-- The inner product of `Hᵐᵒᵖ` is given by `⟪x, y⟫ ↦ ⟪x.unop, y.unop⟫`. -/
instance [Inner H] : Inner Hᵐᵒᵖ where inner x y := inner x.unop y.unop
@[simp] theorem inner_unop [Inner H] (x y : Hᵐᵒᵖ) : inner x.unop y.unop = inner x y := rfl
@[simp] theorem inner_op [Inner H] (x y : H) : inner (op x) (op y) = inner x y := rfl
section InnerProductSpace
variable [RCLike ] [SeminormedAddCommGroup H] [InnerProductSpace H]
instance : InnerProductSpace Hᵐᵒᵖ where
norm_sq_eq_re_inner x := (inner_self_eq_norm_sq x.unop).symm
conj_inner_symm x y := InnerProductSpace.conj_inner_symm x.unop y.unop
add_left x y z := InnerProductSpace.add_left x.unop y.unop z.unop
smul_left x y r := InnerProductSpace.smul_left x.unop y.unop r
section orthonormal
theorem _root_.Module.Basis.mulOpposite_is_orthonormal_iff {ι : Type*} (b : Module.Basis ι H) :
Orthonormal b.mulOpposite ↔ Orthonormal b := Iff.rfl
variable {ι H : Type*} [NormedAddCommGroup H] [InnerProductSpace H] [Fintype ι]
/-- The multiplicative opposite of an orthonormal basis `b`, i.e., `b i ↦ op (b i)`. -/
noncomputable def _root_.OrthonormalBasis.mulOpposite (b : OrthonormalBasis ι H) :
OrthonormalBasis ι Hᵐᵒᵖ := b.toBasis.mulOpposite.toOrthonormalBasis b.orthonormal
@[simp] lemma _root_.OrthonormalBasis.toBasis_mulOpposite (b : OrthonormalBasis ι H) :
b.mulOpposite.toBasis = b.toBasis.mulOpposite := rfl
end orthonormal
end InnerProductSpace
end MulOpposite
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland