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

Theorem iseqf1olemab 10432
Description: Lemma for seq3f1o 10447. (Contributed by Jim Kingdon, 27-Aug-2022.)
Hypotheses
Ref Expression
iseqf1olemqcl.k  |-  ( ph  ->  K  e.  ( M ... N ) )
iseqf1olemqcl.j  |-  ( ph  ->  J : ( M ... N ) -1-1-onto-> ( M ... N ) )
iseqf1olemqcl.a  |-  ( ph  ->  A  e.  ( M ... N ) )
iseqf1olemnab.b  |-  ( ph  ->  B  e.  ( M ... N ) )
iseqf1olemnab.eq  |-  ( ph  ->  ( Q `  A
)  =  ( Q `
 B ) )
iseqf1olemnab.q  |-  Q  =  ( u  e.  ( M ... N ) 
|->  if ( u  e.  ( K ... ( `' J `  K ) ) ,  if ( u  =  K ,  K ,  ( J `  ( u  -  1 ) ) ) ,  ( J `  u
) ) )
iseqf1olemab.a  |-  ( ph  ->  A  e.  ( K ... ( `' J `  K ) ) )
iseqf1olemab.b  |-  ( ph  ->  B  e.  ( K ... ( `' J `  K ) ) )
Assertion
Ref Expression
iseqf1olemab  |-  ( ph  ->  A  =  B )
Distinct variable groups:    u, A    u, B    u, J    u, K    u, M    u, N
Allowed substitution hints:    ph( u)    Q( u)

Proof of Theorem iseqf1olemab
StepHypRef Expression
1 eqtr3 2190 . . . . 5  |-  ( ( B  =  K  /\  A  =  K )  ->  B  =  A )
21eqcomd 2176 . . . 4  |-  ( ( B  =  K  /\  A  =  K )  ->  A  =  B )
32adantll 473 . . 3  |-  ( ( ( ph  /\  B  =  K )  /\  A  =  K )  ->  A  =  B )
4 iseqf1olemqcl.a . . . . . . . 8  |-  ( ph  ->  A  e.  ( M ... N ) )
5 elfzelz 9968 . . . . . . . 8  |-  ( A  e.  ( M ... N )  ->  A  e.  ZZ )
64, 5syl 14 . . . . . . 7  |-  ( ph  ->  A  e.  ZZ )
76zred 9321 . . . . . 6  |-  ( ph  ->  A  e.  RR )
87ltm1d 8835 . . . . 5  |-  ( ph  ->  ( A  -  1 )  <  A )
98ad2antrr 485 . . . 4  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( A  -  1 )  <  A )
107ad2antrr 485 . . . . 5  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  A  e.  RR )
11 peano2rem 8173 . . . . . 6  |-  ( A  e.  RR  ->  ( A  -  1 )  e.  RR )
1210, 11syl 14 . . . . 5  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( A  -  1 )  e.  RR )
13 iseqf1olemab.a . . . . . . . 8  |-  ( ph  ->  A  e.  ( K ... ( `' J `  K ) ) )
14 elfzle2 9971 . . . . . . . 8  |-  ( A  e.  ( K ... ( `' J `  K ) )  ->  A  <_  ( `' J `  K ) )
1513, 14syl 14 . . . . . . 7  |-  ( ph  ->  A  <_  ( `' J `  K )
)
1615ad2antrr 485 . . . . . 6  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  A  <_  ( `' J `  K )
)
17 iseqf1olemqcl.k . . . . . . . . . . . 12  |-  ( ph  ->  K  e.  ( M ... N ) )
18 iseqf1olemqcl.j . . . . . . . . . . . 12  |-  ( ph  ->  J : ( M ... N ) -1-1-onto-> ( M ... N ) )
19 iseqf1olemnab.q . . . . . . . . . . . 12  |-  Q  =  ( u  e.  ( M ... N ) 
|->  if ( u  e.  ( K ... ( `' J `  K ) ) ,  if ( u  =  K ,  K ,  ( J `  ( u  -  1 ) ) ) ,  ( J `  u
) ) )
2017, 18, 4, 19iseqf1olemqval 10430 . . . . . . . . . . 11  |-  ( ph  ->  ( Q `  A
)  =  if ( A  e.  ( K ... ( `' J `  K ) ) ,  if ( A  =  K ,  K , 
( J `  ( A  -  1 ) ) ) ,  ( J `  A ) ) )
2113iftrued 3532 . . . . . . . . . . 11  |-  ( ph  ->  if ( A  e.  ( K ... ( `' J `  K ) ) ,  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) ,  ( J `  A
) )  =  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) )
2220, 21eqtrd 2203 . . . . . . . . . 10  |-  ( ph  ->  ( Q `  A
)  =  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) )
2322ad2antrr 485 . . . . . . . . 9  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A
)  =  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) )
24 iseqf1olemnab.eq . . . . . . . . . . 11  |-  ( ph  ->  ( Q `  A
)  =  ( Q `
 B ) )
