Formal concept analysis #
This file is a near-copy of Mathlib.Order.Concept
, but uses the updated names and has some extra
lemmas.
Once Mathlib and this repository update, remove this file!
Lower and upper polars #
Concepts #
The formal concepts of a relation. A concept of r : α → β → Prop
is a pair of sets s
, t
such that s
is the set of all elements that are r
-related to all of t
and t
is the set of
all elements that are r
-related to all of s
.
- extent : Set α
The extent of a concept.
- intent : Set β
The intent of a concept.
The intent consists of all elements related to all elements of the extent.
The extent consists of all elements related to all elements of the intent.
Instances For
See isLowerSet_extent'
for the theorem on a <
-concept.
See isUpperSet_intent'
for the theorem on a <
-concept.
See isLowerSet_extent
for the theorem on a ≤
-concept.
See isUpperSet_intent
for the theorem on a ≤
-concept.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Swap the sets of a concept to make it a concept of the dual context.
Equations
Instances For
The dual of a concept lattice is isomorphic to the concept lattice of the dual context.
Equations
- Concept.swapEquiv = { toFun := Concept.swap ∘ ⇑OrderDual.ofDual, invFun := ⇑OrderDual.toDual ∘ Concept.swap, left_inv := ⋯, right_inv := ⋯, map_rel_iff' := ⋯ }