Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt to coq/coq#19801 (replacing ZArith_base, Zeq_bool) #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion BigQ/QMake.v
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ Module Make (NN:NType)(ZZ:ZType)(Import NZ:NType_ZType NN ZZ) <: QType.

Theorem spec_eq_bool: forall x y, eq_bool x y = Qeq_bool [x] [y].
Proof.
intros. unfold eq_bool. rewrite spec_compare. reflexivity.
unfold eq_bool; intros.
apply eq_true_iff_eq; rewrite Qeq_bool_iff, spec_compare, Qeq_alt.
case Qcompare; intuition congruence.
Qed.

(** [check_int] : is a reduced fraction [n/d] in fact a integer ? *)
Expand Down
2 changes: 1 addition & 1 deletion BigZ/BigZ.v
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Require Export BigN.
Require Import ZProperties ZDivFloor ZSig ZSigZAxioms ZMake Ring Lia.
Import Zpow_def Zdiv.
Import BinNat Zpow_def Zdiv.

(** * [BigZ] : arbitrary large efficient integers.

Expand Down Expand Up @@ -45,8 +45,8 @@
Bind Scope bigZ_scope with bigZ.
Bind Scope bigZ_scope with BigZ.t.
Bind Scope bigZ_scope with BigZ.t_.
Arguments BigZ.Pos _%bigN.

Check warning on line 48 in BigZ/BigZ.v

View workflow job for this annotation

GitHub Actions / build (dev, coqorg/base:4.13.1-flambda)

The '%' scope delimiter in 'Arguments' commands is deprecated, use
Arguments BigZ.Neg _%bigN.

Check warning on line 49 in BigZ/BigZ.v

View workflow job for this annotation

GitHub Actions / build (dev, coqorg/base:4.13.1-flambda)

The '%' scope delimiter in 'Arguments' commands is deprecated, use
Local Notation "0" := BigZ.zero : bigZ_scope.
Local Notation "1" := BigZ.one : bigZ_scope.
Local Notation "2" := BigZ.two : bigZ_scope.
Expand Down
Loading