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

Theorem 2lgslem3a 16224
Description: Lemma for 2lgslem3a1 16228. (Contributed by AV, 14-Jul-2021.)
Hypothesis
Ref Expression
2lgslem2.n  |-  N  =  ( ( ( P  -  1 )  / 
2 )  -  ( |_ `  ( P  / 
4 ) ) )
Assertion
Ref Expression
2lgslem3a  |-  ( ( K  e.  NN0  /\  P  =  ( (
8  x.  K )  +  1 ) )  ->  N  =  ( 2  x.  K ) )

Proof of Theorem 2lgslem3a
StepHypRef Expression
1 2lgslem2.n . . 3  |-  N  =  ( ( ( P  -  1 )  / 
2 )  -  ( |_ `  ( P  / 
4 ) ) )
2 oveq1 6092 . . . . 5  |-  ( P  =  ( ( 8  x.  K )  +  1 )  ->  ( P  -  1 )  =  ( ( ( 8  x.  K )  +  1 )  - 
1 ) )
32oveq1d 6100 . . . 4  |-  ( P  =  ( ( 8  x.  K )  +  1 )  ->  (
( P  -  1 )  /  2 )  =  ( ( ( ( 8  x.  K
)  +  1 )  -  1 )  / 
2 ) )
4 fvoveq1 6108 . . . 4  |-  ( P  =  ( ( 8  x.  K )  +  1 )  ->  ( |_ `  ( P  / 
4 ) )  =  ( |_ `  (
( ( 8  x.  K )  +  1 )  /  4 ) ) )
53, 4oveq12d 6103 . . 3  |-  ( P  =  ( ( 8  x.  K )  +  1 )  ->  (
( ( P  - 
1 )  /  2
)  -  ( |_
`  ( P  / 
4 ) ) )  =  ( ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  -  ( |_ `  ( ( ( 8  x.  K
)  +  1 )  /  4 ) ) ) )
61, 5eqtrid 2283 . 2  |-  ( P  =  ( ( 8  x.  K )  +  1 )  ->  N  =  ( ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  -  ( |_ `  ( ( ( 8  x.  K
)  +  1 )  /  4 ) ) ) )
7 8nn0 9588 . . . . . . . . . 10  |-  8  e.  NN0
87a1i 9 . . . . . . . . 9  |-  ( K  e.  NN0  ->  8  e. 
NN0 )
9 id 19 . . . . . . . . 9  |-  ( K  e.  NN0  ->  K  e. 
NN0 )
108, 9nn0mulcld 9627 . . . . . . . 8  |-  ( K  e.  NN0  ->  ( 8  x.  K )  e. 
NN0 )
1110nn0cnd 9624 . . . . . . 7  |-  ( K  e.  NN0  ->  ( 8  x.  K )  e.  CC )
12 pncan1 8704 . . . . . . 7  |-  ( ( 8  x.  K )  e.  CC  ->  (
( ( 8  x.  K )  +  1 )  -  1 )  =  ( 8  x.  K ) )
1311, 12syl 14 . . . . . 6  |-  ( K  e.  NN0  ->  ( ( ( 8  x.  K
)  +  1 )  -  1 )  =  ( 8  x.  K
) )
1413oveq1d 6100 . . . . 5  |-  ( K  e.  NN0  ->  ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  =  ( ( 8  x.  K )  /  2
) )
15 4cn 9383 . . . . . . . . . . 11  |-  4  e.  CC
16 2cn 9376 . . . . . . . . . . 11  |-  2  e.  CC
17 4t2e8 9465 . . . . . . . . . . 11  |-  ( 4  x.  2 )  =  8
1815, 16, 17mulcomli 8333 . . . . . . . . . 10  |-  ( 2  x.  4 )  =  8
1918eqcomi 2242 . . . . . . . . 9  |-  8  =  ( 2  x.  4 )
2019a1i 9 . . . . . . . 8  |-  ( K  e.  NN0  ->  8  =  ( 2  x.  4 ) )
2120oveq1d 6100 . . . . . . 7  |-  ( K  e.  NN0  ->  ( 8  x.  K )  =  ( ( 2  x.  4 )  x.  K
) )
2216a1i 9 . . . . . . . 8  |-  ( K  e.  NN0  ->  2  e.  CC )
2315a1i 9 . . . . . . . 8  |-  ( K  e.  NN0  ->  4  e.  CC )
24 nn0cn 9575 . . . . . . . 8  |-  ( K  e.  NN0  ->  K  e.  CC )
2522, 23, 24mulassd 8349 . . . . . . 7  |-  ( K  e.  NN0  ->  ( ( 2  x.  4 )  x.  K )  =  ( 2  x.  (
4  x.  K ) ) )
2621, 25eqtrd 2271 . . . . . 6  |-  ( K  e.  NN0  ->  ( 8  x.  K )  =  ( 2  x.  (
4  x.  K ) ) )
2726oveq1d 6100 . . . . 5  |-  ( K  e.  NN0  ->  ( ( 8  x.  K )  /  2 )  =  ( ( 2  x.  ( 4  x.  K
) )  /  2
) )
28 4nn0 9584 . . . . . . . . 9  |-  4  e.  NN0
2928a1i 9 . . . . . . . 8  |-  ( K  e.  NN0  ->  4  e. 
NN0 )
3029, 9nn0mulcld 9627 . . . . . . 7  |-  ( K  e.  NN0  ->  ( 4  x.  K )  e. 
NN0 )
3130nn0cnd 9624 . . . . . 6  |-  ( K  e.  NN0  ->  ( 4  x.  K )  e.  CC )
32 2ap0 9398 . . . . . . 7  |-  2 #  0
3332a1i 9 . . . . . 6  |-  ( K  e.  NN0  ->  2 #  0 )
3431, 22, 33divcanap3d 9126 . . . . 5  |-  ( K  e.  NN0  ->  ( ( 2  x.  ( 4  x.  K ) )  /  2 )  =  ( 4  x.  K
) )
3514, 27, 343eqtrd 2275 . . . 4  |-  ( K  e.  NN0  ->  ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  =  ( 4  x.  K
) )
36 1cnd 8342 . . . . . . . 8  |-  ( K  e.  NN0  ->  1  e.  CC )
37 4ap0 9404 . . . . . . . . 9  |-  4 #  0
3837a1i 9 . . . . . . . 8  |-  ( K  e.  NN0  ->  4 #  0 )
3911, 36, 23, 38divdirapd 9160 . . . . . . 7  |-  ( K  e.  NN0  ->  ( ( ( 8  x.  K
)  +  1 )  /  4 )  =  ( ( ( 8  x.  K )  / 
4 )  +  ( 1  /  4 ) ) )
40 8cn 9391 . . . . . . . . . . 11  |-  8  e.  CC
4140a1i 9 . . . . . . . . . 10  |-  ( K  e.  NN0  ->  8  e.  CC )
4241, 24, 23, 38div23apd 9159 . . . . . . . . 9  |-  ( K  e.  NN0  ->  ( ( 8  x.  K )  /  4 )  =  ( ( 8  / 
4 )  x.  K
) )
4317eqcomi 2242 . . . . . . . . . . . . 13  |-  8  =  ( 4  x.  2 )
4443oveq1i 6095 . . . . . . . . . . . 12  |-  ( 8  /  4 )  =  ( ( 4  x.  2 )  /  4
)
4516, 15, 37divcanap3i 9089 . . . . . . . . . . . 12  |-  ( ( 4  x.  2 )  /  4 )  =  2
4644, 45eqtri 2259 . . . . . . . . . . 11  |-  ( 8  /  4 )  =  2
4746a1i 9 . . . . . . . . . 10  |-  ( K  e.  NN0  ->  ( 8  /  4 )  =  2 )
4847oveq1d 6100 . . . . . . . . 9  |-  ( K  e.  NN0  ->  ( ( 8  /  4 )  x.  K )  =  ( 2  x.  K
) )
4942, 48eqtrd 2271 . . . . . . . 8  |-  ( K  e.  NN0  ->  ( ( 8  x.  K )  /  4 )  =  ( 2  x.  K
) )
5049oveq1d 6100 . . . . . . 7  |-  ( K  e.  NN0  ->  ( ( ( 8  x.  K
)  /  4 )  +  ( 1  / 
4 ) )  =  ( ( 2  x.  K )  +  ( 1  /  4 ) ) )
5139, 50eqtrd 2271 . . . . . 6  |-  ( K  e.  NN0  ->  ( ( ( 8  x.  K
)  +  1 )  /  4 )  =  ( ( 2  x.  K )  +  ( 1  /  4 ) ) )
5251fveq2d 5699 . . . . 5  |-  ( K  e.  NN0  ->  ( |_
`  ( ( ( 8  x.  K )  +  1 )  / 
4 ) )  =  ( |_ `  (
( 2  x.  K
)  +  ( 1  /  4 ) ) ) )
53 1lt4 9481 . . . . . 6  |-  1  <  4
54 2nn0 9582 . . . . . . . . . 10  |-  2  e.  NN0
5554a1i 9 . . . . . . . . 9  |-  ( K  e.  NN0  ->  2  e. 
NN0 )
5655, 9nn0mulcld 9627 . . . . . . . 8  |-  ( K  e.  NN0  ->  ( 2  x.  K )  e. 
NN0 )
5756nn0zd 9768 . . . . . . 7  |-  ( K  e.  NN0  ->  ( 2  x.  K )  e.  ZZ )
58 1nn0 9581 . . . . . . . 8  |-  1  e.  NN0
5958a1i 9 . . . . . . 7  |-  ( K  e.  NN0  ->  1  e. 
NN0 )
60 4nn 9470 . . . . . . . 8  |-  4  e.  NN
6160a1i 9 . . . . . . 7  |-  ( K  e.  NN0  ->  4  e.  NN )
62 adddivflid 10729 . . . . . . 7  |-  ( ( ( 2  x.  K
)  e.  ZZ  /\  1  e.  NN0  /\  4  e.  NN )  ->  (
1  <  4  <->  ( |_ `  ( ( 2  x.  K )  +  ( 1  /  4 ) ) )  =  ( 2  x.  K ) ) )
6357, 59, 61, 62syl3anc 1278 . . . . . 6  |-  ( K  e.  NN0  ->  ( 1  <  4  <->  ( |_ `  ( ( 2  x.  K )  +  ( 1  /  4 ) ) )  =  ( 2  x.  K ) ) )
6453, 63mpbii 148 . . . . 5  |-  ( K  e.  NN0  ->  ( |_
`  ( ( 2  x.  K )  +  ( 1  /  4
) ) )  =  ( 2  x.  K
) )
6552, 64eqtrd 2271 . . . 4  |-  ( K  e.  NN0  ->  ( |_
`  ( ( ( 8  x.  K )  +  1 )  / 
4 ) )  =  ( 2  x.  K
) )
6635, 65oveq12d 6103 . . 3  |-  ( K  e.  NN0  ->  ( ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  -  ( |_ `  ( ( ( 8  x.  K )  +  1 )  /  4
) ) )  =  ( ( 4  x.  K )  -  (
2  x.  K ) ) )
67 2t2e4 9460 . . . . . . . 8  |-  ( 2  x.  2 )  =  4
6867eqcomi 2242 . . . . . . 7  |-  4  =  ( 2  x.  2 )
6968a1i 9 . . . . . 6  |-  ( K  e.  NN0  ->  4  =  ( 2  x.  2 ) )
7069oveq1d 6100 . . . . 5  |-  ( K  e.  NN0  ->  ( 4  x.  K )  =  ( ( 2  x.  2 )  x.  K
) )
7122, 22, 24mulassd 8349 . . . . 5  |-  ( K  e.  NN0  ->  ( ( 2  x.  2 )  x.  K )  =  ( 2  x.  (
2  x.  K ) ) )
7270, 71eqtrd 2271 . . . 4  |-  ( K  e.  NN0  ->  ( 4  x.  K )  =  ( 2  x.  (
2  x.  K ) ) )
7372oveq1d 6100 . . 3  |-  ( K  e.  NN0  ->  ( ( 4  x.  K )  -  ( 2  x.  K ) )  =  ( ( 2  x.  ( 2  x.  K
) )  -  (
2  x.  K ) ) )
7456nn0cnd 9624 . . . 4  |-  ( K  e.  NN0  ->  ( 2  x.  K )  e.  CC )
75 2txmxeqx 9437 . . . 4  |-  ( ( 2  x.  K )  e.  CC  ->  (
( 2  x.  (
2  x.  K ) )  -  ( 2  x.  K ) )  =  ( 2  x.  K ) )
7674, 75syl 14 . . 3  |-  ( K  e.  NN0  ->  ( ( 2  x.  ( 2  x.  K ) )  -  ( 2  x.  K ) )  =  ( 2  x.  K
) )
7766, 73, 763eqtrd 2275 . 2  |-  ( K  e.  NN0  ->  ( ( ( ( ( 8  x.  K )  +  1 )  -  1 )  /  2 )  -  ( |_ `  ( ( ( 8  x.  K )  +  1 )  /  4
) ) )  =  ( 2  x.  K
) )
786, 77sylan9eqr 2293 1  |-  ( ( K  e.  NN0  /\  P  =  ( (
8  x.  K )  +  1 ) )  ->  N  =  ( 2  x.  K ) )
Colors of variables:    wff set class
This proof depends on syntax axioms:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1402    e. wcel 2209   class class class wbr 4130   ` cfv 5377  (class class class)co 6085   CCcc 8177   0cc0 8179   1c1 8180    + caddc 8182    x. cmul 8184    < clt 8360    - cmin 8497   # cap 8910    / cdiv 9003   NNcn 9305   2c2 9356   4c4 9358   8c8 9362   NN0cn0 9565   ZZcz 9646   |_cfl 10705
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-mulrcl 8278  ax-addcom 8279  ax-mulcom 8280  ax-addass 8281  ax-mulass 8282  ax-distr 8283  ax-i2m1 8284  ax-0lt1 8285  ax-1rid 8286  ax-0id 8287  ax-rnegex 8288  ax-precex 8289  ax-cnre 8290  ax-pre-ltirr 8291  ax-pre-ltwlin 8292  ax-pre-lttrn 8293  ax-pre-apti 8294  ax-pre-ltadd 8295  ax-pre-mulgt0 8296  ax-pre-mulext 8297  ax-arch 8298
This proof depends on definitions:  df-bi 117  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rmo 2536  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-po 4441  df-iso 4442  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-1st 6374  df-2nd 6375  df-pnf 8362  df-mnf 8363  df-xr 8364  df-ltxr 8365  df-le 8366  df-sub 8499  df-neg 8500  df-reap 8904  df-ap 8911  df-div 9004  df-inn 9306  df-2 9364  df-3 9365  df-4 9366  df-5 9367  df-6 9368  df-7 9369  df-8 9370  df-n0 9566  df-z 9647  df-q 10022  df-rp 10057  df-fl 10707
This theorem is used by:  2lgslem3a1  16228
  Copyright terms: Public domain W3C validator