2524ad2antrr 485 . . . . . . . . . 10  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A
)  =  ( Q `
 B ) )
26 iseqf1olemnab.b . . . . . . . . . . . . . 14  |-  ( ph  ->  B  e.  ( M ... N ) )
2717, 18, 26, 19iseqf1olemqval 10430 . . . . . . . . . . . . 13  |-  ( ph  ->  ( Q `  B
)  =  if ( B  e.  ( K ... ( `' J `  K ) ) ,  if ( B  =  K ,  K , 
( J `  ( B  -  1 ) ) ) ,  ( J `  B ) ) )
28 iseqf1olemab.b . . . . . . . . . . . . . 14  |-  ( ph  ->  B  e.  ( K ... ( `' J `  K ) ) )
2928iftrued 3532 . . . . . . . . . . . . 13  |-  ( ph  ->  if ( B  e.  ( K ... ( `' J `  K ) ) ,  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) ,  ( J `  B
) )  =  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) )
3027, 29eqtrd 2203 . . . . . . . . . . . 12  |-  ( ph  ->  ( Q `  B
)  =  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) )
3130ad2antrr 485 . . . . . . . . . . 11  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  B
)  =  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) )
32 simplr 525 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  B  =  K )
3332iftrued 3532 . . . . . . . . . . 11  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  if ( B  =  K ,  K , 
( J `  ( B  -  1 ) ) )  =  K )
3431, 33eqtrd 2203 . . . . . . . . . 10  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  B
)  =  K )
3525, 34eqtrd 2203 . . . . . . . . 9  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A
)  =  K )
36 simpr 109 . . . . . . . . . 10  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  -.  A  =  K )
3736iffalsed 3535 . . . . . . . . 9  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  if ( A  =  K ,  K , 
( J `  ( A  -  1 ) ) )  =  ( J `  ( A  -  1 ) ) )
3823, 35, 373eqtr3d 2211 . . . . . . . 8  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  K  =  ( J `
 ( A  - 
1 ) ) )
3938fveq2d 5498 . . . . . . 7  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( `' J `  K )  =  ( `' J `  ( J `
 ( A  - 
1 ) ) ) )
4018ad2antrr 485 . . . . . . . 8  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  J : ( M ... N ) -1-1-onto-> ( M ... N ) )
41 elfzel1 9967 . . . . . . . . . . . . 13  |-  ( K  e.  ( M ... N )  ->  M  e.  ZZ )
4217, 41syl 14 . . . . . . . . . . . 12  |-  ( ph  ->  M  e.  ZZ )
43 elfzel2 9966 . . . . . . . . . . . . 13  |-  ( K  e.  ( M ... N )  ->  N  e.  ZZ )
4417, 43syl 14 . . . . . . . . . . . 12  |-  ( ph  ->  N  e.  ZZ )
45 peano2zm 9237 . . . . . . . . . . . . 13  |-  ( A  e.  ZZ  ->  ( A  -  1 )  e.  ZZ )
466, 45syl 14 . . . . . . . . . . . 12  |-  ( ph  ->  ( A  -  1 )  e.  ZZ )
4742, 44, 463jca 1172 . . . . . . . . . . 11  |-  ( ph  ->  ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( A  -  1
)  e.  ZZ ) )
4847adantr 274 . . . . . . . . . 10  |-  ( (
ph  /\  -.  A  =  K )  ->  ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( A  -  1 )  e.  ZZ ) )
4942zred 9321 . . . . . . . . . . . . 13  |-  ( ph  ->  M  e.  RR )
5049adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  M  e.  RR )
51 elfzelz 9968 . . . . . . . . . . . . . . 15  |-  ( K  e.  ( M ... N )  ->  K  e.  ZZ )
5217, 51syl 14 . . . . . . . . . . . . . 14  |-  ( ph  ->  K  e.  ZZ )
5352zred 9321 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  RR )
5453adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  K  e.  RR )
5546zred 9321 . . . . . . . . . . . . 13  |-  ( ph  ->  ( A  -  1 )  e.  RR )
5655adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  ( A  -  1 )  e.  RR )
57 elfzle1 9970 . . . . . . . . . . . . . 14  |-  ( K  e.  ( M ... N )  ->  M  <_  K )
5817, 57syl 14 . . . . . . . . . . . . 13  |-  ( ph  ->  M  <_  K )
5958adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  M  <_  K )
60 simpr 109 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  -.  A  =  K )  ->  -.  A  =  K )
61 eqcom 2172 . . . . . . . . . . . . . . 15  |-  ( A  =  K  <->  K  =  A )
6260, 61sylnib 671 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  -.  A  =  K )  ->  -.  K  =  A )
63 elfzle1 9970 . . . . . . . . . . . . . . . . 17  |-  ( A  e.  ( K ... ( `' J `  K ) )  ->  K  <_  A )
6413, 63syl 14 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  K  <_  A )
65 zleloe 9246 . . . . . . . . . . . . . . . . 17  |-  ( ( K  e.  ZZ  /\  A  e.  ZZ )  ->  ( K  <_  A  <->  ( K  <  A  \/  K  =  A )
) )
6652, 6, 65syl2anc 409 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( K  <_  A  <->  ( K  <  A  \/  K  =  A )
) )
6764, 66mpbid 146 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( K  <  A  \/  K  =  A
) )
6867adantr 274 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  -.  A  =  K )  ->  ( K  <  A  \/  K  =  A ) )
6962, 68ecased 1344 . . . . . . . . . . . . 13  |-  ( (
ph  /\  -.  A  =  K )  ->  K  <  A )
70 zltlem1 9256 . . . . . . . . . . . . . . 15  |-  ( ( K  e.  ZZ  /\  A  e.  ZZ )  ->  ( K  <  A  <->  K  <_  ( A  - 
1 ) ) )
7152, 6, 70syl2anc 409 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( K  <  A  <->  K  <_  ( A  - 
1 ) ) )
7271adantr 274 . . . . . . . . . . . . 13  |-  ( (
ph  /\  -.  A  =  K )  ->  ( K  <  A  <->  K  <_  ( A  -  1 ) ) )
7369, 72mpbid 146 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  K  <_  ( A  -  1 ) )
7450, 54, 56, 59, 73letrd 8030 . . . . . . . . . . 11  |-  ( (
ph  /\  -.  A  =  K )  ->  M  <_  ( A  -  1 ) )
757adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  A  e.  RR )
7644zred 9321 . . . . . . . . . . . . 13  |-  ( ph  ->  N  e.  RR )
7776adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  N  e.  RR )
7875lem1d 8836 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  ( A  -  1 )  <_  A )
79 elfzle2 9971 . . . . . . . . . . . . . 14  |-  ( A  e.  ( M ... N )  ->  A  <_  N )
804, 79syl 14 . . . . . . . . . . . . 13  |-  ( ph  ->  A  <_  N )
8180adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  A  =  K )  ->  A  <_  N )
8256, 75, 77, 78, 81letrd 8030 . . . . . . . . . . 11  |-  ( (
ph  /\  -.  A  =  K )  ->  ( A  -  1 )  <_  N )
8374, 82jca 304 . . . . . . . . . 10  |-  ( (
ph  /\  -.  A  =  K )  ->  ( M  <_  ( A  - 
1 )  /\  ( A  -  1 )  <_  N ) )
84 elfz2 9959 . . . . . . . . . 10  |-  ( ( A  -  1 )  e.  ( M ... N )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( A  -  1 )  e.  ZZ )  /\  ( M  <_  ( A  - 
1 )  /\  ( A  -  1 )  <_  N ) ) )
8548, 83, 84sylanbrc 415 . . . . . . . . 9  |-  ( (
ph  /\  -.  A  =  K )  ->  ( A  -  1 )  e.  ( M ... N ) )
8685adantlr 474 . . . . . . . 8  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( A  -  1 )  e.  ( M ... N ) )
87 f1ocnvfv1 5753 . . . . . . . 8  |-  ( ( J : ( M ... N ) -1-1-onto-> ( M ... N )  /\  ( A  -  1
)  e.  ( M ... N ) )  ->  ( `' J `  ( J `  ( A  -  1 ) ) )  =  ( A  -  1 ) )
8840, 86, 87syl2anc 409 . . . . . . 7  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( `' J `  ( J `  ( A  -  1 ) ) )  =  ( A  -  1 ) )
8939, 88eqtrd 2203 . . . . . 6  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  ( `' J `  K )  =  ( A  -  1 ) )
9016, 89breqtrd 4013 . . . . 5  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  A  <_  ( A  -  1 ) )
9110, 12, 90lensymd 8028 . . . 4  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  -.  ( A  - 
1 )  <  A
)
929, 91pm2.21dd 615 . . 3  |-  ( ( ( ph  /\  B  =  K )  /\  -.  A  =  K )  ->  A  =  B )
93 zdceq 9274 . . . . . 6  |-  ( ( A  e.  ZZ  /\  K  e.  ZZ )  -> DECID  A  =  K )
946, 52, 93syl2anc 409 . . . . 5  |-  ( ph  -> DECID  A  =  K )
95 exmiddc 831 . . . . 5  |-  (DECID  A  =  K  ->  ( A  =  K  \/  -.  A  =  K )
)
9694, 95syl 14 . . . 4  |-  ( ph  ->  ( A  =  K  \/  -.  A  =  K ) )
9796adantr 274 . . 3  |-  ( (
ph  /\  B  =  K )  ->  ( A  =  K  \/  -.  A  =  K
) )
983, 92, 97mpjaodan 793 . 2  |-  ( (
ph  /\  B  =  K )  ->  A  =  B )
99 elfzelz 9968 . . . . . . . 8  |-  ( B  e.  ( M ... N )  ->  B  e.  ZZ )
10026, 99syl 14 . . . . . . 7  |-  ( ph  ->  B  e.  ZZ )
101100zred 9321 . . . . . 6  |-  ( ph  ->  B  e.  RR )
102101ltm1d 8835 . . . . 5  |-  ( ph  ->  ( B  -  1 )  <  B )
103102ad2antrr 485 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( B  -  1 )  < 
B )
104101ad2antrr 485 . . . . 5  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  B  e.  RR )
105 peano2rem 8173 . . . . . 6  |-  ( B  e.  RR  ->  ( B  -  1 )  e.  RR )
106104, 105syl 14 . . . . 5  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( B  -  1 )  e.  RR )
107 elfzle2 9971 . . . . . . . 8  |-  ( B  e.  ( K ... ( `' J `  K ) )  ->  B  <_  ( `' J `  K ) )
10828, 107syl 14 . . . . . . 7  |-  ( ph  ->  B  <_  ( `' J `  K )
)
109108ad2antrr 485 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  B  <_  ( `' J `  K ) )
11030ad2antrr 485 . . . . . . . . 9  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( Q `  B )  =  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) )
11124eqcomd 2176 . . . . . . . . . . 11  |-  ( ph  ->  ( Q `  B
)  =  ( Q `
 A ) )
112111ad2antrr 485 . . . . . . . . . 10  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( Q `  B )  =  ( Q `  A ) )
11322ad2antrr 485 . . . . . . . . . . 11  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( Q `  A )  =  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) )
114 simpr 109 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  A  =  K )
115114iftrued 3532 . . . . . . . . . . 11  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) )  =  K )
116113, 115eqtrd 2203 . . . . . . . . . 10  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( Q `  A )  =  K )
117112, 116eqtrd 2203 . . . . . . . . 9  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( Q `  B )  =  K )
118 simplr 525 . . . . . . . . . 10  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  -.  B  =  K )
119118iffalsed 3535 . . . . . . . . 9  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) )  =  ( J `  ( B  -  1 ) ) )
120110, 117, 1193eqtr3d 2211 . . . . . . . 8  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  K  =  ( J `  ( B  -  1 ) ) )
121120fveq2d 5498 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( `' J `  K )  =  ( `' J `  ( J `  ( B  -  1 ) ) ) )
12218ad2antrr 485 . . . . . . . 8  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  J :
( M ... N
)
-1-1-onto-> ( M ... N ) )
123 peano2zm 9237 . . . . . . . . . . . . 13  |-  ( B  e.  ZZ  ->  ( B  -  1 )  e.  ZZ )
124100, 123syl 14 . . . . . . . . . . . 12  |-  ( ph  ->  ( B  -  1 )  e.  ZZ )
12542, 44, 1243jca 1172 . . . . . . . . . . 11  |-  ( ph  ->  ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( B  -  1
)  e.  ZZ ) )
126125adantr 274 . . . . . . . . . 10  |-  ( (
ph  /\  -.  B  =  K )  ->  ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( B  -  1 )  e.  ZZ ) )
12749adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  B  =  K )  ->  M  e.  RR )
12853adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  B  =  K )  ->  K  e.  RR )
129101, 105syl 14 . . . . . . . . . . . . 13  |-  ( ph  ->  ( B  -  1 )  e.  RR )
130129adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  B  =  K )  ->  ( B  -  1 )  e.  RR )
13158adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  B  =  K )  ->  M  <_  K )
132 simpr 109 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  -.  B  =  K )  ->  -.  B  =  K )
133 eqcom 2172 . . . . . . . . . . . . . . 15  |-  ( B  =  K  <->  K  =  B )
134132, 133sylnib 671 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  -.  B  =  K )  ->  -.  K  =  B )
135 elfzle1 9970 . . . . . . . . . . . . . . . . 17  |-  ( B  e.  ( K ... ( `' J `  K ) )  ->  K  <_  B )
13628, 135syl 14 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  K  <_  B )
137136adantr 274 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  -.  B  =  K )  ->  K  <_  B )
138 zleloe 9246 . . . . . . . . . . . . . . . . 17  |-  ( ( K  e.  ZZ  /\  B  e.  ZZ )  ->  ( K  <_  B  <->  ( K  <  B  \/  K  =  B )
) )
13952, 100, 138syl2anc 409 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( K  <_  B  <->  ( K  <  B  \/  K  =  B )
) )
140139adantr 274 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  -.  B  =  K )  ->  ( K  <_  B  <->  ( K  <  B  \/  K  =  B ) ) )
141137, 140mpbid 146 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  -.  B  =  K )  ->  ( K  <  B  \/  K  =  B ) )
142134, 141ecased 1344 . . . . . . . . . . . . 13  |-  ( (
ph  /\  -.  B  =  K )  ->  K  <  B )
143 zltlem1 9256 . . . . . . . . . . . . . . 15  |-  ( ( K  e.  ZZ  /\  B  e.  ZZ )  ->  ( K  <  B  <->  K  <_  ( B  - 
1 ) ) )
14452, 100, 143syl2anc 409 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( K  <  B  <->  K  <_  ( B  - 
1 ) ) )
145144adantr 274 . . . . . . . . . . . . 13  |-  ( (
ph  /\  -.  B  =  K )  ->  ( K  <  B  <->  K  <_  ( B  -  1 ) ) )
146142, 145mpbid 146 . . . . . . . . . . . 12  |-  ( (
ph  /\  -.  B  =  K )  ->  K  <_  ( B  -  1 ) )
147127, 128, 130, 131, 146letrd 8030 . . . . . . . . . . 11  |-  ( (
ph  /\  -.  B  =  K )  ->  M  <_  ( B  -  1 ) )
148101lem1d 8836 . . . . . . . . . . . . 13  |-  ( ph  ->  ( B  -  1 )  <_  B )
149 elfzle2 9971 . . . . . . . . . . . . . 14  |-  ( B  e.  ( M ... N )  ->  B  <_  N )
15026, 149syl 14 . . . . . . . . . . . . 13  |-  ( ph  ->  B  <_  N )
151129, 101, 76, 148, 150letrd 8030 . . . . . . . . . . . 12  |-  ( ph  ->  ( B  -  1 )  <_  N )
152151adantr 274 . . . . . . . . . . 11  |-  ( (
ph  /\  -.  B  =  K )  ->  ( B  -  1 )  <_  N )
153147, 152jca 304 . . . . . . . . . 10  |-  ( (
ph  /\  -.  B  =  K )  ->  ( M  <_  ( B  - 
1 )  /\  ( B  -  1 )  <_  N ) )
154 elfz2 9959 . . . . . . . . . 10  |-  ( ( B  -  1 )  e.  ( M ... N )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  ( B  -  1 )  e.  ZZ )  /\  ( M  <_  ( B  - 
1 )  /\  ( B  -  1 )  <_  N ) ) )
155126, 153, 154sylanbrc 415 . . . . . . . . 9  |-  ( (
ph  /\  -.  B  =  K )  ->  ( B  -  1 )  e.  ( M ... N ) )
156155adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( B  -  1 )  e.  ( M ... N
) )
157 f1ocnvfv1 5753 . . . . . . . 8  |-  ( ( J : ( M ... N ) -1-1-onto-> ( M ... N )  /\  ( B  -  1
)  e.  ( M ... N ) )  ->  ( `' J `  ( J `  ( B  -  1 ) ) )  =  ( B  -  1 ) )
158122, 156, 157syl2anc 409 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( `' J `  ( J `  ( B  -  1 ) ) )  =  ( B  -  1 ) )
159121, 158eqtrd 2203 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  ( `' J `  K )  =  ( B  - 
1 ) )
160109, 159breqtrd 4013 . . . . 5  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  B  <_  ( B  -  1 ) )
161104, 106, 160lensymd 8028 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  -.  ( B  -  1 )  <  B )
162103, 161pm2.21dd 615 . . 3  |-  ( ( ( ph  /\  -.  B  =  K )  /\  A  =  K
)  ->  A  =  B )
1636zcnd 9322 . . . . 5  |-  ( ph  ->  A  e.  CC )
164163ad2antrr 485 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  A  e.  CC )
165100zcnd 9322 . . . . 5  |-  ( ph  ->  B  e.  CC )
166165ad2antrr 485 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  B  e.  CC )
167 1cnd 7923 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  1  e.  CC )
16824ad2antrr 485 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A )  =  ( Q `  B ) )
16922ad2antrr 485 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A )  =  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) ) )
170 simpr 109 . . . . . . . 8  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  -.  A  =  K )
171170iffalsed 3535 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  if ( A  =  K ,  K ,  ( J `  ( A  -  1 ) ) )  =  ( J `  ( A  -  1 ) ) )
172169, 171eqtrd 2203 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  A )  =  ( J `  ( A  -  1 ) ) )
17330ad2antrr 485 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  B )  =  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) ) )
174 simplr 525 . . . . . . . 8  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  -.  B  =  K )
175174iffalsed 3535 . . . . . . 7  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  if ( B  =  K ,  K ,  ( J `  ( B  -  1 ) ) )  =  ( J `  ( B  -  1 ) ) )
176173, 175eqtrd 2203 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( Q `  B )  =  ( J `  ( B  -  1 ) ) )
177168, 172, 1763eqtr3d 2211 . . . . 5  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( J `  ( A  -  1 ) )  =  ( J `  ( B  -  1 ) ) )
178 f1of1 5439 . . . . . . . 8  |-  ( J : ( M ... N ) -1-1-onto-> ( M ... N
)  ->  J :
( M ... N
) -1-1-> ( M ... N ) )
17918, 178syl 14 . . . . . . 7  |-  ( ph  ->  J : ( M ... N ) -1-1-> ( M ... N ) )
180179ad2antrr 485 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  J :
( M ... N
) -1-1-> ( M ... N ) )
18185adantlr 474 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( A  -  1 )  e.  ( M ... N
) )
182155adantr 274 . . . . . 6  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( B  -  1 )  e.  ( M ... N
) )
183 f1veqaeq 5745 . . . . . 6  |-  ( ( J : ( M ... N ) -1-1-> ( M ... N )  /\  ( ( A  -  1 )  e.  ( M ... N
)  /\  ( B  -  1 )  e.  ( M ... N
) ) )  -> 
( ( J `  ( A  -  1
) )  =  ( J `  ( B  -  1 ) )  ->  ( A  - 
1 )  =  ( B  -  1 ) ) )
184180, 181, 182, 183syl12anc 1231 . . . . 5  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( ( J `  ( A  -  1 ) )  =  ( J `  ( B  -  1
) )  ->  ( A  -  1 )  =  ( B  - 
1 ) ) )
185177, 184mpd 13 . . . 4  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  ( A  -  1 )  =  ( B  -  1 ) )
186164, 166, 167, 185subcan2d 8259 . . 3  |-  ( ( ( ph  /\  -.  B  =  K )  /\  -.  A  =  K )  ->  A  =  B )
18796adantr 274 . . 3  |-  ( (
ph  /\  -.  B  =  K )  ->  ( A  =  K  \/  -.  A  =  K
) )
188162, 186, 187mpjaodan 793 . 2  |-  ( (
ph  /\  -.  B  =  K )  ->  A  =  B )
189 zdceq 9274 . . . 4  |-  ( ( B  e.  ZZ  /\  K  e.  ZZ )  -> DECID  B  =  K )
190100, 52, 189syl2anc 409 . . 3  |-  ( ph  -> DECID  B  =  K )
191 exmiddc 831 . . 3  |-  (DECID  B  =  K  ->  ( B  =  K  \/  -.  B  =  K )
)
192190, 191syl 14 . 2  |-  ( ph  ->  ( B  =  K  \/  -.  B  =  K ) )
19398, 188, 192mpjaodan 793 1  |-  ( ph  ->  A  =  B )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 703  DECID wdc 829    /\ w3a 973    = wceq 1348    e. wcel 2141   ifcif 3525   class class class wbr 3987    |-> cmpt 4048   `'ccnv 4608   -1-1->wf1 5193   -1-1-onto->wf1o 5195   ` cfv 5196  (class class class)co 5850   CCcc 7759   RRcr 7760   1c1 7762    < clt 7941    <_ cle 7942    - cmin 8077   ZZcz 9199   ...cfz 9952
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4105  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-cnex 7852  ax-resscn 7853  ax-1cn 7854  ax-1re 7855  ax-icn 7856  ax-addcl 7857  ax-addrcl 7858  ax-mulcl 7859  ax-addcom 7861  ax-addass 7863  ax-distr 7865  ax-i2m1 7866  ax-0lt1 7867  ax-0id 7869  ax-rnegex 7870  ax-cnre 7872  ax-pre-ltirr 7873  ax-pre-ltwlin 7874  ax-pre-lttrn 7875  ax-pre-ltadd 7877
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-if 3526  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-br 3988  df-opab 4049  df-mpt 4050  df-id 4276  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-riota 5806  df-ov 5853  df-oprab 5854  df-mpo 5855  df-pnf 7943  df-mnf 7944  df-xr 7945  df-ltxr 7946  df-le 7947  df-sub 8079  df-neg 8080  df-inn 8866  df-n0 9123  df-z 9200  df-uz 9475  df-fz 9953
This theorem is referenced by:  iseqf1olemmo  10435
  Copyright terms: Public domain W3C validator