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

Theorem fodjum 7110
Description: Lemma for fodjuomni 7113 and fodjumkv 7124. A condition which shows that  A is inhabited. (Contributed by Jim Kingdon, 27-Jul-2022.) (Revised by Jim Kingdon, 25-Mar-2023.)
Hypotheses
Ref Expression
fodjuf.fo  |-  ( ph  ->  F : O -onto-> ( A B ) )
fodjuf.p  |-  P  =  ( y  e.  O  |->  if ( E. z  e.  A  ( F `  y )  =  (inl
`  z ) ,  (/) ,  1o ) )
fodjum.z  |-  ( ph  ->  E. w  e.  O  ( P `  w )  =  (/) )
Assertion
Ref Expression
fodjum  |-  ( ph  ->  E. x  x  e.  A )
Distinct variable groups:    ph, y, z   
y, O, z    z, A    z, B    z, F    w, A, x, z    y, A, w    y, F    ph, w
Allowed substitution hints:    ph( x)    B( x, y, w)    P( x, y, z, w)    F( x, w)    O( x, w)

Proof of Theorem fodjum
StepHypRef Expression
1 fodjum.z . 2  |-  ( ph  ->  E. w  e.  O  ( P `  w )  =  (/) )
2 1n0 6400 . . . . . . . . 9  |-  1o  =/=  (/)
32nesymi 2382 . . . . . . . 8  |-  -.  (/)  =  1o
43intnan 919 . . . . . . 7  |-  -.  ( -.  E. z  e.  A  ( F `  w )  =  (inl `  z
)  /\  (/)  =  1o )
54a1i 9 . . . . . 6  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  -.  ( -.  E. z  e.  A  ( F `  w )  =  (inl
`  z )  /\  (/)  =  1o ) )
6 simprr 522 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> 
( P `  w
)  =  (/) )
7 fodjuf.p . . . . . . . . 9  |-  P  =  ( y  e.  O  |->  if ( E. z  e.  A  ( F `  y )  =  (inl
`  z ) ,  (/) ,  1o ) )
8 fveqeq2 5495 . . . . . . . . . . 11  |-  ( y  =  w  ->  (
( F `  y
)  =  (inl `  z )  <->  ( F `  w )  =  (inl
`  z ) ) )
98rexbidv 2467 . . . . . . . . . 10  |-  ( y  =  w  ->  ( E. z  e.  A  ( F `  y )  =  (inl `  z
)  <->  E. z  e.  A  ( F `  w )  =  (inl `  z
) ) )
109ifbid 3541 . . . . . . . . 9  |-  ( y  =  w  ->  if ( E. z  e.  A  ( F `  y )  =  (inl `  z
) ,  (/) ,  1o )  =  if ( E. z  e.  A  ( F `  w )  =  (inl `  z
) ,  (/) ,  1o ) )
11 simprl 521 . . . . . . . . 9  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  w  e.  O )
12 peano1 4571 . . . . . . . . . . 11  |-  (/)  e.  om
1312a1i 9 . . . . . . . . . 10  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  (/) 
e.  om )
14 1onn 6488 . . . . . . . . . . 11  |-  1o  e.  om
1514a1i 9 . . . . . . . . . 10  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  1o  e.  om )
16 fodjuf.fo . . . . . . . . . . . 12  |-  ( ph  ->  F : O -onto-> ( A B ) )
1716fodjuomnilemdc 7108 . . . . . . . . . . 11  |-  ( (
ph  /\  w  e.  O )  -> DECID  E. z  e.  A  ( F `  w )  =  (inl `  z
) )
1817adantrr 471 . . . . . . . . . 10  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> DECID  E. z  e.  A  ( F `  w )  =  (inl
`  z ) )
1913, 15, 18ifcldcd 3555 . . . . . . . . 9  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  if ( E. z  e.  A  ( F `  w )  =  (inl
`  z ) ,  (/) ,  1o )  e. 
om )
207, 10, 11, 19fvmptd3 5579 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> 
( P `  w
)  =  if ( E. z  e.  A  ( F `  w )  =  (inl `  z
) ,  (/) ,  1o ) )
216, 20eqtr3d 2200 . . . . . . 7  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  (/)  =  if ( E. z  e.  A  ( F `  w )  =  (inl `  z
) ,  (/) ,  1o ) )
22 eqifdc 3554 . . . . . . . 8  |-  (DECID  E. z  e.  A  ( F `  w )  =  (inl
`  z )  -> 
( (/)  =  if ( E. z  e.  A  ( F `  w )  =  (inl `  z
) ,  (/) ,  1o ) 
<->  ( ( E. z  e.  A  ( F `  w )  =  (inl
`  z )  /\  (/)  =  (/) )  \/  ( -.  E. z  e.  A  ( F `  w )  =  (inl `  z
)  /\  (/)  =  1o ) ) ) )
2318, 22syl 14 . . . . . . 7  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> 
( (/)  =  if ( E. z  e.  A  ( F `  w )  =  (inl `  z
) ,  (/) ,  1o ) 
<->  ( ( E. z  e.  A  ( F `  w )  =  (inl
`  z )  /\  (/)  =  (/) )  \/  ( -.  E. z  e.  A  ( F `  w )  =  (inl `  z
)  /\  (/)  =  1o ) ) ) )
2421, 23mpbid 146 . . . . . 6  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> 
( ( E. z  e.  A  ( F `  w )  =  (inl
`  z )  /\  (/)  =  (/) )  \/  ( -.  E. z  e.  A  ( F `  w )  =  (inl `  z
)  /\  (/)  =  1o ) ) )
255, 24ecased 1339 . . . . 5  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  -> 
( E. z  e.  A  ( F `  w )  =  (inl
`  z )  /\  (/)  =  (/) ) )
2625simpld 111 . . . 4  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  E. z  e.  A  ( F `  w )  =  (inl `  z
) )
27 rexm 3508 . . . 4  |-  ( E. z  e.  A  ( F `  w )  =  (inl `  z
)  ->  E. z 
z  e.  A )
2826, 27syl 14 . . 3  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  E. z  z  e.  A )
29 eleq1w 2227 . . . 4  |-  ( z  =  x  ->  (
z  e.  A  <->  x  e.  A ) )
3029cbvexv 1906 . . 3  |-  ( E. z  z  e.  A  <->  E. x  x  e.  A
)
3128, 30sylib 121 . 2  |-  ( (
ph  /\  ( w  e.  O  /\  ( P `  w )  =  (/) ) )  ->  E. x  x  e.  A )
321, 31rexlimddv 2588 1  |-  ( ph  ->  E. x  x  e.  A )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698  DECID wdc 824    = wceq 1343   E.wex 1480    e. wcel 2136   E.wrex 2445   (/)c0 3409   ifcif 3520    |-> cmpt 4043   omcom 4567   -onto->wfo 5186   ` cfv 5188   1oc1o 6377   ⊔ cdju 7002  inlcinl 7010
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
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-ne 2337  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  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-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  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-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109  df-1o 6384  df-dju 7003  df-inl 7012  df-inr 7013
This theorem is referenced by:  fodjuomnilemres  7112  fodjumkvlemres  7123
  Copyright terms: Public domain W3C validator