Skip to content

Commit 06d0679

Browse files
committed
fixes #1771
1 parent 4fcc50e commit 06d0679

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

classical/cardinality.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 finmap ssralg ssrnum ssrint rat.
44
From mathcomp Require Import mathcomp_extra boolp classical_sets functions.
@@ -430,7 +430,7 @@ Qed.
430430
Lemma card_eq_II {n m} : reflect (n = m) (`I_n #= `I_m).
431431
Proof. by rewrite card_eq_le !card_le_II -eqn_leq; apply: eqP. Qed.
432432

433-
Lemma sub_setP {T} {A : set T} (X : set A) : set_val @` X `<=` A.
433+
Lemma sub_setP {T} {A : set T} (X : set A) : set_val @` X `<=` A.
434434
Proof. by move=> x [/= a Xa <-]; apply: set_valP. Qed.
435435
Arguments sub_setP {T A}.
436436
Arguments image_subset {aT rT} f [A B].
@@ -444,7 +444,7 @@ exists (set_val @` range f); last exact: (subset_trans (sub_setP _)).
444444
by rewrite ?(card_eql (inj_card_eq _))//; apply: in2W; apply: in2TT; apply: inj.
445445
Qed.
446446

447-
(* remove *)
447+
#[deprecated(since="mathcomp-analysis 1.15.0", note="To be removed, use other lemmas instead.")]
448448
Lemma pigeonhole m n (f : nat -> nat) : {in `I_m &, injective f} ->
449449
f @` `I_m `<=` `I_n -> (m <= n)%N.
450450
Proof.

0 commit comments

Comments
 (0)