refactor(library/data/finste/basic): rename non_empty_of_card_succ to ne_empty_of_card_eq_succ

This commit is contained in:
Jeremy Avigad 2015-07-11 12:09:36 +10:00 committed by Leonardo de Moura
parent d443b25dee
commit 9810105a2a
2 changed files with 2 additions and 2 deletions

View file

@ -213,7 +213,7 @@ decidable.by_cases
(assume H : a ∈ s, by rewrite [card_insert_of_mem H]; apply le_succ)
(assume H : a ∉ s, by rewrite [card_insert_of_not_mem H])
lemma non_empty_of_card_succ {s : finset A} {n : nat} : card s = succ n → s ≠ ∅ :=
lemma ne_empty_of_card_eq_succ {s : finset A} {n : nat} : card s = succ n → s ≠ ∅ :=
by intros; substvars; contradiction
protected theorem induction [recursor 6] {P : finset A → Prop}