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

Theorem pslem 18078
Description: Lemma for psref 18080 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 18075 . . . . . 6 (𝑅 ∈ PosetRel → Rel 𝑅)
2 brrelex12 5601 . . . . . 6 ((Rel 𝑅𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
31, 2sylan 583 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐴𝑅𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
4 brrelex2 5603 . . . . . 6 ((Rel 𝑅𝐵𝑅𝐶) → 𝐶 ∈ V)
51, 4sylan 583 . . . . 5 ((𝑅 ∈ PosetRel ∧ 𝐵𝑅𝐶) → 𝐶 ∈ V)
63, 5anim12dan 622 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V))
7 pstr2 18077 . . . . . 6 (𝑅 ∈ PosetRel → (𝑅𝑅) ⊆ 𝑅)
8 cotr 5977 . . . . . 6 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
97, 8sylib 221 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
109adantr 484 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
11 simpr 488 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → (𝐴𝑅𝐵𝐵𝑅𝐶))
12 breq12 5058 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥𝑅𝑦𝐴𝑅𝐵))
13123adant3 1134 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑦𝐴𝑅𝐵))
14 breq12 5058 . . . . . . . . 9 ((𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
15143adant1 1132 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑦𝑅𝑧𝐵𝑅𝐶))
1613, 15anbi12d 634 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
17 breq12 5058 . . . . . . . 8 ((𝑥 = 𝐴𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
18173adant2 1133 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (𝑥𝑅𝑧𝐴𝑅𝐶))
1916, 18imbi12d 348 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵𝑧 = 𝐶) → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2019spc3gv 3519 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
21203expa 1120 . . . 4 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐶 ∈ V) → (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
226, 10, 11, 21syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐶)) → 𝐴𝑅𝐶)
2322ex 416 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
24 psref2 18076 . . 3 (𝑅 ∈ PosetRel → (𝑅𝑅) = ( I ↾ 𝑅))
25 asymref2 5982 . . . 4 ((𝑅𝑅) = ( I ↾ 𝑅) ↔ (∀𝑥 𝑅𝑥𝑅𝑥 ∧ ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦)))
2625simplbi 501 . . 3 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥 𝑅𝑥𝑅𝑥)
27 breq12 5058 . . . . 5 ((𝑥 = 𝐴𝑥 = 𝐴) → (𝑥𝑅𝑥𝐴𝑅𝐴))
2827anidms 570 . . . 4 (𝑥 = 𝐴 → (𝑥𝑅𝑥𝐴𝑅𝐴))
2928rspccv 3534 . . 3 (∀𝑥 𝑅𝑥𝑅𝑥 → (𝐴 𝑅𝐴𝑅𝐴))
3024, 26, 293syl 18 . 2 (𝑅 ∈ PosetRel → (𝐴 𝑅𝐴𝑅𝐴))
313adantrr 717 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3225simprbi 500 . . . . . 6 ((𝑅𝑅) = ( I ↾ 𝑅) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3324, 32syl 17 . . . . 5 (𝑅 ∈ PosetRel → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
3433adantr 484 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → ∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦))
35 simpr 488 . . . 4 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → (𝐴𝑅𝐵𝐵𝑅𝐴))
36 breq12 5058 . . . . . . . 8 ((𝑦 = 𝐵𝑥 = 𝐴) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3736ancoms 462 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦𝑅𝑥𝐵𝑅𝐴))
3812, 37anbi12d 634 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝐴𝑅𝐵𝐵𝑅𝐴)))
39 eqeq12 2754 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝑦𝐴 = 𝐵))
4038, 39imbi12d 348 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4140spc2gv 3515 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (∀𝑥𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑥 = 𝑦) → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
4231, 34, 35, 41syl3c 66 . . 3 ((𝑅 ∈ PosetRel ∧ (𝐴𝑅𝐵𝐵𝑅𝐴)) → 𝐴 = 𝐵)
4342ex 416 . 2 (𝑅 ∈ PosetRel → ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵))
4423, 30, 433jca 1130 1 (𝑅 ∈ PosetRel → (((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶) ∧ (𝐴 𝑅𝐴𝑅𝐴) ∧ ((𝐴𝑅𝐵𝐵𝑅𝐴) → 𝐴 = 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089  wal 1541   = wceq 1543  wcel 2110  wral 3061  Vcvv 3408  cin 3865  wss 3866   cuni 4819   class class class wbr 5053   I cid 5454  ccnv 5550  cres 5553  ccom 5555  Rel wrel 5556  PosetRelcps 18070
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-res 5563  df-ps 18072
This theorem is referenced by:  psdmrn  18079  psref  18080  psasym  18082  pstr  18083
  Copyright terms: Public domain W3C validator