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

Theorem acfun 7163
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 2739 . . . 4  |-  ( ph  ->  A  e.  _V )
3 abid2 2287 . . . . . 6  |-  { v  |  v  e.  u }  =  u
4 vex 2729 . . . . . 6  |-  u  e. 
_V
53, 4eqeltri 2239 . . . . 5  |-  { v  |  v  e.  u }  e.  _V
65a1i 9 . . . 4  |-  ( (
ph  /\  u  e.  A )  ->  { v  |  v  e.  u }  e.  _V )
72, 6opabex3d 6089 . . 3  |-  ( ph  ->  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) }  e.  _V )
8 acfun.ac . . . 4  |-  ( ph  -> CHOICE )
9 df-ac 7162 . . . 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 3166 . . . . . 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 4804 . . . . . . 7  |-  ( y  =  { <. u ,  v >.  |  ( u  e.  A  /\  v  e.  u ) }  ->  dom  y  =  dom  { <. u ,  v
>.  |  ( u  e.  A  /\  v  e.  u ) } )
1312fneq2d 5279 . . . . . 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 465 . . . . 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 1813 . . . 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 2813 . . 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 522 . . . . . 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 2141 . . . . . . . . . . . . 13  |-  ( x  =  u  ->  (
w  e.  x  <->  w  e.  u ) )
2120exbidv 1813 . . . . . . . . . . . 12  |-  ( x  =  u  ->  ( E. w  w  e.  x 
<->  E. w  w  e.  u ) )
2221cbvralv 2692 . . . . . . . . . . 11  |-  ( A. x  e.  A  E. w  w  e.  x  <->  A. u  e.  A  E. w  w  e.  u
)
23 elequ1 2140 . . . . . . . . . . . . 13  |-  ( w  =  v  ->  (
w  e.  u  <->  v  e.  u ) )
2423cbvexv 1906 . . . . . . . . . . . 12  |-  ( E. w  w  e.  u  <->  E. v  v  e.  u
)
2524ralbii 2472 . . . . . . . . . . 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 4817 . . . . . . . . 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 5279 . . . . . . 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 525 . . . . . . . . 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 5615 . . . . . . . . . 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 3143 . . . . . . . 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 2729 . . . . . . . . 9  |-  x  e. 
_V
38 vex 2729 . . . . . . . . . 10  |-  f  e. 
_V
3938, 37fvex 5506 . . . . . . . . 9  |-  ( f `
 x )  e. 
_V
40 eleq1 2229 . . . . . . . . . 10  |-  ( u  =  x  ->  (
u  e.  A  <->  x  e.  A ) )
41 elequ2 2141 . . . . . . . . . 10  |-  ( u  =  x  ->  (
v  e.  u  <->  v  e.  x ) )
4240, 41anbi12d 465 . . . . . . . . 9  |-  ( u  =  x  ->  (
( u  e.  A  /\  v  e.  u
)  <->  ( x  e.  A  /\  v  e.  x ) ) )
43 eleq1 2229 . . . . . . . . . 10  |-  ( v  =  ( f `  x )  ->  (
v  e.  x  <->  ( f `  x )  e.  x
) )
4443anbi2d 460 . . . . . . . . 9  |-  ( v  =  ( f `  x )  ->  (
( x  e.  A  /\  v  e.  x
)  <->  ( x  e.  A  /\  ( f `
 x )  e.  x ) ) )
4537, 39, 42, 44opelopab 4249 . . . . . . . 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 2539 . . . . 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 1868 . 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 1341    = wceq 1343   E.wex 1480    e. wcel 2136   {cab 2151   A.wral 2444   _Vcvv 2726    C_ wss 3116   <.cop 3579   {copab 4042   dom cdm 4604    Fn wfn 5183   ` cfv 5188  CHOICEwac 7161
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 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-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  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-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  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-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ac 7162
This theorem is referenced by:  exmidaclem  7164
  Copyright terms: Public domain W3C validator