Skip to content

Commit d017e9f

Browse files
committed
avoid name clash
1 parent 72b9938 commit d017e9f

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG_UNRELEASED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
- in `charge.v`:
131131
+ `induced` -> `induced_charge`
132132

133+
- in `boolp.v`:
134+
+ `notP` -> `not_notP`
135+
133136
### Generalized
134137

135138
- in `lebesgue_integral_under.v`:

classical/boolp.v

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(* mathcomp analysis (c) 2017 Inria and AIST. License: CeCILL-C. *)
1+
(* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
22
(* -------------------------------------------------------------------- *)
33
(* Copyright (c) - 2015--2016 - IMDEA Software Institute *)
44
(* Copyright (c) - 2015--2018 - Inria *)
@@ -683,10 +683,12 @@ by rewrite 2!negb_and -3!asbool_neg => /or3_asboolP.
683683
by rewrite 3!asbool_neg -2!negb_and => /and3_asboolP.
684684
Qed.
685685

686-
Lemma notP (P : Prop) : ~ ~ P <-> P.
686+
Lemma not_notP (P : Prop) : ~ ~ P <-> P.
687687
Proof. by split => [|p]; [exact: contrapT|exact]. Qed.
688+
#[deprecated(since="mathcomp-analysis 1.15.0", note="Renamed to `not_notP`. Warning: a different `notP` is also provided by `contra.v`.")]
689+
Notation notP := not_notP (only parsing).
688690

689-
Lemma notE (P : Prop) : (~ ~ P) = P. Proof. by rewrite propeqE notP. Qed.
691+
Lemma notE (P : Prop) : (~ ~ P) = P. Proof. by rewrite propeqE not_notP. Qed.
690692

691693
Lemma not_orE (P Q : Prop) : (~ (P \/ Q)) = (~ P /\ ~ Q).
692694
Proof. by rewrite -[_ /\ _]notE not_andE 2!notE. Qed.

theories/normedtype_theory/normed_module.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(* mathcomp analysis (c) 2025 Inria and AIST. License: CeCILL-C. *)
1+
(* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
22
From HB Require Import structures.
33
From mathcomp Require Import all_ssreflect finmap ssralg ssrnum ssrint.
44
From mathcomp Require Import archimedean rat interval zmodp vector.
@@ -2299,7 +2299,7 @@ suff [p_idx [pUq Up]] : exists p_idx,
22992299
by move/set_mem : pUq; exact: bigcup_ointsub_sub.
23002300
exists (g p_idx).
23012301
- rewrite /= => q' Uq' q'p.
2302-
apply/notP => /eqP/set0P[s [ps ts]].
2302+
apply/not_notP => /eqP/set0P[s [ps ts]].
23032303
suff : ratr q' \in bigcup_ointsub U q by move/Up; rewrite leqNgt q'p.
23042304
rewrite (@nondisjoint_bigcup_ointsub _ _ _ (g p_idx))//.
23052305
rewrite (@nondisjoint_bigcup_ointsub _ _ _ q') ?bigcup_ointsubxx//.

theories/sequences.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(* mathcomp analysis (c) 2025 Inria and AIST. License: CeCILL-C. *)
1+
(* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
22
From HB Require Import structures.
33
From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint.
44
From mathcomp Require Import interval interval_inference archimedean.
@@ -2899,7 +2899,7 @@ have akN1A : a_ k.-1 \in A.
28992899
contra: aiB => ->.
29002900
rewrite /a_ !mul0r addr0; apply/negP => /set_mem/(ABlt _ _ aA).
29012901
by rewrite ltxx.
2902-
apply/mem_set/boolp.notP => abs.
2902+
apply/mem_set/not_notP => abs.
29032903
have {}abs : a_ i.-1 \in B.
29042904
by move/seteqP : ABT => [_ /(_ (a_ i.-1) Logic.I)] [//|/mem_set].
29052905
have iN : (i.-1 < N.+1)%N by rewrite prednK ?lt0n// ltnW.
@@ -3253,7 +3253,7 @@ have majball g x : F g -> (ball x0 r%:num) x -> `|g (x - x0)| <= n%:R + n%:R.
32533253
move: (linearB (pack_linear Lg)) => /= -> Ballx.
32543254
apply/(le_trans (ler_normB _ _))/lerD; first exact: majballi.
32553255
by apply: majballi => //; exact/ball_center.
3256-
have ballprop : ball x0 r%:num (2^-1 * (r%:num / `|y|) *: y + x0).
3256+
have ballprop : ball x0 r%:num (2^-1 * (r%:num / `|y|) *: y + x0).
32573257
rewrite -ball_normE /ball_ /= opprD addrC subrK normrN normrZ.
32583258
rewrite 2!normrM 2!normfV normr_id !mulrA divfK ?normr_eq0//.
32593259
by rewrite !gtr0_norm// gtr_pMl// invf_lt1// ltr1n.

0 commit comments

Comments
 (0)