Set.SymmOn
defimported Lean
SymmOn s r is true when a relation r is symmetric on its restriction to a set s.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Relation in def Set.SymmOn (s : Set α) (r : α → α → Prop) : Prop
- Defined in
- CSLib, `Set.SymmOn`
- Lean proof
- By Fabrizio Montesi, Thomas Waring, Chris Henson, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2025 Fabrizio Montesi and Thomas Waring. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Set.SymmOn← Set.SymmOn (Cslib/Foundations/Relation/Defs.lean:158): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Used by 2
- Set.SymmOn.of_domSet.SymmOn.of_dom
- Set.SymmOn.of_codSet.SymmOn.of_cod
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Relation in /-- `SymmOn s r` is true when a relation `r` is symmetric on its restriction to a set `s`. -/ def Set.SymmOn (s : Set α) (r : α → α → Prop) : Prop := ∀ a ∈ s, ∀ b ∈ s, r a b → r b a