Theorems · Definition · number theory
castNum
{α : Type u_1} → [One α] → [Add α] → [Zero α] → Num → αcastNum casts a Num into any type which has 0, 1 and +.
- Defined in
- Mathlib.Data.Num.Basic
- Cited by
- 72 results in Mathlib
- Foundations
- Depth 7 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites3
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- PosNumproof · cited by 171
- Numstatement and proof · cited by 117
- castPosNumproof · cited by 74
Cited by74
Results whose statement or proof uses this declaration.
- Num.cast_to_natstatement and proof · cited by 9
- Num.succ'_to_natstatement and proof · cited by 8
- PosNum.pred'_to_natstatement · cited by 5
- Num.to_nat_to_intstatement · cited by 4
- Num.to_of_natstatement · cited by 4
- Num.castNum_eq_bitwisestatement and proof · cited by 4
- Num.to_nat_injstatement · cited by 3
- Num.cast_bit0statement and proof · cited by 3
- Num.cast_sub'statement and proof · cited by 3
- Num.cast_toZNumstatement and proof · cited by 3
- Num.ofZNum_toNatstatement and proof · cited by 2
- Num.of_to_nat'statement and proof · cited by 2