Module mathcomp.reals.prodnormedzmodule
From HB Require Import structures.From mathcomp Require Import all_ssreflect_compat fingroup ssralg poly ssrnum.
From mathcomp Require Import all_classical.
From mathcomp Require Import interval_inference.
Set SsrOldRewriteGoalsOrder.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Local Open Scope ring_scope.
Import Order.TTheory GRing.Theory Num.Theory.
Section Linear1.
Context (R : pzRingType) (U : lmodType R) (V : zmodType) (s : R -> V -> V).
HB.instance Definition _ := gen_eqMixin {linear U -> V | s}.
HB.instance Definition _ := gen_choiceMixin {linear U -> V | s}.
End Linear1.
Section Linear2.
Context (R : pzRingType) (U : lmodType R) (V : zmodType) (s : GRing.Scale.law R V).
HB.instance Definition _ :=
isPointed.Build {linear U -> V | GRing.Scale.Law.sort s} \0.
End Linear2.
Module ProdNormedZmodule.
Section ProdNormedZmodule.
Context {R : numDomainType} {U V : normedZmodType R}.
Definition
ProdNormedZmodule.norm : forall {R : numDomainType} {U V : normedZmodType R}, U * V -> R ProdNormedZmodule.norm is not universe polymorphic Arguments ProdNormedZmodule.norm {R U V} x ProdNormedZmodule.norm is transparent Expands to: Constant mathcomp.reals.prodnormedzmodule.ProdNormedZmodule.norm Declared in library mathcomp.reals.prodnormedzmodule, line 37, characters 11-15
Lemma normD x y : norm (x + y) <= norm x + norm y.
Proof.
by rewrite comparable_le_max ?lexx ?orbT// real_comparable.
Qed.
Lemma norm_eq0 x : norm x = 0 -> x = 0.
Proof.
Lemma normMn x n : norm (x *+ n) = (norm x) *+ n.
Lemma normrN x : norm (- x) = norm x.
#[export]
HB.instance Definition _ := Num.Zmodule_isNormed.Build R (U * V)%type
normD norm_eq0 normMn normrN.
Lemma prod_normE (x : U * V) : `|x| = Num.max `|x.1| `|x.2|.
Proof.
End ProdNormedZmodule.
Module Exports.
HB.reexport.
Definition
prod_normE : forall [R : numDomainType] [U V : normedZmodType R] (x : U * V), `|x|%R = Num.max `|x.1|%R `|x.2|%R prod_normE is not universe polymorphic Arguments prod_normE [R U V] x prod_normE is transparent Expands to: Constant mathcomp.reals.prodnormedzmodule.ProdNormedZmodule.Exports.prod_normE Declared in library mathcomp.reals.prodnormedzmodule, line 68, characters 11-21
End Exports.
End ProdNormedZmodule.
Export ProdNormedZmodule.Exports.