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

Theorem pslem 18290
Description: Lemma for psref 18292 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 18287 . . . . . 6 (𝑅 ∈ PosetRel → Rel 𝑅)
2 brrelex12 5639 . . . . . 6 ((Rel 𝑅𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
31, 2sylan 580 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
4 brrelex2 5641 . . . . . 6 ((Rel 𝑅𝐵𝑅𝐶) → 𝐶 ∈ V)
51, 4sylan 580 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐵𝑅𝐶) → 𝐶 ∈ V)
63, 5anim12dan 619 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V))
7 pstr2 18289 . . . . . 6 (𝑅 ∈ PosetRel → (𝑅𝑅) ⊆ 𝑅)
8 cotr 6017 . . . . . 6 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
97, 8sylib 217 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
109adantr 481 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
11 simpr 485 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → (𝐴𝑅𝐵𝐵𝑅𝐶))
12 breq12 5079 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥𝑅𝑦𝐴𝑅𝐵))
13123adant3 1131 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑦𝐴𝑅𝐵))
14 breq12 5079 . . . . . . . . 9 ((𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
15143adant1 1129 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
1613, 15anbi12d 631 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
17 breq12 5079 . . . . . . . 8 ((𝑥 = 𝐴𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
18173adant2 1130 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
1916, 18imbi12d 345 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2019spc3gv 3543 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
21203expa 1117 . . . 4 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
226, 10, 11, 21syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → 𝐴𝑅𝐶)
2322ex 413 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
24 psref2 18288 . . 3 (𝑅 ∈ PosetRel → (𝑅𝑅) = ( I ↾ 𝑅))
25 asymref2 6022 . . . 4 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
2625simplbi 498 . . 3 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥 𝑅𝑥𝑅𝑥)
27 breq12 5079 . . . . 5 ((𝑥 = 𝐴𝑥 = 𝐴) → (𝑥𝑅𝑥𝐴𝑅𝐴))
2827anidms 567 . . . 4 (𝑥 = 𝐴 → (𝑥𝑅𝑥𝐴𝑅𝐴))
2928rspccv 3558 . . 3 (∀𝑥 𝑅𝑥𝑅𝑥 → (𝐴 𝑅𝐴𝑅𝐴))
3024, 26, 293syl 18 . 2 (𝑅 ∈ PosetRel → (𝐴 𝑅𝐴𝑅𝐴))
313adantrr 714 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3225simprbi 497 . . . . . 6 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3324, 32syl 17 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3433adantr 481 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
35 simpr 485 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴𝑅𝐵𝐵𝑅𝐴))
36 breq12 5079 . . . . . . . 8 ((𝑦 = 𝐵𝑥 = 𝐴) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3736ancoms 459 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3812, 37anbi12d 631 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝐴𝑅𝐵𝐵𝑅𝐴)))
39 eqeq12 2755 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝑦𝐴 = 𝐵))
4038, 39imbi12d 345 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4140spc2gv 3539 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4231, 34, 35, 41syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → 𝐴 = 𝐵)
4342ex 413 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵))
4423, 30, 433jca 1127 1 (𝑅 ∈ PosetRel → (((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶) ∧ (𝐴 𝑅𝐴𝑅𝐴) ∧ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086  wal 1537   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cin 3886  wss 3887   cuni 4839   class class class wbr 5074   I cid 5488  ccnv 5588  cres 5591  ccom 5593  Rel wrel 5594  PosetRelcps 18282
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-res 5601  df-ps 18284
This theorem is referenced by:  psdmrn  18291  psref  18292  psasym  18294  pstr  18295
  Copyright terms: Public domain W3C validator