diff options
| author | Kazuhiko Sakaguchi | 2020-09-10 08:16:56 +0900 |
|---|---|---|
| committer | Kazuhiko Sakaguchi | 2020-09-17 18:30:03 +0900 |
| commit | 15e57ba36d2b0b96da80679f01c5915137b9ea77 (patch) | |
| tree | b9ddd5062f9a7fa2ca50d14541136a4b59f2c75c /mathcomp/ssreflect/order.v | |
| parent | 98315a4e30f746bc01891992ed53559d1a50e863 (diff) | |
Fix big meet and join notations for dual_display, and add `0^d` and `1^d` notations
Diffstat (limited to 'mathcomp/ssreflect/order.v')
| -rw-r--r-- | mathcomp/ssreflect/order.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mathcomp/ssreflect/order.v b/mathcomp/ssreflect/order.v index 846885e..da0e4d7 100644 --- a/mathcomp/ssreflect/order.v +++ b/mathcomp/ssreflect/order.v @@ -468,6 +468,9 @@ Reserved Notation "A `|^d` B" (at level 52, left associativity). Reserved Notation "A `\^d` B" (at level 50, left associativity). Reserved Notation "~^d` A" (at level 35, right associativity). +Reserved Notation "0^d" (at level 0). +Reserved Notation "1^d" (at level 0). + (* Reserved notations for product ordering of prod or seq *) Reserved Notation "x <=^p y" (at level 70, y at next level). Reserved Notation "x >=^p y" (at level 70, y at next level). @@ -2551,6 +2554,16 @@ Notation "x ><^d y" := (~~ (><^d%O x y)) : order_scope. Notation "x `&^d` y" := (dual_meet x y) : order_scope. Notation "x `|^d` y" := (dual_join x y) : order_scope. +Notation "0^d" := dual_bottom : order_scope. +Notation "1^d" := dual_top : order_scope. + +(* The following Local Notations are here to define the \join^d_ and \meet^d_ *) +(* notations later. Do not remove them. *) +Local Notation "0" := dual_bottom. +Local Notation "1" := dual_top. +Local Notation join := dual_join. +Local Notation meet := dual_meet. + Notation "\join^d_ ( i <- r | P ) F" := (\big[join/0]_(i <- r | P%B) F%O) : order_scope. Notation "\join^d_ ( i <- r ) F" := |
