Description: Alternate definition of the class of reflexive relations. This is a 0-ary class constant, which is recommended for definitions (see the 1. Guideline at https://us.metamath.org/ileuni/mathbox.html ). Proper classes (like _I , see iprc ) are not elements of this (or any) class: if a class is an element of another class, it is not a proper class but a set, see elex . So if we use 0-ary constant classes as our main definitions, they are valid only for sets, not for proper classes. For proper classes we use predicate-type definitions like df-refrel . See also the comment of df-rels .
Note that while elementhood in the class of relations cancels restriction of r in dfrefrels2 , it keeps restriction of _I : this is why the very similar definitions df-refs , df-syms and df-trs diverge when we switch from (general) sets to relations in dfrefrels2 , dfsymrels2 and dftrrels2 . (Contributed by Peter Mazsa, 20-Jul-2019)
Ref | Expression | ||
---|---|---|---|
Assertion | dfrefrels2 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-refrels | ||
2 | df-refs | ||
3 | inex1g | ||
4 | 3 | elv | |
5 | brssr | ||
6 | 4 5 | ax-mp | |
7 | elrels6 | ||
8 | 7 | elv | |
9 | 8 | biimpi | |
10 | 9 | sseq2d | |
11 | 6 10 | syl5bb | |
12 | 1 2 11 | abeqinbi |