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

Theorem dvds2lem 12541
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 12533 . . . . . . 7  |-  ( ( I  e.  ZZ  /\  J  e.  ZZ )  ->  ( I  ||  J  <->  E. x  e.  ZZ  (
x  x.  I )  =  J ) )
4 divides 12533 . . . . . . 7  |-  ( ( K  e.  ZZ  /\  L  e.  ZZ )  ->  ( K  ||  L  <->  E. y  e.  ZZ  (
y  x.  K )  =  L ) )
53, 4bi2anan9 843 . . . . . 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 642 . . . . 5  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  <->  ( E. x  e.  ZZ  ( x  x.  I )  =  J  /\  E. y  e.  ZZ  ( y  x.  K )  =  L ) ) )
76biimpd 198 . . . 4  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  ( E. x  e.  ZZ  (
x  x.  I )  =  J  /\  E. y  e.  ZZ  (
y  x.  K )  =  L ) ) )
8 reeanv 2707 . . . 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 218 . . 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 5865 . . . . . . 7  |-  ( z  =  Z  ->  (
z  x.  M )  =  ( Z  x.  M ) )
1312eqeq1d 2291 . . . . . 6  |-  ( z  =  Z  ->  (
( z  x.  M
)  =  N  <->  ( Z  x.  M )  =  N ) )
1413rspcev 2884 . . . . 5  |-  ( ( Z  e.  ZZ  /\  ( Z  x.  M
)  =  N )  ->  E. z  e.  ZZ  ( z  x.  M
)  =  N )
1510, 11, 14ee12an 1353 . . . 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 2674 . . 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 40 . 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 12533 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( M  ||  N  <->  E. z  e.  ZZ  (
z  x.  M )  =  N ) )
2018, 19syl 15 . 2  |-  ( ph  ->  ( M  ||  N  <->  E. z  e.  ZZ  (
z  x.  M )  =  N ) )
2117, 20sylibrd 225 1  |-  ( ph  ->  ( ( I  ||  J  /\  K  ||  L
)  ->  M  ||  N
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   E.wrex 2544   class class class wbr 4023  (class class class)co 5858    x. cmul 8742   ZZcz 10024    || cdivides 12531
This theorem is referenced by:  dvds2ln  12559  dvds2add  12560  dvds2sub  12561  dvdstr  12562
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-iota 5219  df-fv 5263  df-ov 5861  df-dvds 12532
  Copyright terms: Public domain W3C validator