Relations on types with a succ_order
#
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file contains properties about relations on types with a succ_order
and their closure operations (like the transitive closure).
For n ≤ m
, (n, m)
is in the reflexive-transitive closure of ~
if i ~ succ i
for all i
between n
and m
.
For m ≤ n
, (n, m)
is in the reflexive-transitive closure of ~
if succ i ~ i
for all i
between n
and m
.
For n < m
, (n, m)
is in the transitive closure of a relation ~
if i ~ succ i
for all i
between n
and m
.
For m < n
, (n, m)
is in the transitive closure of a relation ~
if succ i ~ i
for all i
between n
and m
.
(n, m)
is in the reflexive-transitive closure of ~
if i ~ succ i
and succ i ~ i
for all i
between n
and m
.
For n ≠ m
,(n, m)
is in the transitive closure of a relation ~
if i ~ succ i
and
succ i ~ i
for all i
between n
and m
.
(n, m)
is in the transitive closure of a reflexive relation ~
if i ~ succ i
and
succ i ~ i
for all i
between n
and m
.
For m ≤ n
, (n, m)
is in the reflexive-transitive closure of ~
if i ~ pred i
for all i
between n
and m
.
For n ≤ m
, (n, m)
is in the reflexive-transitive closure of ~
if pred i ~ i
for all i
between n
and m
.
For m < n
, (n, m)
is in the transitive closure of a relation ~
for n ≠ m
if i ~ pred i
for all i
between n
and m
.
For n < m
, (n, m)
is in the transitive closure of a relation ~
for n ≠ m
if pred i ~ i
for all i
between n
and m
.
(n, m)
is in the reflexive-transitive closure of ~
if i ~ pred i
and pred i ~ i
for all i
between n
and m
.
For n ≠ m
, (n, m)
is in the transitive closure of a relation ~
if i ~ pred i
and
pred i ~ i
for all i
between n
and m
.
(n, m)
is in the transitive closure of a reflexive relation ~
if i ~ pred i
and
pred i ~ i
for all i
between n
and m
.