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

Theorem exmidaclem 7185
Description: Lemma for exmidac 7186. The result, with a few hypotheses to break out commonly used expressions. (Contributed by Jim Kingdon, 21-Nov-2023.)
Hypotheses
Ref Expression
exmidaclem.a  |-  A  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  (/)  \/  y  =  { (/)
} ) }
exmidaclem.b  |-  B  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  y  =  { (/) } ) }
exmidaclem.c  |-  C  =  { A ,  B }
Assertion
Ref Expression
exmidaclem  |-  (CHOICE  -> EXMID )
Distinct variable groups:    x, A    x, B    x, y
Allowed substitution hints:    A( y)    B( y)    C( x, y)

Proof of Theorem exmidaclem
Dummy variables  z  f  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl 108 . . . 4  |-  ( (CHOICE  /\  y  C_  { (/) } )  -> CHOICE
)
2 exmidaclem.c . . . . . 6  |-  C  =  { A ,  B }
3 exmidaclem.a . . . . . . . 8  |-  A  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  (/)  \/  y  =  { (/)
} ) }
4 pp0ex 4175 . . . . . . . . 9  |-  { (/) ,  { (/) } }  e.  _V
54rabex 4133 . . . . . . . 8  |-  { x  e.  { (/) ,  { (/) } }  |  ( x  =  (/)  \/  y  =  { (/) } ) }  e.  _V
63, 5eqeltri 2243 . . . . . . 7  |-  A  e. 
_V
7 exmidaclem.b . . . . . . . 8  |-  B  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  y  =  { (/) } ) }
84rabex 4133 . . . . . . . 8  |-  { x  e.  { (/) ,  { (/) } }  |  ( x  =  { (/) }  \/  y  =  { (/) } ) }  e.  _V
97, 8eqeltri 2243 . . . . . . 7  |-  B  e. 
_V
10 prexg 4196 . . . . . . 7  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  { A ,  B }  e.  _V )
116, 9, 10mp2an 424 . . . . . 6  |-  { A ,  B }  e.  _V
122, 11eqeltri 2243 . . . . 5  |-  C  e. 
_V
1312a1i 9 . . . 4  |-  ( (CHOICE  /\  y  C_  { (/) } )  ->  C  e.  _V )
14 simpr 109 . . . . . . 7  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  z  e.  C )  ->  z  e.  C )
1514, 2eleqtrdi 2263 . . . . . 6  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  z  e.  C )  ->  z  e.  { A ,  B } )
16 elpri 3606 . . . . . 6  |-  ( z  e.  { A ,  B }  ->  ( z  =  A  \/  z  =  B ) )
17 0ex 4116 . . . . . . . . . . 11  |-  (/)  e.  _V
1817prid1 3689 . . . . . . . . . 10  |-  (/)  e.  { (/)
,  { (/) } }
19 eqid 2170 . . . . . . . . . . 11  |-  (/)  =  (/)
2019orci 726 . . . . . . . . . 10  |-  ( (/)  =  (/)  \/  y  =  { (/) } )
21 eqeq1 2177 . . . . . . . . . . . 12  |-  ( x  =  (/)  ->  ( x  =  (/)  <->  (/)  =  (/) ) )
2221orbi1d 786 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( ( x  =  (/)  \/  y  =  { (/) } )  <->  ( (/)  =  (/)  \/  y  =  { (/) } ) ) )
2322, 3elrab2 2889 . . . . . . . . . 10  |-  ( (/)  e.  A  <->  ( (/)  e.  { (/)
,  { (/) } }  /\  ( (/)  =  (/)  \/  y  =  { (/) } ) ) )
2418, 20, 23mpbir2an 937 . . . . . . . . 9  |-  (/)  e.  A
25 eleq2 2234 . . . . . . . . 9  |-  ( z  =  A  ->  ( (/) 
e.  z  <->  (/)  e.  A
) )
2624, 25mpbiri 167 . . . . . . . 8  |-  ( z  =  A  ->  (/)  e.  z )
27 elex2 2746 . . . . . . . 8  |-  ( (/)  e.  z  ->  E. w  w  e.  z )
2826, 27syl 14 . . . . . . 7  |-  ( z  =  A  ->  E. w  w  e.  z )
29 p0ex 4174 . . . . . . . . . . 11  |-  { (/) }  e.  _V
3029prid2 3690 . . . . . . . . . 10  |-  { (/) }  e.  { (/) ,  { (/)
} }
31 eqid 2170 . . . . . . . . . . 11  |-  { (/) }  =  { (/) }
3231orci 726 . . . . . . . . . 10  |-  ( {
(/) }  =  { (/)
}  \/  y  =  { (/) } )
33 eqeq1 2177 . . . . . . . . . . . 12  |-  ( x  =  { (/) }  ->  ( x  =  { (/) }  <->  { (/) }  =  { (/)
} ) )
3433orbi1d 786 . . . . . . . . . . 11  |-  ( x  =  { (/) }  ->  ( ( x  =  { (/)
}  \/  y  =  { (/) } )  <->  ( { (/)
}  =  { (/) }  \/  y  =  { (/)
} ) ) )
3534, 7elrab2 2889 . . . . . . . . . 10  |-  ( {
(/) }  e.  B  <->  ( { (/) }  e.  { (/)
,  { (/) } }  /\  ( { (/) }  =  { (/) }  \/  y  =  { (/) } ) ) )
3630, 32, 35mpbir2an 937 . . . . . . . . 9  |-  { (/) }  e.  B
37 eleq2 2234 . . . . . . . . 9  |-  ( z  =  B  ->  ( { (/) }  e.  z  <->  { (/) }  e.  B
) )
3836, 37mpbiri 167 . . . . . . . 8  |-  ( z  =  B  ->  { (/) }  e.  z )
39 elex2 2746 . . . . . . . 8  |-  ( {
(/) }  e.  z  ->  E. w  w  e.  z )
4038, 39syl 14 . . . . . . 7  |-  ( z  =  B  ->  E. w  w  e.  z )
4128, 40jaoi 711 . . . . . 6  |-  ( ( z  =  A  \/  z  =  B )  ->  E. w  w  e.  z )
4215, 16, 413syl 17 . . . . 5  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  z  e.  C )  ->  E. w  w  e.  z )
4342ralrimiva 2543 . . . 4  |-  ( (CHOICE  /\  y  C_  { (/) } )  ->  A. z  e.  C  E. w  w  e.  z )
441, 13, 43acfun 7184 . . 3  |-  ( (CHOICE  /\  y  C_  { (/) } )  ->  E. f ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )
45 0nep0 4151 . . . . . . . . . 10  |-  (/)  =/=  { (/)
}
4645neii 2342 . . . . . . . . 9  |-  -.  (/)  =  { (/)
}
47 simplr 525 . . . . . . . . . 10  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  -> 
( f `  A
)  =  (/) )
48 simpr 109 . . . . . . . . . 10  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  -> 
( f `  B
)  =  { (/) } )
4947, 48eqeq12d 2185 . . . . . . . . 9  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  -> 
( ( f `  A )  =  ( f `  B )  <->  (/)  =  { (/) } ) )
5046, 49mtbiri 670 . . . . . . . 8  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  ->  -.  ( f `  A
)  =  ( f `
 B ) )
