Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Mathlib/Logic/Function/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ section onFun
theorem onFun_apply (f : β → β → γ) (g : α → β) (a b : α) : onFun f g a b = f (g a) (g b) :=
rfl

theorem onFun_onFun_eq {δ : Sort*} (f : α → α → γ) (g : β → α) (h : δ → β) :
(f.onFun g).onFun h = f.onFun (g ∘ h) := rfl

theorem onFun_comp_eq {δ : Sort*} (f : α → α → γ) (g : β → α) (h : δ → β) :
f.onFun (g ∘ h) = (f.onFun g).onFun h := rfl

variable (r : β → β → Prop) (f : α → β)

instance [Std.Refl r] : Std.Refl (r on f) where
Expand Down
Loading