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

Theorem isps 16971
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 5114 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5189 . . . . 5 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑟))
3 coeq2 5190 . . . . 5 (𝑟 = 𝑅 → (𝑅𝑟) = (𝑅𝑅))
42, 3eqtrd 2643 . . . 4 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑅))
5 id 22 . . . 4 (𝑟 = 𝑅𝑟 = 𝑅)
64, 5sseq12d 3596 . . 3 (𝑟 = 𝑅 → ((𝑟𝑟) ⊆ 𝑟 ↔ (𝑅𝑅) ⊆ 𝑅))
7 cnveq 5206 . . . . 5 (𝑟 = 𝑅𝑟 = 𝑅)
85, 7ineq12d 3776 . . . 4 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑅))
9 unieq 4374 . . . . . 6 (𝑟 = 𝑅 𝑟 = 𝑅)
109unieqd 4376 . . . . 5 (𝑟 = 𝑅 𝑟 = 𝑅)
1110reseq2d 5304 . . . 4 (𝑟 = 𝑅 → ( I ↾ 𝑟) = ( I ↾ 𝑅))
128, 11eqeq12d 2624 . . 3 (𝑟 = 𝑅 → ((𝑟𝑟) = ( I ↾ 𝑟) ↔ (𝑅𝑅) = ( I ↾ 𝑅)))
131, 6, 123anbi123d 1390 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟𝑟) ⊆ 𝑟 ∧ (𝑟𝑟) = ( I ↾ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅𝑅) ⊆ 𝑅 ∧ (𝑅𝑅) = ( I ↾ 𝑅))))
14 df-ps 16969 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟𝑟) ⊆ 𝑟 ∧ (𝑟𝑟) = ( I ↾ 𝑟))}
1513, 14elab2g 3321 1 (𝑅𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅𝑅) ⊆ 𝑅 ∧ (𝑅𝑅) = ( I ↾ 𝑅))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  w3a 1030   = wceq 1474  wcel 1976  cin 3538  wss 3539   cuni 4366   I cid 4938  ccnv 5027  cres 5030  ccom 5032  Rel wrel 5033  PosetRelcps 16967
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2232  ax-ext 2589
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-rex 2901  df-v 3174  df-in 3546  df-ss 3553  df-uni 4367  df-br 4578  df-opab 4638  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-res 5040  df-ps 16969
This theorem is referenced by:  psrel  16972  psref2  16973  pstr2  16974  cnvps  16981  psss  16983  letsr  16996
  Copyright terms: Public domain W3C validator