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

Theorem fidcenumlemrk 6919
Description: Lemma for fidcenum 6921. (Contributed by Jim Kingdon, 20-Oct-2022.)
Hypotheses
Ref Expression
fidcenumlemr.dc  |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )
fidcenumlemr.f  |-  ( ph  ->  F : N -onto-> A
)
fidcenumlemrk.k  |-  ( ph  ->  K  e.  om )
fidcenumlemrk.kn  |-  ( ph  ->  K  C_  N )
fidcenumlemrk.x  |-  ( ph  ->  X  e.  A )
Assertion
Ref Expression
fidcenumlemrk  |-  ( ph  ->  ( X  e.  ( F " K )  \/  -.  X  e.  ( F " K
) ) )
Distinct variable groups:    x, F, y   
x, X, y    x, A, y
Allowed substitution hints:    ph( x, y)    K( x, y)    N( x, y)

Proof of Theorem fidcenumlemrk
Dummy variables  j  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fidcenumlemrk.k . 2  |-  ( ph  ->  K  e.  om )
2 fidcenumlemrk.kn . . 3  |-  ( ph  ->  K  C_  N )
32ancli 321 . 2  |-  ( ph  ->  ( ph  /\  K  C_  N ) )
4 sseq1 3165 . . . . 5  |-  ( w  =  (/)  ->  ( w 
C_  N  <->  (/)  C_  N
) )
54anbi2d 460 . . . 4  |-  ( w  =  (/)  ->  ( (
ph  /\  w  C_  N
)  <->  ( ph  /\  (/)  C_  N ) ) )
6 imaeq2 4942 . . . . . 6  |-  ( w  =  (/)  ->  ( F
" w )  =  ( F " (/) ) )
76eleq2d 2236 . . . . 5  |-  ( w  =  (/)  ->  ( X  e.  ( F "
w )  <->  X  e.  ( F " (/) ) ) )
87notbid 657 . . . . 5  |-  ( w  =  (/)  ->  ( -.  X  e.  ( F
" w )  <->  -.  X  e.  ( F " (/) ) ) )
97, 8orbi12d 783 . . . 4  |-  ( w  =  (/)  ->  ( ( X  e.  ( F
" w )  \/ 
-.  X  e.  ( F " w ) )  <->  ( X  e.  ( F " (/) )  \/ 
-.  X  e.  ( F " (/) ) ) ) )
105, 9imbi12d 233 . . 3  |-  ( w  =  (/)  ->  ( ( ( ph  /\  w  C_  N )  ->  ( X  e.  ( F " w )  \/  -.  X  e.  ( F " w ) ) )  <-> 
( ( ph  /\  (/)  C_  N )  ->  ( X  e.  ( F "
(/) )  \/  -.  X  e.  ( F "
(/) ) ) ) ) )
11 sseq1 3165 . . . . 5  |-  ( w  =  j  ->  (
w  C_  N  <->  j  C_  N ) )
1211anbi2d 460 . . . 4  |-  ( w  =  j  ->  (
( ph  /\  w  C_  N )  <->  ( ph  /\  j  C_  N )
) )
13 imaeq2 4942 . . . . . 6  |-  ( w  =  j  ->  ( F " w )  =  ( F " j
) )
1413eleq2d 2236 . . . . 5  |-  ( w  =  j  ->  ( X  e.  ( F " w )  <->  X  e.  ( F " j ) ) )
1514notbid 657 . . . . 5  |-  ( w  =  j  ->  ( -.  X  e.  ( F " w )  <->  -.  X  e.  ( F " j
) ) )
1614, 15orbi12d 783 . . . 4  |-  ( w  =  j  ->  (
( X  e.  ( F " w )  \/  -.  X  e.  ( F " w
) )  <->  ( X  e.  ( F " j
)  \/  -.  X  e.  ( F " j
) ) ) )
1712, 16imbi12d 233 . . 3  |-  ( w  =  j  ->  (
( ( ph  /\  w  C_  N )  -> 
( X  e.  ( F " w )  \/  -.  X  e.  ( F " w
) ) )  <->  ( ( ph  /\  j  C_  N
)  ->  ( X  e.  ( F " j
)  \/  -.  X  e.  ( F " j
) ) ) ) )
18 sseq1 3165 . . . . 5  |-  ( w  =  suc  j  -> 
( w  C_  N  <->  suc  j  C_  N )
)
1918anbi2d 460 . . . 4  |-  ( w  =  suc  j  -> 
( ( ph  /\  w  C_  N )  <->  ( ph  /\ 
suc  j  C_  N
) ) )
20 imaeq2 4942 . . . . . 6  |-  ( w  =  suc  j  -> 
( F " w
)  =  ( F
" suc  j )
)
2120eleq2d 2236 . . . . 5  |-  ( w  =  suc  j  -> 
( X  e.  ( F " w )  <-> 
X  e.  ( F
" suc  j )
) )
2221notbid 657 . . . . 5  |-  ( w  =  suc  j  -> 
( -.  X  e.  ( F " w
)  <->  -.  X  e.  ( F " suc  j
) ) )
2321, 22orbi12d 783 . . . 4  |-  ( w  =  suc  j  -> 
( ( X  e.  ( F " w
)  \/  -.  X  e.  ( F " w
) )  <->  ( X  e.  ( F " suc  j )  \/  -.  X  e.  ( F " suc  j ) ) ) )
2419, 23imbi12d 233 . . 3  |-  ( w  =  suc  j  -> 
( ( ( ph  /\  w  C_  N )  ->  ( X  e.  ( F " w )  \/  -.  X  e.  ( F " w
) ) )  <->  ( ( ph  /\  suc  j  C_  N )  ->  ( X  e.  ( F " suc  j )  \/ 
-.  X  e.  ( F " suc  j
) ) ) ) )
25 sseq1 3165 . . . . 5  |-  ( w  =  K  ->  (
w  C_  N  <->  K  C_  N
) )
2625anbi2d 460 . . . 4  |-  ( w  =  K  ->  (
( ph  /\  w  C_  N )  <->  ( ph  /\  K  C_  N )
) )
27 imaeq2 4942 . . . . . 6  |-  ( w  =  K  ->  ( F " w )  =  ( F " K
) )
2827eleq2d 2236 . . . . 5  |-  ( w  =  K  ->  ( X  e.  ( F " w )  <->  X  e.  ( F " K ) ) )
2928notbid 657 . . . . 5  |-  ( w  =  K  ->  ( -.  X  e.  ( F " w )  <->  -.  X  e.  ( F " K
) ) )
3028, 29orbi12d 783 . . . 4  |-  ( w  =  K  ->  (
( X  e.  ( F " w )  \/  -.  X  e.  ( F " w
) )  <->  ( X  e.  ( F " K
)  \/  -.  X  e.  ( F " K
) ) ) )
3126, 30imbi12d 233 . . 3  |-  ( w  =  K  ->  (
( ( ph  /\  w  C_  N )  -> 
( X  e.  ( F " w )  \/  -.  X  e.  ( F " w
) ) )  <->  ( ( ph  /\  K  C_  N
)  ->  ( X  e.  ( F " K
)  \/  -.  X  e.  ( F " K
) ) ) ) )
32 noel 3413 . . . . . 6  |-  -.  X  e.  (/)
33 ima0 4963 . . . . . . 7  |-  ( F
" (/) )  =  (/)
3433eleq2i 2233 . . . . . 6  |-  ( X  e.  ( F " (/) )  <->  X  e.  (/) )
3532, 34mtbir 661 . . . . 5  |-  -.  X  e.  ( F " (/) )
3635a1i 9 . . . 4  |-  ( (
ph  /\  (/)  C_  N
)  ->  -.  X  e.  ( F " (/) ) )
3736olcd 724 . . 3  |-  ( (
ph  /\  (/)  C_  N
)  ->  ( X  e.  ( F " (/) )  \/ 
-.  X  e.  ( F " (/) ) ) )
38 fidcenumlemr.dc . . . . . 6  |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )
3938ad2antrl 482 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y
)
40 fidcenumlemr.f . . . . . 6  |-  ( ph  ->  F : N -onto-> A
)
4140ad2antrl 482 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  F : N -onto-> A )
42 simpll 519 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  j  e.  om )
43 simprr 522 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  suc  j  C_  N )
44 simprl 521 . . . . . 6  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  ph )
45 sssucid 4393 . . . . . . 7  |-  j  C_  suc  j
4645, 43sstrid 3153 . . . . . 6  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  j  C_  N )
47 simplr 520 . . . . . 6  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  ( ( ph  /\  j  C_  N
)  ->  ( X  e.  ( F " j
)  \/  -.  X  e.  ( F " j
) ) ) )
4844, 46, 47mp2and 430 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  ( X  e.  ( F " j
)  \/  -.  X  e.  ( F " j
) ) )
49 fidcenumlemrk.x . . . . . 6  |-  ( ph  ->  X  e.  A )
5049ad2antrl 482 . . . . 5  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  X  e.  A )
5139, 41, 42, 43, 48, 50fidcenumlemrks 6918 . . . 4  |-  ( ( ( j  e.  om  /\  ( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) ) )  /\  ( ph  /\  suc  j  C_  N ) )  ->  ( X  e.  ( F " suc  j )  \/  -.  X  e.  ( F " suc  j ) ) )
5251exp31 362 . . 3  |-  ( j  e.  om  ->  (
( ( ph  /\  j  C_  N )  -> 
( X  e.  ( F " j )  \/  -.  X  e.  ( F " j
) ) )  -> 
( ( ph  /\  suc  j  C_  N )  ->  ( X  e.  ( F " suc  j )  \/  -.  X  e.  ( F " suc  j ) ) ) ) )
5310, 17, 24, 31, 37, 52finds 4577 . 2  |-  ( K  e.  om  ->  (
( ph  /\  K  C_  N )  ->  ( X  e.  ( F " K )  \/  -.  X  e.  ( F " K ) ) ) )
541, 3, 53sylc 62 1  |-  ( ph  ->  ( X  e.  ( F " K )  \/  -.  X  e.  ( F " K
) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    \/ wo 698  DECID wdc 824    = wceq 1343    e. wcel 2136   A.wral 2444    C_ wss 3116   (/)c0 3409   suc csuc 4343   omcom 4567   "cima 4607   -onto->wfo 5186
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 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-id 4271  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-fo 5194  df-fv 5196
This theorem is referenced by:  fidcenumlemr  6920  ennnfonelemdc  12332
  Copyright terms: Public domain W3C validator