@@ -63,6 +63,8 @@ Proof. zify_op; reflexivity. Qed.
63
63
Fact test_dual_max_bool (b1 b2 : bool^d) : Order.dual_max b1 b2 = b1 && b2.
64
64
Proof . zify_op; reflexivity. Qed .
65
65
66
+ (* FIXME: meet and join below are broken but the tests pass because they are *)
67
+ (* convertible anyway. *)
66
68
Fact test_meet_bool b1 b2 : (b1 `&` b2)%O = b1 && b2.
67
69
Proof . zify_op; reflexivity. Qed .
68
70
@@ -75,17 +77,17 @@ Proof. zify_op; reflexivity. Qed.
75
77
Fact test_dual_join_bool (b1 b2 : bool^d) : (b1 `|^d` b2)%O = b1 && b2.
76
78
Proof . zify_op; reflexivity. Qed .
77
79
78
- Fact test_bottom_bool : 0 %O = false :> bool.
80
+ Fact test_bottom_bool : \bot %O = false :> bool.
79
81
Proof . zify_op; reflexivity. Qed .
80
82
81
- Fact test_top_bool : 1 %O = true :> bool.
83
+ Fact test_top_bool : \top %O = true :> bool.
82
84
Proof . zify_op; reflexivity. Qed .
83
85
84
86
(* FIXME: Notations 0^d and 1^d are broken. *)
85
- Fact test_dual_bottom_bool : 0 %O = true :> bool^d.
87
+ Fact test_dual_bottom_bool : \bot %O = true :> bool^d.
86
88
Proof . zify_op; reflexivity. Qed .
87
89
88
- Fact test_dual_top_bool : 1 %O = false :> bool^d.
90
+ Fact test_dual_top_bool : \top %O = false :> bool^d.
89
91
Proof . zify_op; reflexivity. Qed .
90
92
91
93
Fact test_sub_bool b1 b2 : (b1 `\` b2)%O = b1 && ~~ b2.
@@ -235,7 +237,7 @@ Fact test_dual_join_nat (n m : nat^d) :
235
237
Z.of_nat (n `|^d` m)%O = Z.min (Z.of_nat n) (Z.of_nat m).
236
238
Proof . zify_op; reflexivity. Qed .
237
239
238
- Fact test_bottom_nat : Z.of_nat 0 %O = 0%Z.
240
+ Fact test_bottom_nat : Z.of_nat \bot %O = 0%Z.
239
241
Proof . zify_op; reflexivity. Qed .
240
242
241
243
(***************************************************************************** *)
@@ -315,15 +317,14 @@ Fact test_dual_join_natdvd (n m : natdvd^d) :
315
317
Z.of_nat (n `|` m)%O = Z.gcd (Z.of_nat n) (Z.of_nat m).
316
318
Proof . zify_op; reflexivity. Qed .
317
319
318
- Fact test_bottom_natdvd : Z.of_nat (0 %O : natdvd) = 1%Z.
320
+ Fact test_bottom_natdvd : Z.of_nat (\bot %O : natdvd) = 1%Z.
319
321
Proof . zify_op; reflexivity. Qed .
320
322
321
- Fact test_top_natdvd : Z.of_nat (1 %O : natdvd) = 0%Z.
323
+ Fact test_top_natdvd : Z.of_nat (\top %O : natdvd) = 0%Z.
322
324
Proof . zify_op; reflexivity. Qed .
323
325
324
- (* FIXME: Notations 0^d and 1^d are broken. *)
325
- Fact test_dual_bottom_natdvd : Z.of_nat (0%O : natdvd^d) = 0%Z.
326
+ Fact test_dual_bottom_natdvd : Z.of_nat (\bot^d%O : natdvd^d) = 0%Z.
326
327
Proof . zify_op; reflexivity. Qed .
327
328
328
- Fact test_dual_top_natdvd : Z.of_nat (1 %O : natdvd^d) = 1%Z.
329
+ Fact test_dual_top_natdvd : Z.of_nat (\top^d %O : natdvd^d) = 1%Z.
329
330
Proof . zify_op; reflexivity. Qed .
0 commit comments