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

Theorem isps 18809
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 5764 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5849 . . . . 5 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑟))
3 coeq2 5850 . . . . 5 (𝑟 = 𝑅 → (𝑅 ∘ 𝑟) = (𝑅 ∘ 𝑅))
42, 3eqtrd 2804 . . . 4 (𝑟 = 𝑅 → (𝑟 ∘ 𝑟) = (𝑅 ∘ 𝑅))
5 id 23 . . . 4 (𝑟 = 𝑅 → 𝑟 = 𝑅)
64, 5sseq12d 3948 . . 3 (𝑟 = 𝑅 → ((𝑟 ∘ 𝑟) ⊆ 𝑟 ↔ (𝑅 ∘ 𝑅) ⊆ 𝑅))
7 cnveq 5866 . . . . 5 (𝑟 = 𝑅 → ◡𝑟 = ◡𝑅)
85, 7ineq12d 4123 . . . 4 (𝑟 = 𝑅 → (𝑟 ∩ ◡𝑟) = (𝑅 ∩ ◡𝑅))
9 unieq 4886 . . . . . 6 (𝑟 = 𝑅 → ∪ 𝑟 = ∪ 𝑅)
109unieqd 4888 . . . . 5 (𝑟 = 𝑅 → ∪ ∪ 𝑟 = ∪ ∪ 𝑅)
1110reseq2d 5989 . . . 4 (𝑟 = 𝑅 → ( I ↾ ∪ ∪ 𝑟) = ( I ↾ ∪ ∪ 𝑅))
128, 11eqeq12d 2785 . . 3 (𝑟 = 𝑅 → ((𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟) ↔ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅)))
131, 6, 123anbi123d 1467 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
14 df-ps 18807 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟 ∘ 𝑟) ⊆ 𝑟 ∧ (𝑟 ∩ ◡𝑟) = ( I ↾ ∪ ∪ 𝑟))}
1513, 14elab2g 3639 1 (𝑅 ∈ 𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅 ∘ 𝑅) ⊆ 𝑅 ∧ (𝑅 ∩ ◡𝑅) = ( I ↾ ∪ ∪ 𝑅))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151   ⊆ wss 3902   ∩ cin 4094  ∪ cuni 4875   I cid 5555  ◡ccnv 5660   ↾ cres 5663   ∘ ccom 5665  Rel wrel 5666  PosetRelcps 18805
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1106  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-rab 3419  df-v 3458  df-ss 3903  df-in 4096  df-uni 4876  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-res 5673  df-ps 18807
This theorem is used by:  psrel  18810  psref2  18811  pstr2  18812  cnvps  18819  psss  18821  letsr  18834
  Copyright terms: Public domain W3C validator