Commit 2023-12-16 00:58 a45fd777
View on Github →feat(Data/Fin): add lemmas (#8974)
- move
Nat.dvd_one
toData.Nat.Basic
; it should go to Std4; - rename
Fin.ofNat_eq_val
toFin.ofNat''_eq_cast
; - add
@[simp]
lemmasFin.val_nat_cast
,Fin.nat_cast_self
, andFin.nat_cast_eq_zero
; - add
@[simp]
toFin.cast_nat_eq_last
andZMod.val_nat_cast
; - add
binomial_apply_last
, as the LHS ofbinomial_apply_self
is no longer in simp normal form.