diff options
| author | Kazuhiko Sakaguchi | 2020-04-21 01:52:32 +0900 |
|---|---|---|
| committer | Kazuhiko Sakaguchi | 2020-04-21 01:52:32 +0900 |
| commit | c67dde4080b9c4470b8ab4ff828707fb0044d3dc (patch) | |
| tree | 2a3aa7215f7bbf8b11ece9c2e794df32dcb9ca36 /mathcomp | |
| parent | 709756f9bbb92b5e5844e0133627271c974a11c2 (diff) | |
Add dual_finLatticeType and fix dual_finDistrLatticeType
This fixes two issues:
- dual_finLatticeType was missing, and
- dual_finDistrLatticeType was just an identity function.
Diffstat (limited to 'mathcomp')
| -rw-r--r-- | mathcomp/ssreflect/order.v | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/order.v b/mathcomp/ssreflect/order.v index 38ee13d..90ddfcb 100644 --- a/mathcomp/ssreflect/order.v +++ b/mathcomp/ssreflect/order.v @@ -3549,6 +3549,10 @@ Lemma botEdual : (dual_bottom : L^d) = 1 :> L. Proof. by []. Qed. Lemma topEdual : (dual_top : L^d) = 0 :> L. Proof. by []. Qed. End DualTBLattice. + +Canonical dual_finLatticeType d (T : finLatticeType d) := + [finLatticeType of T^d]. + End DualTBLattice. Module Import TBLatticeTheory. @@ -3682,11 +3686,12 @@ Context {L : tbDistrLatticeType}. Canonical dual_bDistrLatticeType := [bDistrLatticeType of L^d]. Canonical dual_tbDistrLatticeType := [tbDistrLatticeType of L^d]. +End DualTBDistrLattice. + Canonical dual_finDistrLatticeType d (T : finDistrLatticeType d) := [finDistrLatticeType of T^d]. End DualTBDistrLattice. -End DualTBDistrLattice. Module Import TBDistrLatticeTheory. Section TBDistrLatticeTheory. |
