File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- (* mathcomp analysis (c) 2025 Inria and AIST. License: CeCILL-C. *)
1+ (* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
22From HB Require Import structures.
33From mathcomp Require Import all_ssreflect finmap ssralg ssrnum ssrint rat.
44From mathcomp Require Import mathcomp_extra boolp classical_sets functions.
430430Lemma card_eq_II {n m} : reflect (n = m) (`I_n #= `I_m).
431431Proof . 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.
434434Proof . by move=> x [/= a Xa <-]; apply: set_valP. Qed .
435435Arguments sub_setP {T A}.
436436Arguments image_subset {aT rT} f [A B].
@@ -444,7 +444,7 @@ exists (set_val @` range f); last exact: (subset_trans (sub_setP _)).
444444by rewrite ?(card_eql (inj_card_eq _))//; apply: in2W; apply: in2TT; apply: inj.
445445Qed .
446446
447- (* remove *)
447+ #[deprecated(since="mathcomp-analysis 1.15.0", note="To be removed, use other lemmas instead.")]
448448Lemma pigeonhole m n (f : nat -> nat) : {in `I_m &, injective f} ->
449449 f @` `I_m `<=` `I_n -> (m <= n)%N.
450450Proof .
You can’t perform that action at this time.
0 commit comments