Skip to content

Commit b4a0209

Browse files
committed
Merge branch '9.0-update' into 9.1-update
2 parents a8259bf + de4306b commit b4a0209

File tree

7 files changed

+22
-8
lines changed

7 files changed

+22
-8
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log for the coq-waterproof library
22

3+
## Version 3.1.0+9.1
4+
5+
- No longer throw an error if there are unused lemmas (this speeds up automation when using `By ... it holds that ...`)
6+
- Remove parentheses in suggestions
7+
- Fix issue with keywords
8+
- Allow for multiple reasons in `By ...`-clause
9+
- Add framework for registering definitions and alternative characterizations
10+
- Add Expand All functionality to Help
11+
- Simplify ffi mechanism
12+
313
## Version 3.0.0+9.0
414

515
- Remove need for parentheses in many places

coq-waterproof.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
opam-version: "2.0"
22
name: "coq-waterproof"
3-
version: "3.0.1+9.1-dev"
3+
version: "3.1.0+9.1"
44
maintainer: "Jim Portegies <[email protected]>"
55
authors: [
66
"Jelle Wemmenhove"
77
"Pim Otte"
88
"Balthazar Pathiachvili"
9+
"Dick Arends"
910
"Cosmin Manea"
1011
"Lulof Pirée"
1112
"Adrian Vrămuleţ"

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
(package
77
(name coq-waterproof)
8-
(version 3.0.1+9.1-dev)
8+
(version 3.1.0+9.1)
99
(synopsis "Coq proofs in a style that resembles non-mechanized mathematical proofs")
1010
(depends rocq-core rocq-stdlib))

src/META.coq-waterproof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package "plugin" (
22
directory = "."
3-
version = "3.0.1+9.0-dev"
3+
version = "3.1.0+9.1"
44
description = "Waterproof plugin"
55
requires = "rocq-runtime.plugins.ltac rocq-runtime.plugins.ltac2"
66
archive(byte) = "waterproof.cma"

src/g_waterproof.mlg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ DECLARE PLUGIN "coq-waterproof.plugin"
2222
open Exceptions
2323
open Waterprove
2424

25-
let waterproof_version : string = "3.0.1+9.1-dev"
26-
(*
25+
let waterproof_version : string = "3.1.0+9.1"
26+
2727
(* The code below is a hack to patch in (open_)lconstr into Ltac2 *)
2828
(* It should be removed when merged to coq-master (open_)lconstr should be in release 9.1 *)
2929
let add_scope s f =

tests/Notations/Reals.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ Abort.
4141

4242
Goal & |0| + |3| ≤ |-3| + |0| ≤ 4 + |5|.
4343
Abort.
44+
45+
Goal & |0| * | 3 | ≤ | 4 + 3 | - |5| ≤ 3 * |- 2 |.
46+
Abort.

theories/Notations/Reals.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Definition cv_implies_cv_abs_to_l_abs := cv_cvabs.
6060
When using this in rewrites, $<$, $>$, etc. should bind stronger.
6161
*)
6262

63-
Notation "| x |" := (Rabs x) (at level 40, format "| x |") : R_scope.
64-
Notation "|- x |" := (| (-x) |) (at level 40, x at next level, only parsing) : R_scope.
65-
Notation "| x - y |" := (R_dist x y) (at level 40, x at level 38, y at level 38, format "| x - y |") : R_scope.
63+
Notation "| x |" := (Rabs x) (at level 20, format "| x |") : R_scope.
64+
Notation "|- x |" := (| (-x) |) (at level 20, x at next level, only parsing) : R_scope.
65+
Notation "| x - y |" := (R_dist x y) (at level 20, x at level 38, y at level 38, format "| x - y |") : R_scope.
6666

6767
(** ** Powers *)
6868
Notation "a ³" := (a * a * a) (at level 1) : R_scope.

0 commit comments

Comments
 (0)