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

Theorem pslem 18205
Description: Lemma for psref 18207 and others. (Contributed by NM, 12-May-2008.) (Revised by Mario Carneiro, 30-Apr-2015.)
Assertion
Ref Expression
pslem (𝑅 ∈ PosetRel → (((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶) ∧ (𝐴 𝑅𝐴𝑅𝐴) ∧ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))

Proof of Theorem pslem
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 psrel 18202 . . . . . 6 (𝑅 ∈ PosetRel → Rel 𝑅)
2 brrelex12 5630 . . . . . 6 ((Rel 𝑅𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
31, 2sylan 579 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
4 brrelex2 5632 . . . . . 6 ((Rel 𝑅𝐵𝑅𝐶) → 𝐶 ∈ V)
51, 4sylan 579 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐵𝑅𝐶) → 𝐶 ∈ V)
63, 5anim12dan 618 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V))
7 pstr2 18204 . . . . . 6 (𝑅 ∈ PosetRel → (𝑅𝑅) ⊆ 𝑅)
8 cotr 6006 . . . . . 6 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
97, 8sylib 217 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
109adantr 480 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
11 simpr 484 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → (𝐴𝑅𝐵𝐵𝑅𝐶))
12 breq12 5075 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥𝑅𝑦𝐴𝑅𝐵))
13123adant3 1130 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑦𝐴𝑅𝐵))
14 breq12 5075 . . . . . . . . 9 ((𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
15143adant1 1128 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
1613, 15anbi12d 630 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
17 breq12 5075 . . . . . . . 8 ((𝑥 = 𝐴𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
18173adant2 1129 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
1916, 18imbi12d 344 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2019spc3gv 3533 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
21203expa 1116 . . . 4 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
226, 10, 11, 21syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → 𝐴𝑅𝐶)
2322ex 412 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
24 psref2 18203 . . 3 (𝑅 ∈ PosetRel → (𝑅𝑅) = ( I ↾ 𝑅))
25 asymref2 6011 . . . 4 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
2625simplbi 497 . . 3 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥 𝑅𝑥𝑅𝑥)
27 breq12 5075 . . . . 5 ((𝑥 = 𝐴𝑥 = 𝐴) → (𝑥𝑅𝑥𝐴𝑅𝐴))
2827anidms 566 . . . 4 (𝑥 = 𝐴 → (𝑥𝑅𝑥𝐴𝑅𝐴))
2928rspccv 3549 . . 3 (∀𝑥 𝑅𝑥𝑅𝑥 → (𝐴 𝑅𝐴𝑅𝐴))
3024, 26, 293syl 18 . 2 (𝑅 ∈ PosetRel → (𝐴 𝑅𝐴𝑅𝐴))
313adantrr 713 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3225simprbi 496 . . . . . 6 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3324, 32syl 17 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3433adantr 480 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
35 simpr 484 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴𝑅𝐵𝐵𝑅𝐴))
36 breq12 5075 . . . . . . . 8 ((𝑦 = 𝐵𝑥 = 𝐴) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3736ancoms 458 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3812, 37anbi12d 630 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝐴𝑅𝐵𝐵𝑅𝐴)))
39 eqeq12 2755 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝑦𝐴 = 𝐵))
4038, 39imbi12d 344 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4140spc2gv 3529 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4231, 34, 35, 41syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → 𝐴 = 𝐵)
4342ex 412 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵))
4423, 30, 433jca 1126 1 (𝑅 ∈ PosetRel → (((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶) ∧ (𝐴 𝑅𝐴𝑅𝐴) ∧ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085  wal 1537   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cin 3882  wss 3883   cuni 4836   class class class wbr 5070   I cid 5479  ccnv 5579  cres 5582  ccom 5584  Rel wrel 5585  PosetRelcps 18197
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-res 5592  df-ps 18199
This theorem is referenced by:  psdmrn  18206  psref  18207  psasym  18209  pstr  18210
  Copyright terms: Public domain W3C validator