Theorems · Theorem
Function.update_apply
∀ {α : Sort u} [inst : DecidableEq α] {β : Sort u_1} (f : α → β) (a' : α) (b : β) (a : α),
Function.update f a' b a = if a = a' then b else f aOn non-dependent functions, Function.update can be expressed as an ite
- Defined in
- Mathlib.Logic.Function.Basic
- Cited by
- 23 results in Mathlib
- Foundations
- Depth 10 from the axioms · uses propext
- Assumes
- DecidableEq
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.
- Function.updatestatement · cited by 502
- Function.update_selfproof · cited by 201
- Function.update_of_neproof · cited by 198
- Decidable.eq_or_neproof · cited by 28
Cited by23
Results whose statement or proof uses this declaration.
- Pi.single_applyproof · cited by 78
- Pi.mulSingle_applyproof · cited by 6
- Matrix.single_mulVec_eqproof · cited by 5
- Polynomial.coeff_update_applyproof · cited by 4
- SkewMonoidAlgebra.coeff_update_applyproof · cited by 3
- hasDerivAt_updateproof · cited by 3
- hasSum_ite_sub_hasSumproof · cited by 3
- ContinuousMultilinearMap.changeOrigin_toFormalMultilinearSeriesproof · cited by 1
- SkewPolynomial.update_zero_eq_eraseproof · cited by 1
- GenLoop.transAt_distribproof · cited by 1
- Real.sinc_eq_dslopeproof · cited by 1
- Matrix.det_eq_of_forall_row_eq_smul_add_const_auxproof · cited by 1