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

Theorem dvds2lem 12862
Description: A lemma to assist theorems of  || with two antecedents. (Contributed by Paul Chapman, 21-Mar-2011.)
Hypotheses
Ref Expression
dvds2lem.1  |-  ( ph  ->  ( I  e.  ZZ  /\  J  e.  ZZ ) )
dvds2lem.2  |-  ( ph  ->  ( K  e.  ZZ  /\  L  e.  ZZ ) )
dvds2lem.3  |-  ( ph  ->  ( M  e.  ZZ  /\  N  e.  ZZ ) )
dvds2lem.4  |-  ( (
ph  /\  ( x  e.  ZZ  /\  y  e.  ZZ ) )  ->  Z  e.  ZZ )
dvds2lem.5  |-  ( (
ph  /\  ( x  e.  ZZ  /\  y  e.  ZZ ) )  -> 
( ( ( x  x.  I )  =  J  /\  ( y  x.  K )  =  L )  ->  ( Z  x.  M )  =  N ) )
Assertion
Ref Expression
dvds2lem  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  M  ||  N
) )
Distinct variable groups:    x, I,
y    x, J, y    x, K, y    x, L, y   
x, M, y    x, N, y    ph, x, y
Allowed substitution hints:    Z( x, y)

Proof of Theorem dvds2lem
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 dvds2lem.1 . . . . . 6  |-  ( ph  ->  ( I  e.  ZZ  /\  J  e.  ZZ ) )
2 dvds2lem.2 . . . . . 6  |-  ( ph  ->  ( K  e.  ZZ  /\  L  e.  ZZ ) )
3 divides 12854 . . . . . . 7  |-  ( ( I  e.  ZZ  /\  J  e.  ZZ )  ->  ( I  ||  J  <->  E. x  e.  ZZ  (
x  x.  I )  =  J ) )
4 divides 12854 . . . . . . 7  |-  ( ( K  e.  ZZ  /\  L  e.  ZZ )  ->  ( K  ||  L  <->  E. y  e.  ZZ  (
y  x.  K )  =  L ) )
53, 4bi2anan9 844 . . . . . 6  |-  ( ( ( I  e.  ZZ  /\  J  e.  ZZ )  /\  ( K  e.  ZZ  /\  L  e.  ZZ ) )  -> 
( ( I  ||  J  /\  K  ||  L
)  <->  ( E. x  e.  ZZ  ( x  x.  I )  =  J  /\  E. y  e.  ZZ  ( y  x.  K )  =  L ) ) )
61, 2, 5syl2anc 643 . . . . 5  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  <->  ( E. x  e.  ZZ  ( x  x.  I )  =  J  /\  E. y  e.  ZZ  ( y  x.  K )  =  L ) ) )
76biimpd 199 . . . 4  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  ( E. x  e.  ZZ  (
x  x.  I )  =  J  /\  E. y  e.  ZZ  (
y  x.  K )  =  L ) ) )
8 reeanv 2875 . . . 4  |-  ( E. x  e.  ZZ  E. y  e.  ZZ  (
( x  x.  I
)  =  J  /\  ( y  x.  K
)  =  L )  <-> 
( E. x  e.  ZZ  ( x  x.  I )  =  J  /\  E. y  e.  ZZ  ( y  x.  K )  =  L ) )
97, 8syl6ibr 219 . . 3  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  E. x  e.  ZZ  E. y  e.  ZZ  ( ( x  x.  I )  =  J  /\  ( y  x.  K )  =  L ) ) )
10 dvds2lem.4 . . . . 5  |-  ( (
ph  /\  ( x  e.  ZZ  /\  y  e.  ZZ ) )  ->  Z  e.  ZZ )
11 dvds2lem.5 . . . . 5  |-  ( (
ph  /\  ( x  e.  ZZ  /\  y  e.  ZZ ) )  -> 
( ( ( x  x.  I )  =  J  /\  ( y  x.  K )  =  L )  ->  ( Z  x.  M )  =  N ) )
12 oveq1 6088 . . . . . . 7  |-  ( z  =  Z  ->  (
z  x.  M )  =  ( Z  x.  M ) )
1312eqeq1d 2444 . . . . . 6  |-  ( z  =  Z  ->  (
( z  x.  M
)  =  N  <->  ( Z  x.  M )  =  N ) )
1413rspcev 3052 . . . . 5  |-  ( ( Z  e.  ZZ  /\  ( Z  x.  M
)  =  N )  ->  E. z  e.  ZZ  ( z  x.  M
)  =  N )
1510, 11, 14ee12an 1372 . . . 4  |-  ( (
ph  /\  ( x  e.  ZZ  /\  y  e.  ZZ ) )  -> 
( ( ( x  x.  I )  =  J  /\  ( y  x.  K )  =  L )  ->  E. z  e.  ZZ  ( z  x.  M )  =  N ) )
1615rexlimdvva 2837 . . 3  |-  ( ph  ->  ( E. x  e.  ZZ  E. y  e.  ZZ  ( ( x  x.  I )  =  J  /\  ( y  x.  K )  =  L )  ->  E. z  e.  ZZ  ( z  x.  M )  =  N ) )
179, 16syld 42 . 2  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  E. z  e.  ZZ  ( z  x.  M )  =  N ) )
18 dvds2lem.3 . . 3  |-  ( ph  ->  ( M  e.  ZZ  /\  N  e.  ZZ ) )
19 divides 12854 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  ||  N  <->  E. z  e.  ZZ  (
z  x.  M )  =  N ) )
2018, 19syl 16 . 2  |-  ( ph  ->  ( M  ||  N  <->  E. z  e.  ZZ  (
z  x.  M )  =  N ) )
2117, 20sylibrd 226 1  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  M  ||  N
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1652    e. wcel 1725   E.wrex 2706   class class class wbr 4212  (class class class)co 6081    x. cmul 8995   ZZcz 10282    || cdivides 12852
This theorem is referenced by:  dvds2ln  12880  dvds2add  12881  dvds2sub  12882  dvdstr  12883
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pr 4403
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-opab 4267  df-iota 5418  df-fv 5462  df-ov 6084  df-dvds 12853
  Copyright terms: Public domain W3C validator