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

rm warning caused by lack of archimedean #28

Merged
merged 1 commit into from
Nov 16, 2024
Merged
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
2 changes: 1 addition & 1 deletion theories/a_props.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Require Import BinInt.

From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint rat.
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint rat archimedean.
From mathcomp Require Import realalg.

From CoqEAL Require Import hrel param refinements.
Expand Down
1 change: 1 addition & 0 deletions theories/b_props.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint intdiv rat.
From mathcomp Require Import archimedean.
Require Import tactics binomialz bigopz arithmetics seq_defs a_props.

Set Implicit Arguments.
Expand Down
2 changes: 1 addition & 1 deletion theories/binomialz.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint.
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint archimedean.
Require Import tactics.

Set Implicit Arguments.
Expand Down Expand Up @@ -215,10 +215,10 @@
(* Below, older results, possibly needing revision. *)
Lemma binz_Znat_gt0 (n k : int) :
n \is a Num.nat -> k \is a Num.nat -> k <= n -> 0 < binomialz n k.
Proof. by move=> /ZnatP[{}n ->] /ZnatP[{}k ->] le_kn; rewrite binz_gt0. Qed.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.19)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.19)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 218 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Lemma binznSn (n : int) : n \is a Num.nat -> binomialz n (n + 1) = 0.
Proof. by case/ZnatP => ? ->; rewrite -PoszD binz_nat_nat bin_small ?addn1. Qed.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.16)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.19)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.18)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.2.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.

Check warning on line 221 in theories/binomialz.v

View workflow job for this annotation

GitHub Actions / build (mathcomp/mathcomp:2.1.0-coq-8.17)

Notation ZnatP is deprecated since mathcomp 2.1.0.


(* was usksn in Section3 *)
Expand Down
4 changes: 2 additions & 2 deletions theories/extra_mathcomp.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint rat all_field.
From mathcomp Require Import bigenough.
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint rat archimedean.
From mathcomp Require Import all_field bigenough.

Set Implicit Arguments.
Unset Strict Implicit.
Expand Down
Loading