MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  isps Structured version   Visualization version   GIF version

Theorem isps 18722
Description: The predicate "is a poset" i.e. a transitive, reflexive, antisymmetric relation. (Contributed by NM, 11-May-2008.)
Assertion
Ref Expression
isps (𝑅 ∈ 𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))

Proof of Theorem isps
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 releq 5753 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5835 . . . . 5 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑟))
3 coeq2 5836 . . . . 5 (𝑟 = 𝑅 → (𝑅 ∘ 𝑟) = (𝑅 ∘ 𝑅))
42, 3eqtrd 2796 . . . 4 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑅))
5 id 23 . . . 4 (𝑟 = 𝑅 → 𝑟 = 𝑅)
64, 5sseq12d 3964 . . 3 (𝑟 = 𝑅 → ((𝑟 ∘ 𝑟) ⊆ 𝑟 ↔ (𝑅 ∘ 𝑅) ⊆ 𝑅))
7 cnveq 5851 . . . . 5 (𝑟 = 𝑅 → ◡𝑟 = ◡𝑅)
85, 7ineq12d 4167 . . . 4 (𝑟 = 𝑅 → (𝑟 ∩ ◡𝑟) = (𝑅 ∩ ◡𝑅))
9 unieq 4878 . . . . . 6 (𝑟 = 𝑅 → ∪ 𝑟 = ∪ 𝑅)
109unieqd 4880 . . . . 5 (𝑟 = 𝑅 → ∪ ∪ 𝑟 = ∪ ∪ 𝑅)
1110reseq2d 5970 . . . 4 (𝑟 = 𝑅 → ( I ↾ ∪ ∪ 𝑟) = ( I ↾ ∪ ∪ 𝑅))
128, 11eqeq12d 2777 . . 3 (𝑟 = 𝑅 → ((𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟) ↔ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅)))
131, 6, 123anbi123d 1464 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
14 df-ps 18720 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟))}
1513, 14elab2g 3634 1 (𝑅 ∈ 𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ∩ cin 3898   ⊆ wss 3899  ∪ cuni 4867   I cid 5545  ◡ccnv 5650   ↾ cres 5653   ∘ ccom 5655  Rel wrel 5656  PosetRelcps 18718
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-in 3906  df-ss 3916  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-res 5663  df-ps 18720
This theorem is used by:  psrel  18723  psref2  18724  pstr2  18725  cnvps  18732  psss  18734  letsr  18747
  Copyright terms: Public domain W3C validator