The Hasse diagram as a graph #
This file defines the Hasse diagram of an order (graph of CovBy
, the covering relation) and the
path graph on n
vertices.
Main declarations #
SimpleGraph.hasse
: Hasse diagram of an order.SimpleGraph.pathGraph
: Path graph onn
vertices.
The Hasse diagram of an order as a simple graph. The graph of the covering relation.
Equations
- SimpleGraph.hasse α = SimpleGraph.mk fun (a b : α) => a ⋖ b ∨ b ⋖ a
Instances For
@[simp]
theorem
SimpleGraph.hasse_adj
{α : Type u_1}
[Preorder α]
{a : α}
{b : α}
:
(SimpleGraph.hasse α).Adj a b ↔ a ⋖ b ∨ b ⋖ a
αᵒᵈ
and α
have the same Hasse diagram.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
SimpleGraph.hasseDualIso_symm_apply
{α : Type u_1}
[Preorder α]
(a : α)
:
(SimpleGraph.Iso.symm SimpleGraph.hasseDualIso) a = OrderDual.toDual a
@[simp]
theorem
SimpleGraph.hasse_prod
(α : Type u_1)
(β : Type u_2)
[PartialOrder α]
[PartialOrder β]
:
SimpleGraph.hasse (α × β) = SimpleGraph.hasse α □ SimpleGraph.hasse β
theorem
SimpleGraph.hasse_preconnected_of_succ
(α : Type u_1)
[LinearOrder α]
[SuccOrder α]
[IsSuccArchimedean α]
:
theorem
SimpleGraph.hasse_preconnected_of_pred
(α : Type u_1)
[LinearOrder α]
[PredOrder α]
[IsPredArchimedean α]
:
The path graph on n
vertices.