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

Theorem acfun 7184
Description: A convenient form of choice. The goal here is to state choice as the existence of a choice function on a set of inhabited sets, while making full use of our notation around functions and function values. (Contributed by Jim Kingdon, 20-Nov-2023.)
Hypotheses
Ref Expression
acfun.ac  |-  ( ph  -> CHOICE )
acfun.a  |-  ( ph  ->  A  e.  V )
acfun.m  |-  ( ph  ->  A. x  e.  A  E. w  w  e.  x )
Assertion
Ref Expression
acfun  |-  ( ph  ->  E. f ( f  Fn  A  /\  A. x  e.  A  (
f `  x )  e.  x ) )
Distinct variable groups:    A, f, x    ph, f, x    x, w
Allowed substitution hints:    ph( w)    A( w)    V( x, w, f)

Proof of Theorem acfun
Dummy variables  u  v  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 acfun.a . . . . 5  |-  ( ph  ->  A  e.  V )
21elexd 2743 . . . 4  |-  ( ph  ->  A  e.  _V )
3 abid2 2291 . . . . . 6  |-  { v  |  v  e.  u }  =  u
4 vex 2733 . . . . . 6  |-  u  e. 
_V
53, 4eqeltri 2243 . . . . 5  |-  { v  |  v  e.  u }  e.  _V
65a1i 9 . . . 4  |-  ( (
ph  /\  u  e.  A )  ->  { v  |  v  e.  u }  e.  _V )
72, 6opabex3d 6100 . . 3  |-  ( ph  ->  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  e.  _V )
8 acfun.ac . . . 4  |-  ( ph  -> CHOICE )
9 df-ac 7183 . . . 4  |-  (CHOICE  <->  A. y E. f ( f  C_  y  /\  f  Fn  dom  y ) )
108, 9sylib 121 . . 3  |-  ( ph  ->  A. y E. f
( f  C_  y  /\  f  Fn  dom  y ) )
11 sseq2 3171 . . . . . 6  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  ( f  C_  y 
<->  f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )
12 dmeq 4811 . . . . . . 7  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  dom  y  =  dom  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) } )
1312fneq2d 5289 . . . . . 6  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  ( f  Fn 
dom  y  <->  f  Fn  dom  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) } ) )
1411, 13anbi12d 470 . . . . 5  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  ( ( f 
C_  y  /\  f  Fn  dom  y )  <->  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) ) )
1514exbidv 1818 . . . 4  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  ( E. f
( f  C_  y  /\  f  Fn  dom  y )  <->  E. f
( f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) ) )
1615spcgv 2817 . . 3  |-  ( {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  e.  _V  ->  ( A. y E. f ( f  C_  y  /\  f  Fn  dom  y )  ->  E. f
( f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) ) )
177, 10, 16sylc 62 . 2  |-  ( ph  ->  E. f ( f 
C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )
18 simprr 527 . . . . . 6  |-  ( (
ph  /\  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  -> 
f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } )
19 acfun.m . . . . . . . . . 10  |-  ( ph  ->  A. x  e.  A  E. w  w  e.  x )
20 elequ2 2146 . . . . . . . . . . . . 13  |-  ( x  =  u  ->  (
w  e.  x  <->  w  e.  u ) )
2120exbidv 1818 . . . . . . . . . . . 12  |-  ( x  =  u  ->  ( E. w  w  e.  x 
<->  E. w  w  e.  u ) )
2221cbvralv 2696 . . . . . . . . . . 11  |-  ( A. x  e.  A  E. w  w  e.  x  <->  A. u  e.  A  E. w  w  e.  u
)
23 elequ1 2145 . . . . . . . . . . . . 13  |-  ( w  =  v  ->  (
w  e.  u  <->  v  e.  u ) )
2423cbvexv 1911 . . . . . . . . . . . 12  |-  ( E. w  w  e.  u  <->  E. v  v  e.  u
)
2524ralbii 2476 . . . . . . . . . . 11  |-  ( A. u  e.  A  E. w  w  e.  u  <->  A. u  e.  A  E. v  v  e.  u
)
2622, 25bitri 183 . . . . . . . . . 10  |-  ( A. x  e.  A  E. w  w  e.  x  <->  A. u  e.  A  E. v  v  e.  u
)
2719, 26sylib 121 . . . . . . . . 9  |-  ( ph  ->  A. u  e.  A  E. v  v  e.  u )
28 dmopab3 4824 . . . . . . . . 9  |-  ( A. u  e.  A  E. v  v  e.  u  <->  dom 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  =  A )
2927, 28sylib 121 . . . . . . . 8  |-  ( ph  ->  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  =  A )
3029fneq2d 5289 . . . . . . 7  |-  ( ph  ->  ( f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  <->  f  Fn  A ) )
3130adantr 274 . . . . . 6  |-  ( (
ph  /\  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  -> 
( f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  <->  f  Fn  A ) )
3218, 31mpbid 146 . . . . 5  |-  ( (
ph  /\  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  -> 
f  Fn  A )
33 simplrl 530 . . . . . . . . 9  |-  ( ( ( ph  /\  (
f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  /\  x  e.  A )  ->  f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) } )
34 fnopfv 5626 . . . . . . . . . 10  |-  ( ( f  Fn  A  /\  x  e.  A )  -> 
<. x ,  ( f `
 x ) >.  e.  f )
3532, 34sylan 281 . . . . . . . . 9  |-  ( ( ( ph  /\  (
f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  /\  x  e.  A )  ->  <. x ,  ( f `  x ) >.  e.  f )
3633, 35sseldd 3148 . . . . . . . 8  |-  ( ( ( ph  /\  (
f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  /\  x  e.  A )  ->  <. x ,  ( f `  x ) >.  e.  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } )
37 vex 2733 . . . . . . . . 9  |-  x  e. 
_V
38 vex 2733 . . . . . . . . . 10  |-  f  e. 
_V
3938, 37fvex 5516 . . . . . . . . 9  |-  ( f `
 x )  e. 
_V
40 eleq1 2233 . . . . . . . . . 10  |-  ( u  =  x  ->  (
u  e.  A  <->  x  e.  A ) )
41 elequ2 2146 . . . . . . . . . 10  |-  ( u  =  x  ->  (
v  e.  u  <->  v  e.  x ) )
4240, 41anbi12d 470 . . . . . . . . 9  |-  ( u  =  x  ->  (
( u  e.  A  /\  v  e.  u
)  <->  ( x  e.  A  /\  v  e.  x ) ) )
43 eleq1 2233 . . . . . . . . . 10  |-  ( v  =  ( f `  x )  ->  (
v  e.  x  <->  ( f `  x )  e.  x
) )
4443anbi2d 461 . . . . . . . . 9  |-  ( v  =  ( f `  x )  ->  (
( x  e.  A  /\  v  e.  x
)  <->  ( x  e.  A  /\  ( f `
 x )  e.  x ) ) )
4537, 39, 42, 44opelopab 4256 . . . . . . . 8  |-  ( <.
x ,  ( f `
 x ) >.  e.  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  <->  ( x  e.  A  /\  (
f `  x )  e.  x ) )
4636, 45sylib 121 . . . . . . 7  |-  ( ( ( ph  /\  (
f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  /\  x  e.  A )  ->  (
x  e.  A  /\  ( f `  x
)  e.  x ) )
4746simprd 113 . . . . . 6  |-  ( ( ( ph  /\  (
f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  /\  x  e.  A )  ->  (
f `  x )  e.  x )
4847ralrimiva 2543 . . . . 5  |-  ( (
ph  /\  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  ->  A. x  e.  A  ( f `  x
)  e.  x )
4932, 48jca 304 . . . 4  |-  ( (
ph  /\  ( f  C_ 
{ <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } ) )  -> 
( f  Fn  A  /\  A. x  e.  A  ( f `  x
)  e.  x ) )
5049ex 114 . . 3  |-  ( ph  ->  ( ( f  C_  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } )  ->  (
f  Fn  A  /\  A. x  e.  A  ( f `  x )  e.  x ) ) )
5150eximdv 1873 . 2  |-  ( ph  ->  ( E. f ( f  C_  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  /\  f  Fn  dom  {
<. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) } )  ->  E. f ( f  Fn  A  /\  A. x  e.  A  (
f `  x )  e.  x ) ) )
5217, 51mpd 13 1  |-  ( ph  ->  E. f ( f  Fn  A  /\  A. x  e.  A  (
f `  x )  e.  x ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104   A.wal 1346    = wceq 1348   E.wex 1485    e. wcel 2141   {cab 2156   A.wral 2448   _Vcvv 2730    C_ wss 3121   <.cop 3586   {copab 4049   dom cdm 4611    Fn wfn 5193   ` cfv 5198  CHOICEwac 7182
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-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-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  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-reu 2455  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-iun 3875  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-res 4623  df-ima 4624  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-ac 7183
This theorem is referenced by:  exmidaclem  7185
  Copyright terms: Public domain W3C validator