Skip to content

Commit

Permalink
wip dual pair
Browse files Browse the repository at this point in the history
  • Loading branch information
mkerjean committed Mar 6, 2024
1 parent 5855c76 commit a81e4d3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion theories/evt.v
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,15 @@ Lemma nbhsE_subproof : nbhs = nbhs_ entourage.
nbhsE_subproof.
HB.end.

Definition dual {R : ringType} (E : lmodType R) := {scalar E}.
Definition dual {R : ringType} (E : lmodType R) : Type := {scalar E}.
(* Check fun {R : ringType} (E : lmodType R) => dual E : ringType. *)


HB.mixin Record hasDual (R : ringType) (E' : lmodType R) E of GRing.Lmodule R E := {
dual_pair : E -> E' -> R;
dual_pair_rlinear : forall x, scalar (dual_pair x);
dual_pair_llinear : forall x, scalar (dual_pair^~ x);
ipair : injective ( fun x => dual_pair^~ x)

}.

0 comments on commit a81e4d3

Please sign in to comment.