bookshelf/Common/Algebra/Classes.lean

13 lines
424 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import Mathlib.Init.Algebra.Classes
/-! # Common.Algebra.Classes
Additional theorems and definitions useful in the context of algebraic classes.
-/
/--
`IsConnected X lt` means that the binary relation `lt` on `X` is connected, that
is, either `lt a b` or `lt b a` for any distinct `a` and `b`.
-/
class IsConnected (α : Type u) (lt : αα → Prop) : Prop where
connected : ∀ a b, a ≠ b → lt a b lt b a