Diagonal_Relation_is_Right_Identity
Provedidentity-mappingsproofwikirelation-theory
Let R ⊆ S × T be a relation. Then R ∘ Δ_S = R, where Δ_S is the diagonal relation on S.
Preamble
import Mathlib.Logic.Function.Basic
Formal statement
theorem Diagonal_Relation_is_Right_Identity {α β : Type _} (f : α → β) : f ∘ id = f := by sorrySource