Theorems · Theorem · commutative algebra
Nat.cast_ite
∀ {R : Type u_1} [inst : AddMonoidWithOne R] (P : Prop) [inst_1 : Decidable P] (m n : ℕ),
↑(if P then m else n) = if P then ↑m else ↑n- Defined in
- Mathlib.Data.Nat.Cast.Defs
- Cited by
- 16 results in Mathlib
- Foundations
- Depth 7 from the axioms · uses no axioms
- Assumes
- AddMonoidWithOneDecidable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- AddMonoidWithOnestatement and proof · cited by 313
Cited by16
Results whose statement or proof uses this declaration.
- Polynomial.coeff_natCast_iteproof · cited by 6
- ArithmeticFunction.moebius_mul_coe_zetaproof · cited by 4
- AddSubgroup.leftCoset_cover_filter_FiniteIndex_auxproof · cited by 3
- Subgroup.leftCoset_cover_filter_FiniteIndex_auxproof · cited by 3
- ArithmeticFunction.LSeries_zeta_eq_riemannZetaproof · cited by 2
- SkewPolynomial.coeff_natCast_iteproof · cited by 2
- Chebyshev.primeCounting_eq_theta_div_log_add_integralproof · cited by 2
- Matrix.natCast_applyproof · cited by 1
- AnalyticAt.exists_eventuallyEq_sum_add_pow_mulproof · cited by 1
- MvPolynomial.coeff_sum_X_pow_of_fintypeproof · cited by 1
- LieAlgebra.Basis.borelUpper_le_biSupproof · cited by 1
- RootPairing.Base.cartanMatrix_map_absproof · cited by 0