ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nnmordi Unicode version

Theorem nnmordi 6727
Description: Ordering property of multiplication. Half of Proposition 8.19 of [TakeutiZaring] p. 63, limited to natural numbers. (Contributed by NM, 18-Sep-1995.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnmordi  |-  ( ( ( B  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( A  e.  B  ->  ( C  .o  A )  e.  ( C  .o  B ) ) )

Proof of Theorem nnmordi
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elnn 4710 . . . . . 6  |-  ( ( A  e.  B  /\  B  e.  om )  ->  A  e.  om )
21expcom 116 . . . . 5  |-  ( B  e.  om  ->  ( A  e.  B  ->  A  e.  om ) )
3 eleq2 2295 . . . . . . . . . . 11  |-  ( x  =  B  ->  ( A  e.  x  <->  A  e.  B ) )
4 oveq2 6036 . . . . . . . . . . . 12  |-  ( x  =  B  ->  ( C  .o  x )  =  ( C  .o  B
) )
54eleq2d 2301 . . . . . . . . . . 11  |-  ( x  =  B  ->  (
( C  .o  A
)  e.  ( C  .o  x )  <->  ( C  .o  A )  e.  ( C  .o  B ) ) )
63, 5imbi12d 234 . . . . . . . . . 10  |-  ( x  =  B  ->  (
( A  e.  x  ->  ( C  .o  A
)  e.  ( C  .o  x ) )  <-> 
( A  e.  B  ->  ( C  .o  A
)  e.  ( C  .o  B ) ) ) )
76imbi2d 230 . . . . . . . . 9  |-  ( x  =  B  ->  (
( ( ( A  e.  om  /\  C  e.  om )  /\  (/)  e.  C
)  ->  ( A  e.  x  ->  ( C  .o  A )  e.  ( C  .o  x
) ) )  <->  ( (
( A  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( A  e.  B  ->  ( C  .o  A )  e.  ( C  .o  B ) ) ) ) )
8 eleq2 2295 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( A  e.  x  <->  A  e.  (/) ) )
9 oveq2 6036 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( C  .o  x )  =  ( C  .o  (/) ) )
109eleq2d 2301 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( ( C  .o  A )  e.  ( C  .o  x )  <->  ( C  .o  A )  e.  ( C  .o  (/) ) ) )
118, 10imbi12d 234 . . . . . . . . . 10  |-  ( x  =  (/)  ->  ( ( A  e.  x  -> 
( C  .o  A
)  e.  ( C  .o  x ) )  <-> 
( A  e.  (/)  ->  ( C  .o  A
)  e.  ( C  .o  (/) ) ) ) )
12 eleq2 2295 . . . . . . . . . . 11  |-  ( x  =  y  ->  ( A  e.  x  <->  A  e.  y ) )
13 oveq2 6036 . . . . . . . . . . . 12  |-  ( x  =  y  ->  ( C  .o  x )  =  ( C  .o  y
) )
1413eleq2d 2301 . . . . . . . . . . 11  |-  ( x  =  y  ->  (
( C  .o  A
)  e.  ( C  .o  x )  <->  ( C  .o  A )  e.  ( C  .o  y ) ) )
1512, 14imbi12d 234 . . . . . . . . . 10  |-  ( x  =  y  ->  (
( A  e.  x  ->  ( C  .o  A
)  e.  ( C  .o  x ) )  <-> 
( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )
16 eleq2 2295 . . . . . . . . . . 11  |-  ( x  =  suc  y  -> 
( A  e.  x  <->  A  e.  suc  y ) )
17 oveq2 6036 . . . . . . . . . . . 12  |-  ( x  =  suc  y  -> 
( C  .o  x
)  =  ( C  .o  suc  y ) )
1817eleq2d 2301 . . . . . . . . . . 11  |-  ( x  =  suc  y  -> 
( ( C  .o  A )  e.  ( C  .o  x )  <-> 
( C  .o  A
)  e.  ( C  .o  suc  y ) ) )
1916, 18imbi12d 234 . . . . . . . . . 10  |-  ( x  =  suc  y  -> 
( ( A  e.  x  ->  ( C  .o  A )  e.  ( C  .o  x ) )  <->  ( A  e. 
suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y ) ) ) )
20 noel 3500 . . . . . . . . . . . 12  |-  -.  A  e.  (/)
2120pm2.21i 651 . . . . . . . . . . 11  |-  ( A  e.  (/)  ->  ( C  .o  A )  e.  ( C  .o  (/) ) )
2221a1i 9 . . . . . . . . . 10  |-  ( ( ( A  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( A  e.  (/)  ->  ( C  .o  A )  e.  ( C  .o  (/) ) ) )
23 elsuci 4506 . . . . . . . . . . . . . . . 16  |-  ( A  e.  suc  y  -> 
( A  e.  y  \/  A  =  y ) )
24 nnmcl 6692 . . . . . . . . . . . . . . . . . 18  |-  ( ( C  e.  om  /\  y  e.  om )  ->  ( C  .o  y
)  e.  om )
25 simpl 109 . . . . . . . . . . . . . . . . . 18  |-  ( ( C  e.  om  /\  y  e.  om )  ->  C  e.  om )
2624, 25jca 306 . . . . . . . . . . . . . . . . 17  |-  ( ( C  e.  om  /\  y  e.  om )  ->  ( ( C  .o  y )  e.  om  /\  C  e.  om )
)
27 nnaword1 6724 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( C  .o  y
)  e.  om  /\  C  e.  om )  ->  ( C  .o  y
)  C_  ( ( C  .o  y )  +o  C ) )
2827sseld 3227 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( C  .o  y
)  e.  om  /\  C  e.  om )  ->  ( ( C  .o  A )  e.  ( C  .o  y )  ->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
2928imim2d 54 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( C  .o  y
)  e.  om  /\  C  e.  om )  ->  ( ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) )  ->  ( A  e.  y  ->  ( C  .o  A )  e.  ( ( C  .o  y )  +o  C
) ) ) )
3029imp 124 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) )  ->  ( A  e.  y  ->  ( C  .o  A )  e.  ( ( C  .o  y )  +o  C ) ) )
3130adantrl 478 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( A  e.  y  ->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
32 nna0 6685 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( C  .o  y )  e.  om  ->  (
( C  .o  y
)  +o  (/) )  =  ( C  .o  y
) )
3332ad2antrr 488 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( ( C  .o  y )  +o  (/) )  =  ( C  .o  y ) )
34 nnaordi 6719 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( C  e.  om  /\  ( C  .o  y
)  e.  om )  ->  ( (/)  e.  C  ->  ( ( C  .o  y )  +o  (/) )  e.  ( ( C  .o  y )  +o  C
) ) )
3534ancoms 268 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( C  .o  y
)  e.  om  /\  C  e.  om )  ->  ( (/)  e.  C  ->  ( ( C  .o  y )  +o  (/) )  e.  ( ( C  .o  y )  +o  C
) ) )
3635imp 124 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( ( C  .o  y )  +o  (/) )  e.  (
( C  .o  y
)  +o  C ) )
3733, 36eqeltrrd 2309 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( C  .o  y )  e.  ( ( C  .o  y
)  +o  C ) )
38 oveq2 6036 . . . . . . . . . . . . . . . . . . . . 21  |-  ( A  =  y  ->  ( C  .o  A )  =  ( C  .o  y
) )
3938eleq1d 2300 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  =  y  ->  (
( C  .o  A
)  e.  ( ( C  .o  y )  +o  C )  <->  ( C  .o  y )  e.  ( ( C  .o  y
)  +o  C ) ) )
4037, 39syl5ibrcom 157 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( A  =  y  ->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
4140adantrr 479 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( A  =  y  ->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
4231, 41jaod 725 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( C  .o  y )  e.  om  /\  C  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( ( A  e.  y  \/  A  =  y )  ->  ( C  .o  A )  e.  ( ( C  .o  y )  +o  C
) ) )
4326, 42sylan 283 . . . . . . . . . . . . . . . 16  |-  ( ( ( C  e.  om  /\  y  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( ( A  e.  y  \/  A  =  y )  ->  ( C  .o  A )  e.  ( ( C  .o  y )  +o  C
) ) )
4423, 43syl5 32 . . . . . . . . . . . . . . 15  |-  ( ( ( C  e.  om  /\  y  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( A  e.  suc  y  ->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
45 nnmsuc 6688 . . . . . . . . . . . . . . . . 17  |-  ( ( C  e.  om  /\  y  e.  om )  ->  ( C  .o  suc  y )  =  ( ( C  .o  y
)  +o  C ) )
4645eleq2d 2301 . . . . . . . . . . . . . . . 16  |-  ( ( C  e.  om  /\  y  e.  om )  ->  ( ( C  .o  A )  e.  ( C  .o  suc  y
)  <->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
4746adantr 276 . . . . . . . . . . . . . . 15  |-  ( ( ( C  e.  om  /\  y  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( ( C  .o  A )  e.  ( C  .o  suc  y
)  <->  ( C  .o  A )  e.  ( ( C  .o  y
)  +o  C ) ) )
4844, 47sylibrd 169 . . . . . . . . . . . . . 14  |-  ( ( ( C  e.  om  /\  y  e.  om )  /\  ( (/)  e.  C  /\  ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) ) ) )  -> 
( A  e.  suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y
) ) )
4948exp43 372 . . . . . . . . . . . . 13  |-  ( C  e.  om  ->  (
y  e.  om  ->  (
(/)  e.  C  ->  ( ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) )  ->  ( A  e.  suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y ) ) ) ) ) )
5049com12 30 . . . . . . . . . . . 12  |-  ( y  e.  om  ->  ( C  e.  om  ->  (
(/)  e.  C  ->  ( ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) )  ->  ( A  e.  suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y ) ) ) ) ) )
5150adantld 278 . . . . . . . . . . 11  |-  ( y  e.  om  ->  (
( A  e.  om  /\  C  e.  om )  ->  ( (/)  e.  C  ->  ( ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) )  ->  ( A  e.  suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y ) ) ) ) ) )
5251impd 254 . . . . . . . . . 10  |-  ( y  e.  om  ->  (
( ( A  e. 
om  /\  C  e.  om )  /\  (/)  e.  C
)  ->  ( ( A  e.  y  ->  ( C  .o  A )  e.  ( C  .o  y ) )  -> 
( A  e.  suc  y  ->  ( C  .o  A )  e.  ( C  .o  suc  y
) ) ) ) )
5311, 15, 19, 22, 52finds2 4705 . . . . . . . . 9  |-  ( x  e.  om  ->  (
( ( A  e. 
om  /\  C  e.  om )  /\  (/)  e.  C
)  ->  ( A  e.  x  ->  ( C  .o  A )  e.  ( C  .o  x
) ) ) )
547, 53vtoclga 2871 . . . . . . . 8  |-  ( B  e.  om  ->  (
( ( A  e. 
om  /\  C  e.  om )  /\  (/)  e.  C
)  ->  ( A  e.  B  ->  ( C  .o  A )  e.  ( C  .o  B
) ) ) )
5554com23 78 . . . . . . 7  |-  ( B  e.  om  ->  ( A  e.  B  ->  ( ( ( A  e. 
om  /\  C  e.  om )  /\  (/)  e.  C
)  ->  ( C  .o  A )  e.  ( C  .o  B ) ) ) )
5655exp4a 366 . . . . . 6  |-  ( B  e.  om  ->  ( A  e.  B  ->  ( ( A  e.  om  /\  C  e.  om )  ->  ( (/)  e.  C  ->  ( C  .o  A
)  e.  ( C  .o  B ) ) ) ) )
5756exp4a 366 . . . . 5  |-  ( B  e.  om  ->  ( A  e.  B  ->  ( A  e.  om  ->  ( C  e.  om  ->  (
(/)  e.  C  ->  ( C  .o  A )  e.  ( C  .o  B ) ) ) ) ) )
582, 57mpdd 41 . . . 4  |-  ( B  e.  om  ->  ( A  e.  B  ->  ( C  e.  om  ->  (
(/)  e.  C  ->  ( C  .o  A )  e.  ( C  .o  B ) ) ) ) )
5958com34 83 . . 3  |-  ( B  e.  om  ->  ( A  e.  B  ->  (
(/)  e.  C  ->  ( C  e.  om  ->  ( C  .o  A )  e.  ( C  .o  B ) ) ) ) )
6059com24 87 . 2  |-  ( B  e.  om  ->  ( C  e.  om  ->  (
(/)  e.  C  ->  ( A  e.  B  -> 
( C  .o  A
)  e.  ( C  .o  B ) ) ) ) )
6160imp31 256 1  |-  ( ( ( B  e.  om  /\  C  e.  om )  /\  (/)  e.  C )  ->  ( A  e.  B  ->  ( C  .o  A )  e.  ( C  .o  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    \/ wo 716    = wceq 1398    e. wcel 2202   (/)c0 3496   suc csuc 4468   omcom 4694  (class class class)co 6028    +o coa 6622    .o comu 6623
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2204  ax-14 2205  ax-ext 2213  ax-coll 4209  ax-sep 4212  ax-nul 4220  ax-pow 4270  ax-pr 4305  ax-un 4536  ax-setind 4641  ax-iinf 4692
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2364  df-ne 2404  df-ral 2516  df-rex 2517  df-reu 2518  df-rab 2520  df-v 2805  df-sbc 3033  df-csb 3129  df-dif 3203  df-un 3205  df-in 3207  df-ss 3214  df-nul 3497  df-pw 3658  df-sn 3679  df-pr 3680  df-op 3682  df-uni 3899  df-int 3934  df-iun 3977  df-br 4094  df-opab 4156  df-mpt 4157  df-tr 4193  df-id 4396  df-iord 4469  df-on 4471  df-suc 4474  df-iom 4695  df-xp 4737  df-rel 4738  df-cnv 4739  df-co 4740  df-dm 4741  df-rn 4742  df-res 4743  df-ima 4744  df-iota 5293  df-fun 5335  df-fn 5336  df-f 5337  df-f1 5338  df-fo 5339  df-f1o 5340  df-fv 5341  df-ov 6031  df-oprab 6032  df-mpo 6033  df-1st 6312  df-2nd 6313  df-recs 6514  df-irdg 6579  df-oadd 6629  df-omul 6630
This theorem is referenced by:  nnmord  6728  nnm00  6741  mulclpi  7608
  Copyright terms: Public domain W3C validator