Theorems · Theorem · commutative algebra
map_ofNat
∀ {R : Type u_3} {S : Type u_4} {F : Type u_5} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S]
[inst_2 : FunLike F R S] [RingHomClass F R S] (f : F) (n : ℕ) [inst_4 : n.AtLeastTwo],
f (OfNat.ofNat n) = OfNat.ofNat nThis lemma is not marked @[simp] lemma because its #discr_tree_key (for the LHS) would just
be DFunLike.coe _ _, due to the ofNat that https://github.com/leanprover/lean4/issues/2867
forces us to include, and therefore it would negatively impact performance.
If that issue is resolved, this can be marked @[simp].
- Defined in
- Mathlib.Data.Nat.Cast.Basic
- Cited by
- 73 results in Mathlib
- Foundations
- Depth 22 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coestatement · cited by 62,936
- FunLikestatement and proof · cited by 2,560
- NonAssocSemiringstatement and proof · cited by 805
- Nat.AtLeastTwostatement and proof · cited by 405
- RingHomClassstatement and proof · cited by 193
- map_natCastproof · cited by 134
Cited by73
Results whose statement or proof uses this declaration.
- RootPairing.pairingIn_sameproof · cited by 8
- WeierstrassCurve.map_b₂proof · cited by 7
- WeierstrassCurve.map_b₄proof · cited by 7
- WeierstrassCurve.map_b₆proof · cited by 6
- HurwitzZeta.sinKernel_defproof · cited by 5
- RootPairing.Base.cartanMatrixIn_apply_sameproof · cited by 5
- WeierstrassCurve.map_Ψ₂Sqproof · cited by 5
- WeierstrassCurve.map_b₈proof · cited by 4
- WeierstrassCurve.map_Δproof · cited by 4
- WeierstrassCurve.Jacobian.map_dblXproof · cited by 4
- WeierstrassCurve.C_Ψ₂Sqproof · cited by 3
- RootPairing.linearIndependent_iff_coxeterWeightIn_ne_fourproof · cited by 3