@@ -297,19 +297,19 @@ Canonical and_nProp P tQ nQ Q :=
297297 ProperNegatedProp (@and_nPropP P tQ nQ Q).
298298
299299Fact and3_nPropP P Q tR nR R : (~ [/\ P, Q & nProp tR nR R]) = (P -> Q -> nR).
300- Proof . by hnf; rewrite and3E notE. Qed .
300+ Proof . #[warnings="-user-warn"] by hnf; rewrite and3E notE. Qed .
301301Canonical and3_nProp P Q tR nR R :=
302302 ProperNegatedProp (@and3_nPropP P Q tR nR R).
303303
304304Fact and4_nPropP P Q R tS nS S :
305305 (~ [/\ P, Q, R & nProp tS nS S]) = (P -> Q -> R -> nS).
306- Proof . by hnf; rewrite and4E notE. Qed .
306+ Proof . #[warnings="-user-warn"] by hnf; rewrite and4E notE. Qed .
307307Canonical and4_nProp P Q R tS nS S :=
308308 ProperNegatedProp (@and4_nPropP P Q R tS nS S).
309309
310310Fact and5_nPropP P Q R S tT nT T :
311311 (~ [/\ P, Q, R, S & nProp tT nT T]) = (P -> Q -> R -> S -> nT).
312- Proof . by hnf; rewrite and5E notE. Qed .
312+ Proof . #[warnings="-user-warn"] by hnf; rewrite and5E notE. Qed .
313313Canonical and5_nProp P Q R S tT nT T :=
314314 ProperNegatedProp (@and5_nPropP P Q R S tT nT T).
315315
@@ -321,14 +321,14 @@ Canonical or_nProp tP nP P tQ nQ Q :=
321321
322322Fact or3_nPropP tP nP P tQ nQ Q tR nR R :
323323 (~ [\/ nProp tP nP P, nProp tQ nQ Q | nProp tR nR R]) = [/\ nP, nQ & nR].
324- Proof . by rewrite or3E notE and3E. Qed .
324+ Proof . #[warnings="-user-warn"] by rewrite or3E notE and3E. Qed .
325325Canonical or3_nProp tP nP P tQ nQ Q tR nR R :=
326326 ProperNegatedProp (@or3_nPropP tP nP P tQ nQ Q tR nR R).
327327
328328Fact or4_nPropP tP nP P tQ nQ Q tR nR R tS nS S :
329329 (~ [\/ nProp tP nP P, nProp tQ nQ Q, nProp tR nR R | nProp tS nS S])
330330 = [/\ nP, nQ, nR & nS].
331- Proof . by rewrite or4E notE and4E. Qed .
331+ Proof . #[warnings="-user-warn"] by rewrite or4E notE and4E. Qed .
332332Canonical or4_nProp tP nP P tQ nQ Q tR nR R tS nS S :=
333333 ProperNegatedProp (@or4_nPropP tP nP P tQ nQ Q tR nR R tS nS S).
334334
@@ -363,12 +363,12 @@ Canonical exists_nProp A tP nP P :=
363363
364364Fact exists2_nPropP A P tQ nQ Q :
365365 (~ exists2 x : A, P x & nPred tQ nQ Q x) = (forall x : A, P x -> nQ x).
366- Proof . by rewrite exists2E notE. Qed .
366+ Proof . #[warnings="-user-warn"] by rewrite exists2E notE. Qed .
367367Canonical exists2_nProp A P tQ nQ Q :=
368368 ProperNegatedProp (@exists2_nPropP A P tQ nQ Q).
369369
370370Fact inhabited_nPropP T : (~ inhabited T) = (T -> False).
371- Proof . by rewrite inhabitedE notE. Qed .
371+ Proof . #[warnings="-user-warn"] by rewrite inhabitedE notE. Qed .
372372Canonical inhabited_nProp T := ProperNegatedProp (inhabited_nPropP T).
373373
374374(**md************************************************************************* *)
@@ -463,7 +463,7 @@ Local Fact negb_negP P (b : positedBool P) : (~ ~~ b) = P.
463463Proof . by rewrite (reflect_eq negP) negbK; case: b. Qed .
464464Canonical negb_neg P b := NegatedBool (@negb_negP P b).
465465Local Fact negb_posP nP (b : negatedBool nP) : (~~ b = nP :> Prop).
466- Proof . by rewrite -(reflect_eq negP) notE. Qed .
466+ Proof . #[warnings="-user-warn"] by rewrite -(reflect_eq negP) notE. Qed .
467467Canonical negb_pos nP b := PositedBool (@negb_posP nP b).
468468
469469(**md************************************************************************* *)
@@ -479,7 +479,7 @@ Canonical neg_ltn_LHS n m := @NegatedLeqLHS n (n <= m) m.+1 erefl.
479479Canonical neg_leq_LHS n m := @NegatedLeqLHS n (n < m) m erefl.
480480
481481Local Fact leq_negP n lt_nm (m : negatedLeqLHS n lt_nm) : (~ m <= n) = lt_nm.
482- Proof . by rewrite notE -ltnNge; case: m => /= m ->. Qed .
482+ Proof . #[warnings="-user-warn"] by rewrite notE -ltnNge; case: m => /= m ->. Qed .
483483Canonical leq_neg n lt_nm m := NegatedBool (@leq_negP n lt_nm m).
484484
485485(**md************************************************************************* *)
@@ -792,7 +792,7 @@ Proof. by rewrite 2!lax_notE. Qed.
792792
793793End Internals.
794794Import Internals.
795- Definition notP := @Internals.notP.
795+ #[warnings="-user-warn"] Definition notP := @Internals.notP.
796796Hint View for move/ move_viewP|2.
797797Hint View for move/ Internals.equivT_LR|2 Internals.equivT_RL|2.
798798Hint View for apply/ Internals.equivT_RL|2 Internals.equivT_LR|2.
@@ -815,7 +815,7 @@ Ltac assume_not :=
815815(* Caveat: absurd_not cannot be used as a move/ view because its conclusion *)
816816(* is indeterminate. The more general notP defined above can be used instead. *)
817817(***************************************************************************** *)
818- Lemma absurd_not {P} : (~ P -> False) -> P. Proof . by move/Internals.notP. Qed .
818+ Lemma absurd_not {P} : (~ P -> False) -> P. Proof . #[warnings="-user-warn"] by move/Internals.notP. Qed .
819819Ltac absurd_not := assume_not; apply: Internals.absurdW.
820820
821821(**md************************************************************************* *)
0 commit comments