Theorems · Definition
Function.swap
{α : Sort u₁} → {β : Sort u₂} → {φ : α → β → Sort u₃} → ((x : α) → (y : β) → φ x y) → (y : β) → (x : α) → φ x yFor a two-argument function f, swap f is the same function but taking the arguments
in the reverse order. swap f y x = f x y.
- Defined in
- Mathlib.Logic.Function.Defs
- Cited by
- 216 results in Mathlib
- Foundations
- Depth 0 from the axioms, rests on 1 definitions · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites0
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
Nothing in Mathlib beyond the foundations.
Cited by231
Results whose statement or proof uses this declaration.
- AddRightMonoproof · cited by 367
- MulRightMonoproof · cited by 263
- AddRightStrictMonoproof · cited by 160
- MulRightStrictMonoproof · cited by 108
- add_lt_add_iff_rightproof · cited by 42
- AddRightReflectLTproof · cited by 29
- mul_lt_mul_iff_rightproof · cited by 18
- Primrec.eqproof · cited by 12
- MulRightReflectLTproof · cited by 10
- uniformEquicontinuous_iff_uniformContinuousstatement and proof · cited by 9
- addRightMono_of_addRightStrictMonoproof · cited by 9
- mulRightMono_of_mulRightStrictMonoproof · cited by 8
Showing the 200 most cited of 231.