51 olc 706 . . . . . . . . . . . . 13  |-  ( y  =  { (/) }  ->  ( x  =  (/)  \/  y  =  { (/) } ) )
5251ralrimivw 2544 . . . . . . . . . . . 12  |-  ( y  =  { (/) }  ->  A. x  e.  { (/) ,  { (/) } }  (
x  =  (/)  \/  y  =  { (/) } ) )
53 rabid2 2646 . . . . . . . . . . . 12  |-  ( {
(/) ,  { (/) } }  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  (/)  \/  y  =  { (/)
} ) }  <->  A. x  e.  { (/) ,  { (/) } }  ( x  =  (/)  \/  y  =  { (/)
} ) )
5452, 53sylibr 133 . . . . . . . . . . 11  |-  ( y  =  { (/) }  ->  {
(/) ,  { (/) } }  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  (/)  \/  y  =  { (/)
} ) } )
5554, 3eqtr4di 2221 . . . . . . . . . 10  |-  ( y  =  { (/) }  ->  {
(/) ,  { (/) } }  =  A )
56 olc 706 . . . . . . . . . . . . 13  |-  ( y  =  { (/) }  ->  ( x  =  { (/) }  \/  y  =  { (/)
} ) )
5756ralrimivw 2544 . . . . . . . . . . . 12  |-  ( y  =  { (/) }  ->  A. x  e.  { (/) ,  { (/) } }  (
x  =  { (/) }  \/  y  =  { (/)
} ) )
58 rabid2 2646 . . . . . . . . . . . 12  |-  ( {
(/) ,  { (/) } }  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  y  =  { (/) } ) }  <->  A. x  e.  { (/) ,  { (/) } }  (
x  =  { (/) }  \/  y  =  { (/)
} ) )
5957, 58sylibr 133 . . . . . . . . . . 11  |-  ( y  =  { (/) }  ->  {
(/) ,  { (/) } }  =  { x  e.  { (/)
,  { (/) } }  |  ( x  =  { (/) }  \/  y  =  { (/) } ) } )
6059, 7eqtr4di 2221 . . . . . . . . . 10  |-  ( y  =  { (/) }  ->  {
(/) ,  { (/) } }  =  B )
6155, 60eqtr3d 2205 . . . . . . . . 9  |-  ( y  =  { (/) }  ->  A  =  B )
6261fveq2d 5500 . . . . . . . 8  |-  ( y  =  { (/) }  ->  ( f `  A )  =  ( f `  B ) )
6350, 62nsyl 623 . . . . . . 7  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  ->  -.  y  =  { (/)
} )
6463olcd 729 . . . . . 6  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  (
f `  B )  =  { (/) } )  -> 
( y  =  { (/)
}  \/  -.  y  =  { (/) } ) )
65 simpr 109 . . . . . . 7  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  y  =  { (/) } )  -> 
y  =  { (/) } )
6665orcd 728 . . . . . 6  |-  ( ( ( ( (CHOICE  /\  y  C_ 
{ (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  ( f `  z
)  e.  z ) )  /\  ( f `
 A )  =  (/) )  /\  y  =  { (/) } )  -> 
( y  =  { (/)
}  \/  -.  y  =  { (/) } ) )
67 fveq2 5496 . . . . . . . . . . 11  |-  ( z  =  B  ->  (
f `  z )  =  ( f `  B ) )
68 id 19 . . . . . . . . . . 11  |-  ( z  =  B  ->  z  =  B )
6967, 68eleq12d 2241 . . . . . . . . . 10  |-  ( z  =  B  ->  (
( f `  z
)  e.  z  <->  ( f `  B )  e.  B
) )
70 simprr 527 . . . . . . . . . 10  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  ->  A. z  e.  C  ( f `  z
)  e.  z )
719prid2 3690 . . . . . . . . . . . 12  |-  B  e. 
{ A ,  B }
7271, 2eleqtrri 2246 . . . . . . . . . . 11  |-  B  e.  C
7372a1i 9 . . . . . . . . . 10  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  ->  B  e.  C )
7469, 70, 73rspcdva 2839 . . . . . . . . 9  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( f `  B
)  e.  B )
75 eqeq1 2177 . . . . . . . . . . 11  |-  ( x  =  ( f `  B )  ->  (
x  =  { (/) }  <-> 
( f `  B
)  =  { (/) } ) )
7675orbi1d 786 . . . . . . . . . 10  |-  ( x  =  ( f `  B )  ->  (
( x  =  { (/)
}  \/  y  =  { (/) } )  <->  ( (
f `  B )  =  { (/) }  \/  y  =  { (/) } ) ) )
7776, 7elrab2 2889 . . . . . . . . 9  |-  ( ( f `  B )  e.  B  <->  ( (
f `  B )  e.  { (/) ,  { (/) } }  /\  ( ( f `  B )  =  { (/) }  \/  y  =  { (/) } ) ) )
7874, 77sylib 121 . . . . . . . 8  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( ( f `  B )  e.  { (/)
,  { (/) } }  /\  ( ( f `  B )  =  { (/)
}  \/  y  =  { (/) } ) ) )
7978simprd 113 . . . . . . 7  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( ( f `  B )  =  { (/)
}  \/  y  =  { (/) } ) )
8079adantr 274 . . . . . 6  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  ( f `  A
)  =  (/) )  -> 
( ( f `  B )  =  { (/)
}  \/  y  =  { (/) } ) )
8164, 66, 80mpjaodan 793 . . . . 5  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  ( f `  A
)  =  (/) )  -> 
( y  =  { (/)
}  \/  -.  y  =  { (/) } ) )
82 df-dc 830 . . . . 5  |-  (DECID  y  =  { (/) }  <->  ( y  =  { (/) }  \/  -.  y  =  { (/) } ) )
8381, 82sylibr 133 . . . 4  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  ( f `  A
)  =  (/) )  -> DECID  y  =  { (/) } )
84 simpr 109 . . . . . 6  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  y  =  { (/) } )  ->  y  =  { (/)
} )
8584orcd 728 . . . . 5  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  y  =  { (/) } )  ->  ( y  =  { (/) }  \/  -.  y  =  { (/) } ) )
8685, 82sylibr 133 . . . 4  |-  ( ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  /\  y  =  { (/) } )  -> DECID 
y  =  { (/) } )
87 fveq2 5496 . . . . . . . 8  |-  ( z  =  A  ->  (
f `  z )  =  ( f `  A ) )
88 id 19 . . . . . . . 8  |-  ( z  =  A  ->  z  =  A )
8987, 88eleq12d 2241 . . . . . . 7  |-  ( z  =  A  ->  (
( f `  z
)  e.  z  <->  ( f `  A )  e.  A
) )
906prid1 3689 . . . . . . . . 9  |-  A  e. 
{ A ,  B }
9190, 2eleqtrri 2246 . . . . . . . 8  |-  A  e.  C
9291a1i 9 . . . . . . 7  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  ->  A  e.  C )
9389, 70, 92rspcdva 2839 . . . . . 6  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( f `  A
)  e.  A )
94 eqeq1 2177 . . . . . . . 8  |-  ( x  =  ( f `  A )  ->  (
x  =  (/)  <->  ( f `  A )  =  (/) ) )
9594orbi1d 786 . . . . . . 7  |-  ( x  =  ( f `  A )  ->  (
( x  =  (/)  \/  y  =  { (/) } )  <->  ( ( f `
 A )  =  (/)  \/  y  =  { (/)
} ) ) )
9695, 3elrab2 2889 . . . . . 6  |-  ( ( f `  A )  e.  A  <->  ( (
f `  A )  e.  { (/) ,  { (/) } }  /\  ( ( f `  A )  =  (/)  \/  y  =  { (/) } ) ) )
9793, 96sylib 121 . . . . 5  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( ( f `  A )  e.  { (/)
,  { (/) } }  /\  ( ( f `  A )  =  (/)  \/  y  =  { (/) } ) ) )
9897simprd 113 . . . 4  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> 
( ( f `  A )  =  (/)  \/  y  =  { (/) } ) )
9983, 86, 98mpjaodan 793 . . 3  |-  ( ( (CHOICE 
/\  y  C_  { (/) } )  /\  ( f  Fn  C  /\  A. z  e.  C  (
f `  z )  e.  z ) )  -> DECID  y  =  { (/) } )
10044, 99exlimddv 1891 . 2  |-  ( (CHOICE  /\  y  C_  { (/) } )  -> DECID 
y  =  { (/) } )
101100exmid1dc 4186 1  |-  (CHOICE  -> EXMID )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    \/ wo 703  DECID wdc 829    = wceq 1348   E.wex 1485    e. wcel 2141   A.wral 2448   {crab 2452   _Vcvv 2730    C_ wss 3121   (/)c0 3414   {csn 3583   {cpr 3584  EXMIDwem 4180    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-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-coll 4104  ax-sep 4107  ax-nul 4115  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-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  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-exmid 4181  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:  exmidac  7186
  Copyright terms: Public domain W3C validator