MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  swopolem Unicode version

Theorem swopolem 4472
Description: Perform the substitutions into the strict weak ordering law. (Contributed by Mario Carneiro, 31-Dec-2014.)
Hypothesis
Ref Expression
swopolem.1  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( x R y  ->  ( x R z  \/  z R y ) ) )
Assertion
Ref Expression
swopolem  |-  ( (
ph  /\  ( X  e.  A  /\  Y  e.  A  /\  Z  e.  A ) )  -> 
( X R Y  ->  ( X R Z  \/  Z R Y ) ) )
Distinct variable groups:    x, y,
z, A    ph, x, y, z    x, R, y, z    x, X, y, z    y, Y, z   
z, Z
Allowed substitution hints:    Y( x)    Z( x, y)

Proof of Theorem swopolem
StepHypRef Expression
1 swopolem.1 . . 3  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( x R y  ->  ( x R z  \/  z R y ) ) )
21ralrimivvva 2759 . 2  |-  ( ph  ->  A. x  e.  A  A. y  e.  A  A. z  e.  A  ( x R y  ->  ( x R z  \/  z R y ) ) )
3 breq1 4175 . . . 4  |-  ( x  =  X  ->  (
x R y  <->  X R
y ) )
4 breq1 4175 . . . . 5  |-  ( x  =  X  ->  (
x R z  <->  X R
z ) )
54orbi1d 684 . . . 4  |-  ( x  =  X  ->  (
( x R z  \/  z R y )  <->  ( X R z  \/  z R y ) ) )
63, 5imbi12d 312 . . 3  |-  ( x  =  X  ->  (
( x R y  ->  ( x R z  \/  z R y ) )  <->  ( X R y  ->  ( X R z  \/  z R y ) ) ) )
7 breq2 4176 . . . 4  |-  ( y  =  Y  ->  ( X R y  <->  X R Y ) )
8 breq2 4176 . . . . 5  |-  ( y  =  Y  ->  (
z R y  <->  z R Y ) )
98orbi2d 683 . . . 4  |-  ( y  =  Y  ->  (
( X R z  \/  z R y )  <->  ( X R z  \/  z R Y ) ) )
107, 9imbi12d 312 . . 3  |-  ( y  =  Y  ->  (
( X R y  ->  ( X R z  \/  z R y ) )  <->  ( X R Y  ->  ( X R z  \/  z R Y ) ) ) )
11 breq2 4176 . . . . 5  |-  ( z  =  Z  ->  ( X R z  <->  X R Z ) )
12 breq1 4175 . . . . 5  |-  ( z  =  Z  ->  (
z R Y  <->  Z R Y ) )
1311, 12orbi12d 691 . . . 4  |-  ( z  =  Z  ->  (
( X R z  \/  z R Y )  <->  ( X R Z  \/  Z R Y ) ) )
1413imbi2d 308 . . 3  |-  ( z  =  Z  ->  (
( X R Y  ->  ( X R z  \/  z R Y ) )  <->  ( X R Y  ->  ( X R Z  \/  Z R Y ) ) ) )
156, 10, 14rspc3v 3021 . 2  |-  ( ( X  e.  A  /\  Y  e.  A  /\  Z  e.  A )  ->  ( A. x  e.  A  A. y  e.  A  A. z  e.  A  ( x R y  ->  ( x R z  \/  z R y ) )  ->  ( X R Y  ->  ( X R Z  \/  Z R Y ) ) ) )
162, 15mpan9 456 1  |-  ( (
ph  /\  ( X  e.  A  /\  Y  e.  A  /\  Z  e.  A ) )  -> 
( X R Y  ->  ( X R Z  \/  Z R Y ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    \/ wo 358    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721   A.wral 2666   class class class wbr 4172
This theorem is referenced by:  swoer  6892  swoord1  6893  swoord2  6894
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ral 2671  df-rab 2675  df-v 2918  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-br 4173
  Copyright terms: Public domain W3C validator