Commit 2021-09-26 10:39 a2517af6
View on Github →refactor(data/fin,*): redefine insert_nth
, add lemmas (#9349)
data/fin
- add
fin.succ_above_cast_lt
,fin.succ_above_pred
,fin.cast_lt_succ_above
,fin.pred_succ_above
; - add
fin.exists_succ_above_eq
andfin.exists_succ_above_eq_iff
, use the latter to provefin.range_succ_above
; - add
@[simp]
tofin.succ_above_left_inj
; - add
fin.cases_succ_above
induction principle, redefinefin.insert_nth
to befin.cases_succ_above
; - add lemmas about
fin.insert_nth
and some algebraic operations.
data/fintype/basic
- add
finset.insert_compl_self
; - add
fin.image_succ_above_univ
,fin.image_succ_univ
,fin.image_cast_succ
and use them to provefin.univ_succ
,fin.univ_cast_succ
, andfin.univ_succ_above
usingby simp
;
data/fintype/card
- slightly golf the proof of
fin.prod_univ_succ_above
; - use
@[to_additive]
to generate some proofs.
topology/*
- prove continuity of
fin.insert_nth
in both arguments and add all the standard dot-notation*.fin_insert_nth
lemmas (*
is one offilter.tendsto
,continuous_at
,continuous_within_at
,continuous_on
,continuous
).