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

Theorem ctiunctlemudc 12392
Description: Lemma for ctiunct 12395. (Contributed by Jim Kingdon, 28-Oct-2023.)
Hypotheses
Ref Expression
ctiunct.som  |-  ( ph  ->  S  C_  om )
ctiunct.sdc  |-  ( ph  ->  A. n  e.  om DECID  n  e.  S )
ctiunct.f  |-  ( ph  ->  F : S -onto-> A
)
ctiunct.tom  |-  ( (
ph  /\  x  e.  A )  ->  T  C_ 
om )
ctiunct.tdc  |-  ( (
ph  /\  x  e.  A )  ->  A. n  e.  om DECID  n  e.  T )
ctiunct.g  |-  ( (
ph  /\  x  e.  A )  ->  G : T -onto-> B )
ctiunct.j  |-  ( ph  ->  J : om -1-1-onto-> ( om  X.  om ) )
ctiunct.u  |-  U  =  { z  e.  om  |  ( ( 1st `  ( J `  z
) )  e.  S  /\  ( 2nd `  ( J `  z )
)  e.  [_ ( F `  ( 1st `  ( J `  z
) ) )  /  x ]_ T ) }
Assertion
Ref Expression
ctiunctlemudc  |-  ( ph  ->  A. n  e.  om DECID  n  e.  U )
Distinct variable groups:    x, A    n, F, x    z, F, x   
n, J, x    z, J    S, n    z, S    T, n    z, T    U, n    ph, x
Allowed substitution hints:    ph( z, n)    A( z, n)    B( x, z, n)    S( x)    T( x)    U( x, z)    G( x, z, n)

Proof of Theorem ctiunctlemudc
Dummy variable  m is distinct from all other variables.
StepHypRef Expression
1 eleq1 2233 . . . . . . . . 9  |-  ( n  =  ( 1st `  ( J `  m )
)  ->  ( n  e.  S  <->  ( 1st `  ( J `  m )
)  e.  S ) )
21dcbid 833 . . . . . . . 8  |-  ( n  =  ( 1st `  ( J `  m )
)  ->  (DECID  n  e.  S 
<-> DECID  ( 1st `  ( J `
 m ) )  e.  S ) )
3 ctiunct.sdc . . . . . . . . 9  |-  ( ph  ->  A. n  e.  om DECID  n  e.  S )
43adantr 274 . . . . . . . 8  |-  ( (
ph  /\  m  e.  om )  ->  A. n  e.  om DECID  n  e.  S )
5 ctiunct.j . . . . . . . . . . . 12  |-  ( ph  ->  J : om -1-1-onto-> ( om  X.  om ) )
65adantr 274 . . . . . . . . . . 11  |-  ( (
ph  /\  m  e.  om )  ->  J : om
-1-1-onto-> ( om  X.  om )
)
7 f1of 5442 . . . . . . . . . . 11  |-  ( J : om -1-1-onto-> ( om  X.  om )  ->  J : om --> ( om  X.  om )
)
86, 7syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  m  e.  om )  ->  J : om
--> ( om  X.  om ) )
9 simpr 109 . . . . . . . . . 10  |-  ( (
ph  /\  m  e.  om )  ->  m  e.  om )
108, 9ffvelrnd 5632 . . . . . . . . 9  |-  ( (
ph  /\  m  e.  om )  ->  ( J `  m )  e.  ( om  X.  om )
)
11 xp1st 6144 . . . . . . . . 9  |-  ( ( J `  m )  e.  ( om  X.  om )  ->  ( 1st `  ( J `  m
) )  e.  om )
1210, 11syl 14 . . . . . . . 8  |-  ( (
ph  /\  m  e.  om )  ->  ( 1st `  ( J `  m
) )  e.  om )
132, 4, 12rspcdva 2839 . . . . . . 7  |-  ( (
ph  /\  m  e.  om )  -> DECID  ( 1st `  ( J `  m )
)  e.  S )
1413adantr 274 . . . . . 6  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  -> DECID  ( 1st `  ( J `  m )
)  e.  S )
15 eleq1 2233 . . . . . . . 8  |-  ( n  =  ( 2nd `  ( J `  m )
)  ->  ( n  e.  [_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T 
<->  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) )
1615dcbid 833 . . . . . . 7  |-  ( n  =  ( 2nd `  ( J `  m )
)  ->  (DECID  n  e.  [_ ( F `  ( 1st `  ( J `  m ) ) )  /  x ]_ T  <-> DECID  ( 2nd `  ( J `  m
) )  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) )
17 ctiunct.f . . . . . . . . . . 11  |-  ( ph  ->  F : S -onto-> A
)
18 fof 5420 . . . . . . . . . . 11  |-  ( F : S -onto-> A  ->  F : S --> A )
1917, 18syl 14 . . . . . . . . . 10  |-  ( ph  ->  F : S --> A )
2019ad2antrr 485 . . . . . . . . 9  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  F : S --> A )
21 simpr 109 . . . . . . . . 9  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  ( 1st `  ( J `  m ) )  e.  S )
2220, 21ffvelrnd 5632 . . . . . . . 8  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  ( F `  ( 1st `  ( J `  m
) ) )  e.  A )
23 ctiunct.tdc . . . . . . . . . 10  |-  ( (
ph  /\  x  e.  A )  ->  A. n  e.  om DECID  n  e.  T )
2423ralrimiva 2543 . . . . . . . . 9  |-  ( ph  ->  A. x  e.  A  A. n  e.  om DECID  n  e.  T )
2524ad2antrr 485 . . . . . . . 8  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  A. x  e.  A  A. n  e.  om DECID  n  e.  T )
26 nfcv 2312 . . . . . . . . . 10  |-  F/_ x om
27 nfcsb1v 3082 . . . . . . . . . . . 12  |-  F/_ x [_ ( F `  ( 1st `  ( J `  m ) ) )  /  x ]_ T
2827nfcri 2306 . . . . . . . . . . 11  |-  F/ x  n  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T
2928nfdc 1652 . . . . . . . . . 10  |-  F/ xDECID  n  e.  [_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T
3026, 29nfralya 2510 . . . . . . . . 9  |-  F/ x A. n  e.  om DECID  n  e.  [_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T
31 csbeq1a 3058 . . . . . . . . . . . 12  |-  ( x  =  ( F `  ( 1st `  ( J `
 m ) ) )  ->  T  =  [_ ( F `  ( 1st `  ( J `  m ) ) )  /  x ]_ T
)
3231eleq2d 2240 . . . . . . . . . . 11  |-  ( x  =  ( F `  ( 1st `  ( J `
 m ) ) )  ->  ( n  e.  T  <->  n  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) )
3332dcbid 833 . . . . . . . . . 10  |-  ( x  =  ( F `  ( 1st `  ( J `
 m ) ) )  ->  (DECID  n  e.  T 
<-> DECID  n  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) )
3433ralbidv 2470 . . . . . . . . 9  |-  ( x  =  ( F `  ( 1st `  ( J `
 m ) ) )  ->  ( A. n  e.  om DECID  n  e.  T  <->  A. n  e.  om DECID  n  e.  [_ ( F `  ( 1st `  ( J `  m ) ) )  /  x ]_ T
) )
3530, 34rspc 2828 . . . . . . . 8  |-  ( ( F `  ( 1st `  ( J `  m
) ) )  e.  A  ->  ( A. x  e.  A  A. n  e.  om DECID  n  e.  T  ->  A. n  e.  om DECID  n  e.  [_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T ) )
3622, 25, 35sylc 62 . . . . . . 7  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  A. n  e.  om DECID  n  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T )
3710adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  ( J `  m )  e.  ( om  X.  om ) )
38 xp2nd 6145 . . . . . . . 8  |-  ( ( J `  m )  e.  ( om  X.  om )  ->  ( 2nd `  ( J `  m
) )  e.  om )
3937, 38syl 14 . . . . . . 7  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  ->  ( 2nd `  ( J `  m ) )  e. 
om )
4016, 36, 39rspcdva 2839 . . . . . 6  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  -> DECID  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T )
41 dcan2 929 . . . . . 6  |-  (DECID  ( 1st `  ( J `  m
) )  e.  S  ->  (DECID  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T  -> DECID  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) ) )
4214, 40, 41sylc 62 . . . . 5  |-  ( ( ( ph  /\  m  e.  om )  /\  ( 1st `  ( J `  m ) )  e.  S )  -> DECID  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) )
43 simpr 109 . . . . . . . 8  |-  ( ( ( ph  /\  m  e.  om )  /\  -.  ( 1st `  ( J `
 m ) )  e.  S )  ->  -.  ( 1st `  ( J `  m )
)  e.  S )
4443intnanrd 927 . . . . . . 7  |-  ( ( ( ph  /\  m  e.  om )  /\  -.  ( 1st `  ( J `
 m ) )  e.  S )  ->  -.  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) )
4544olcd 729 . . . . . 6  |-  ( ( ( ph  /\  m  e.  om )  /\  -.  ( 1st `  ( J `
 m ) )  e.  S )  -> 
( ( ( 1st `  ( J `  m
) )  e.  S  /\  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T )  \/ 
-.  ( ( 1st `  ( J `  m
) )  e.  S  /\  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) ) )
46 df-dc 830 . . . . . 6  |-  (DECID  ( ( 1st `  ( J `
 m ) )  e.  S  /\  ( 2nd `  ( J `  m ) )  e. 
[_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T )  <->  ( (
( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T )  \/  -.  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) ) )
4745, 46sylibr 133 . . . . 5  |-  ( ( ( ph  /\  m  e.  om )  /\  -.  ( 1st `  ( J `
 m ) )  e.  S )  -> DECID  (
( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) )
48 exmiddc 831 . . . . . 6  |-  (DECID  ( 1st `  ( J `  m
) )  e.  S  ->  ( ( 1st `  ( J `  m )
)  e.  S  \/  -.  ( 1st `  ( J `  m )
)  e.  S ) )
4913, 48syl 14 . . . . 5  |-  ( (
ph  /\  m  e.  om )  ->  ( ( 1st `  ( J `  m ) )  e.  S  \/  -.  ( 1st `  ( J `  m ) )  e.  S ) )
5042, 47, 49mpjaodan 793 . . . 4  |-  ( (
ph  /\  m  e.  om )  -> DECID  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) )
51 2fveq3 5501 . . . . . . . . 9  |-  ( z  =  m  ->  ( 1st `  ( J `  z ) )  =  ( 1st `  ( J `  m )
) )
5251eleq1d 2239 . . . . . . . 8  |-  ( z  =  m  ->  (
( 1st `  ( J `  z )
)  e.  S  <->  ( 1st `  ( J `  m
) )  e.  S
) )
53 2fveq3 5501 . . . . . . . . 9  |-  ( z  =  m  ->  ( 2nd `  ( J `  z ) )  =  ( 2nd `  ( J `  m )
) )
5451fveq2d 5500 . . . . . . . . . 10  |-  ( z  =  m  ->  ( F `  ( 1st `  ( J `  z
) ) )  =  ( F `  ( 1st `  ( J `  m ) ) ) )
5554csbeq1d 3056 . . . . . . . . 9  |-  ( z  =  m  ->  [_ ( F `  ( 1st `  ( J `  z
) ) )  /  x ]_ T  =  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T )
5653, 55eleq12d 2241 . . . . . . . 8  |-  ( z  =  m  ->  (
( 2nd `  ( J `  z )
)  e.  [_ ( F `  ( 1st `  ( J `  z
) ) )  /  x ]_ T  <->  ( 2nd `  ( J `  m
) )  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) )
5752, 56anbi12d 470 . . . . . . 7  |-  ( z  =  m  ->  (
( ( 1st `  ( J `  z )
)  e.  S  /\  ( 2nd `  ( J `
 z ) )  e.  [_ ( F `
 ( 1st `  ( J `  z )
) )  /  x ]_ T )  <->  ( ( 1st `  ( J `  m ) )  e.  S  /\  ( 2nd `  ( J `  m
) )  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) ) )
58 ctiunct.u . . . . . . 7  |-  U  =  { z  e.  om  |  ( ( 1st `  ( J `  z
) )  e.  S  /\  ( 2nd `  ( J `  z )
)  e.  [_ ( F `  ( 1st `  ( J `  z
) ) )  /  x ]_ T ) }
5957, 58elrab2 2889 . . . . . 6  |-  ( m  e.  U  <->  ( m  e.  om  /\  ( ( 1st `  ( J `
 m ) )  e.  S  /\  ( 2nd `  ( J `  m ) )  e. 
[_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T ) ) )
60 ibar 299 . . . . . . 7  |-  ( m  e.  om  ->  (
( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T )  <->  ( m  e.  om  /\  ( ( 1st `  ( J `
 m ) )  e.  S  /\  ( 2nd `  ( J `  m ) )  e. 
[_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T ) ) ) )
6160adantl 275 . . . . . 6  |-  ( (
ph  /\  m  e.  om )  ->  ( (
( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T )  <->  ( m  e.  om  /\  ( ( 1st `  ( J `
 m ) )  e.  S  /\  ( 2nd `  ( J `  m ) )  e. 
[_ ( F `  ( 1st `  ( J `
 m ) ) )  /  x ]_ T ) ) ) )
6259, 61bitr4id 198 . . . . 5  |-  ( (
ph  /\  m  e.  om )  ->  ( m  e.  U  <->  ( ( 1st `  ( J `  m
) )  e.  S  /\  ( 2nd `  ( J `  m )
)  e.  [_ ( F `  ( 1st `  ( J `  m
) ) )  /  x ]_ T ) ) )
6362dcbid 833 . . . 4  |-  ( (
ph  /\  m  e.  om )  ->  (DECID  m  e.  U 
<-> DECID  ( ( 1st `  ( J `  m )
)  e.  S  /\  ( 2nd `  ( J `
 m ) )  e.  [_ ( F `
 ( 1st `  ( J `  m )
) )  /  x ]_ T ) ) )
6450, 63mpbird 166 . . 3  |-  ( (
ph  /\  m  e.  om )  -> DECID  m  e.  U
)
6564ralrimiva 2543 . 2  |-  ( ph  ->  A. m  e.  om DECID  m  e.  U )
66 eleq1 2233 . . . 4  |-  ( m  =  n  ->  (
m  e.  U  <->  n  e.  U ) )
6766dcbid 833 . . 3  |-  ( m  =  n  ->  (DECID  m  e.  U  <-> DECID  n  e.  U )
)
6867cbvralv 2696 . 2  |-  ( A. m  e.  om DECID  m  e.  U  <->  A. n  e.  om DECID  n  e.  U )
6965, 68sylib 121 1  |-  ( ph  ->  A. n  e.  om DECID  n  e.  U )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 703  DECID wdc 829    = wceq 1348    e. wcel 2141   A.wral 2448   {crab 2452   [_csb 3049    C_ wss 3121   omcom 4574    X. cxp 4609   -->wf 5194   -onto->wfo 5196   -1-1-onto->wf1o 5197   ` cfv 5198   1stc1st 6117   2ndc2nd 6118
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 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-dc 830  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-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-1st 6119  df-2nd 6120
This theorem is referenced by:  ctiunct  12395
  Copyright terms: Public domain W3C validator