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

Theorem isps 17804
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 5644 . . 3 (𝑟 = 𝑅 → (Rel 𝑟 ↔ Rel 𝑅))
2 coeq1 5721 . . . . 5 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑟))
3 coeq2 5722 . . . . 5 (𝑟 = 𝑅 → (𝑅𝑟) = (𝑅𝑅))
42, 3eqtrd 2854 . . . 4 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑅))
5 id 22 . . . 4 (𝑟 = 𝑅𝑟 = 𝑅)
64, 5sseq12d 3998 . . 3 (𝑟 = 𝑅 → ((𝑟𝑟) ⊆ 𝑟 ↔ (𝑅𝑅) ⊆ 𝑅))
7 cnveq 5737 . . . . 5 (𝑟 = 𝑅𝑟 = 𝑅)
85, 7ineq12d 4188 . . . 4 (𝑟 = 𝑅 → (𝑟𝑟) = (𝑅𝑅))
9 unieq 4838 . . . . . 6 (𝑟 = 𝑅 𝑟 = 𝑅)
109unieqd 4840 . . . . 5 (𝑟 = 𝑅 𝑟 = 𝑅)
1110reseq2d 5846 . . . 4 (𝑟 = 𝑅 → ( I ↾ 𝑟) = ( I ↾ 𝑅))
128, 11eqeq12d 2835 . . 3 (𝑟 = 𝑅 → ((𝑟𝑟) = ( I ↾ 𝑟) ↔ (𝑅𝑅) = ( I ↾ 𝑅)))
131, 6, 123anbi123d 1430 . 2 (𝑟 = 𝑅 → ((Rel 𝑟 ∧ (𝑟𝑟) ⊆ 𝑟 ∧ (𝑟𝑟) = ( I ↾ 𝑟)) ↔ (Rel 𝑅 ∧ (𝑅𝑅) ⊆ 𝑅 ∧ (𝑅𝑅) = ( I ↾ 𝑅))))
14 df-ps 17802 . 2 PosetRel = {𝑟 ∣ (Rel 𝑟 ∧ (𝑟𝑟) ⊆ 𝑟 ∧ (𝑟𝑟) = ( I ↾ 𝑟))}
1513, 14elab2g 3666 1 (𝑅𝐴 → (𝑅 ∈ PosetRel ↔ (Rel 𝑅 ∧ (𝑅𝑅) ⊆ 𝑅 ∧ (𝑅𝑅) = ( I ↾ 𝑅))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  w3a 1082   = wceq 1531  wcel 2108  cin 3933  wss 3934   cuni 4830   I cid 5452  ccnv 5547  cres 5550  ccom 5552  Rel wrel 5553  PosetRelcps 17800
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-rex 3142  df-rab 3145  df-in 3941  df-ss 3950  df-uni 4831  df-br 5058  df-opab 5120  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-res 5560  df-ps 17802
This theorem is referenced by:  psrel  17805  psref2  17806  pstr2  17807  cnvps  17814  psss  17816  letsr  17829
  Copyright terms: Public domain W3C validator