Complement_of_Reflexive_Relation
Provedproofwikireflexive-relationsrelative-complement
If R is a reflexive relation on S, then its complement is antireflexive (irreflexive).
Preamble
import Mathlib.Logic.Relation import Mathlib.Data.Set.Basic
Formal statement
theorem Complement_of_Reflexive_Relation {α : Type _} (R : α → α → Prop) (hR : Reflexive R) : ∀ x : α, ¬ (compl (fun p : α × α => R p.1 p.2) (x, x)) := by sorrySource