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

Theorem isps 18771
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 5758 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5841 . . . . 5 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑟))
3 coeq2 5842 . . . . 5 (𝑟 = 𝑅 → (𝑅 ∘ 𝑟) = (𝑅 ∘ 𝑅))
42, 3eqtrd 2798 . . . 4 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑅))
5 id 23 . . . 4 (𝑟 = 𝑅 → 𝑟 = 𝑅)
64, 5sseq12d 3946 . . 3 (𝑟 = 𝑅 → ((𝑟 ∘ 𝑟) ⊆ 𝑟 ↔ (𝑅 ∘ 𝑅) ⊆ 𝑅))
7 cnveq 5858 . . . . 5 (𝑟 = 𝑅 → ◡𝑟 = ◡𝑅)
85, 7ineq12d 4121 . . . 4 (𝑟 = 𝑅 → (𝑟 ∩ ◡𝑟) = (𝑅 ∩ ◡𝑅))
9 unieq 4881 . . . . . 6 (𝑟 = 𝑅 → ∪ 𝑟 = ∪ 𝑅)
109unieqd 4883 . . . . 5 (𝑟 = 𝑅 → ∪ ∪ 𝑟 = ∪ ∪ 𝑅)
1110reseq2d 5981 . . . 4 (𝑟 = 𝑅 → ( I ↾ ∪ ∪ 𝑟) = ( I ↾ ∪ ∪ 𝑅))
128, 11eqeq12d 2779 . . 3 (𝑟 = 𝑅 → ((𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟) ↔ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅)))
131, 6, 123anbi123d 1465 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
14 df-ps 18769 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟))}
1513, 14elab2g 3637 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 2147   ⊆ wss 3900   ∩ cin 4092  ∪ cuni 4870   I cid 5549  ◡ccnv 5654   ↾ cres 5657   ∘ ccom 5659  Rel wrel 5660  PosetRelcps 18767
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-ss 3901  df-in 4094  df-uni 4871  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-res 5667  df-ps 18769
This theorem is used by:  psrel  18772  psref2  18773  pstr2  18774  cnvps  18781  psss  18783  letsr  18796
  Copyright terms: Public domain W3C validator