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

Theorem isps 18747
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 5752 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5834 . . . . 5 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑟))
3 coeq2 5835 . . . . 5 (𝑟 = 𝑅 → (𝑅 ∘ 𝑟) = (𝑅 ∘ 𝑅))
42, 3eqtrd 2795 . . . 4 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑅))
5 id 23 . . . 4 (𝑟 = 𝑅 → 𝑟 = 𝑅)
64, 5sseq12d 3941 . . 3 (𝑟 = 𝑅 → ((𝑟 ∘ 𝑟) ⊆ 𝑟 ↔ (𝑅 ∘ 𝑅) ⊆ 𝑅))
7 cnveq 5850 . . . . 5 (𝑟 = 𝑅 → ◡𝑟 = ◡𝑅)
85, 7ineq12d 4118 . . . 4 (𝑟 = 𝑅 → (𝑟 ∩ ◡𝑟) = (𝑅 ∩ ◡𝑅))
9 unieq 4877 . . . . . 6 (𝑟 = 𝑅 → ∪ 𝑟 = ∪ 𝑅)
109unieqd 4879 . . . . 5 (𝑟 = 𝑅 → ∪ ∪ 𝑟 = ∪ ∪ 𝑅)
1110reseq2d 5969 . . . 4 (𝑟 = 𝑅 → ( I ↾ ∪ ∪ 𝑟) = ( I ↾ ∪ ∪ 𝑅))
128, 11eqeq12d 2776 . . 3 (𝑟 = 𝑅 → ((𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟) ↔ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅)))
131, 6, 123anbi123d 1464 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
14 df-ps 18745 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟))}
1513, 14elab2g 3633 1 (𝑅 ∈ 𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895   ∩ cin 4089  ∪ cuni 4866   I cid 5544  ◡ccnv 5649   ↾ cres 5652   ∘ ccom 5654  Rel wrel 5655  PosetRelcps 18743
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-in 4091  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-res 5662  df-ps 18745
This theorem is used by:  psrel  18748  psref2  18749  pstr2  18750  cnvps  18757  psss  18759  letsr  18772
  Copyright terms: Public domain W3C validator