Theorems · Theorem · linear algebra
Matrix.ofNat_apply
∀ {n : Type u_3} {α : Type v} [inst : DecidableEq n] [inst_1 : AddMonoidWithOne α] {i j : n} {d : ℕ}
[inst_2 : d.AtLeastTwo], (OfNat.ofNat d) i j = ↑(if i = j then d else 0)- Defined in
- Mathlib.Data.Matrix.Diagonal
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 18 from the axioms · uses Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Matrixstatement · cited by 4,303
- Nat.AtLeastTwostatement and proof · cited by 405
- AddMonoidWithOnestatement and proof · cited by 313
- Matrix.natCast_applyproof · cited by 1
Cited by1
Results whose statement or proof uses this declaration.
- RootPairing.Base.cartanMatrix_map_absproof · cited by 0