Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  raaan2 Structured version   Visualization version   Unicode version

Theorem raaan2 41175
Description: Rearrange restricted quantifiers with two different restricting classes, analogous to raaan 4082. It is necessary that either both restricting classes are empty or both are not empty. (Contributed by Alexander van der Vekens, 29-Jun-2017.)
Hypotheses
Ref Expression
raaan2.1  |-  F/ y
ph
raaan2.2  |-  F/ x ps
Assertion
Ref Expression
raaan2  |-  ( ( A  =  (/)  <->  B  =  (/) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  ( A. x  e.  A  ph  /\  A. y  e.  B  ps ) ) )
Distinct variable groups:    x, y, A    x, B, y
Allowed substitution hints:    ph( x, y)    ps( x, y)

Proof of Theorem raaan2
StepHypRef Expression
1 dfbi3 994 . 2  |-  ( ( A  =  (/)  <->  B  =  (/) )  <->  ( ( A  =  (/)  /\  B  =  (/) )  \/  ( -.  A  =  (/)  /\  -.  B  =  (/) ) ) )
2 rzal 4073 . . . . 5  |-  ( A  =  (/)  ->  A. x  e.  A  A. y  e.  B  ( ph  /\ 
ps ) )
32adantr 481 . . . 4  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  A. x  e.  A  A. y  e.  B  ( ph  /\ 
ps ) )
4 rzal 4073 . . . . 5  |-  ( A  =  (/)  ->  A. x  e.  A  ph )
54adantr 481 . . . 4  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  A. x  e.  A  ph )
6 rzal 4073 . . . . 5  |-  ( B  =  (/)  ->  A. y  e.  B  ps )
76adantl 482 . . . 4  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  A. y  e.  B  ps )
8 pm5.1 902 . . . 4  |-  ( ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  /\  ( A. x  e.  A  ph  /\  A. y  e.  B  ps ) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  ( A. x  e.  A  ph 
/\  A. y  e.  B  ps ) ) )
93, 5, 7, 8syl12anc 1324 . . 3  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  ( A. x  e.  A  ph 
/\  A. y  e.  B  ps ) ) )
10 df-ne 2795 . . . . 5  |-  ( B  =/=  (/)  <->  -.  B  =  (/) )
11 raaan2.1 . . . . . . 7  |-  F/ y
ph
1211r19.28z 4063 . . . . . 6  |-  ( B  =/=  (/)  ->  ( A. y  e.  B  ( ph  /\  ps )  <->  ( ph  /\ 
A. y  e.  B  ps ) ) )
1312ralbidv 2986 . . . . 5  |-  ( B  =/=  (/)  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  A. x  e.  A  ( ph  /\ 
A. y  e.  B  ps ) ) )
1410, 13sylbir 225 . . . 4  |-  ( -.  B  =  (/)  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  A. x  e.  A  (
ph  /\  A. y  e.  B  ps )
) )
15 df-ne 2795 . . . . 5  |-  ( A  =/=  (/)  <->  -.  A  =  (/) )
16 nfcv 2764 . . . . . . 7  |-  F/_ x B
17 raaan2.2 . . . . . . 7  |-  F/ x ps
1816, 17nfral 2945 . . . . . 6  |-  F/ x A. y  e.  B  ps
1918r19.27z 4070 . . . . 5  |-  ( A  =/=  (/)  ->  ( A. x  e.  A  ( ph  /\  A. y  e.  B  ps )  <->  ( A. x  e.  A  ph  /\  A. y  e.  B  ps ) ) )
2015, 19sylbir 225 . . . 4  |-  ( -.  A  =  (/)  ->  ( A. x  e.  A  ( ph  /\  A. y  e.  B  ps )  <->  ( A. x  e.  A  ph 
/\  A. y  e.  B  ps ) ) )
2114, 20sylan9bbr 737 . . 3  |-  ( ( -.  A  =  (/)  /\ 
-.  B  =  (/) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\ 
ps )  <->  ( A. x  e.  A  ph  /\  A. y  e.  B  ps ) ) )
229, 21jaoi 394 . 2  |-  ( ( ( A  =  (/)  /\  B  =  (/) )  \/  ( -.  A  =  (/)  /\  -.  B  =  (/) ) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  ( A. x  e.  A  ph 
/\  A. y  e.  B  ps ) ) )
231, 22sylbi 207 1  |-  ( ( A  =  (/)  <->  B  =  (/) )  ->  ( A. x  e.  A  A. y  e.  B  ( ph  /\  ps )  <->  ( A. x  e.  A  ph  /\  A. y  e.  B  ps ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196    \/ wo 383    /\ wa 384    = wceq 1483   F/wnf 1708    =/= wne 2794   A.wral 2912   (/)c0 3915
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-v 3202  df-dif 3577  df-nul 3916
This theorem is referenced by:  2reu4a  41189
  Copyright terms: Public domain W3C validator