MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  qliftfun Unicode version

Theorem qliftfun 6925
Description: The function  F is the unique function defined by  F `  [
x ]  =  A, provided that the well-definedness condition holds. (Contributed by Mario Carneiro, 23-Dec-2016.)
Hypotheses
Ref Expression
qlift.1  |-  F  =  ran  ( x  e.  X  |->  <. [ x ] R ,  A >. )
qlift.2  |-  ( (
ph  /\  x  e.  X )  ->  A  e.  Y )
qlift.3  |-  ( ph  ->  R  Er  X )
qlift.4  |-  ( ph  ->  X  e.  _V )
qliftfun.4  |-  ( x  =  y  ->  A  =  B )
Assertion
Ref Expression
qliftfun  |-  ( ph  ->  ( Fun  F  <->  A. x A. y ( x R y  ->  A  =  B ) ) )
Distinct variable groups:    y, A    x, B    x, y, ph    x, R, y    y, F   
x, X, y    x, Y, y
Allowed substitution hints:    A( x)    B( y)    F( x)

Proof of Theorem qliftfun
StepHypRef Expression
1 qlift.1 . . 3  |-  F  =  ran  ( x  e.  X  |->  <. [ x ] R ,  A >. )
2 qlift.2 . . . 4  |-  ( (
ph  /\  x  e.  X )  ->  A  e.  Y )
3 qlift.3 . . . 4  |-  ( ph  ->  R  Er  X )
4 qlift.4 . . . 4  |-  ( ph  ->  X  e.  _V )
51, 2, 3, 4qliftlem 6921 . . 3  |-  ( (
ph  /\  x  e.  X )  ->  [ x ] R  e.  ( X /. R ) )
6 eceq1 6877 . . 3  |-  ( x  =  y  ->  [ x ] R  =  [
y ] R )
7 qliftfun.4 . . 3  |-  ( x  =  y  ->  A  =  B )
81, 5, 2, 6, 7fliftfun 5973 . 2  |-  ( ph  ->  ( Fun  F  <->  A. x  e.  X  A. y  e.  X  ( [
x ] R  =  [ y ] R  ->  A  =  B ) ) )
93adantr 452 . . . . . . . . . . 11  |-  ( (
ph  /\  x R
y )  ->  R  Er  X )
10 simpr 448 . . . . . . . . . . 11  |-  ( (
ph  /\  x R
y )  ->  x R y )
119, 10ercl 6852 . . . . . . . . . 10  |-  ( (
ph  /\  x R
y )  ->  x  e.  X )
129, 10ercl2 6854 . . . . . . . . . 10  |-  ( (
ph  /\  x R
y )  ->  y  e.  X )
1311, 12jca 519 . . . . . . . . 9  |-  ( (
ph  /\  x R
y )  ->  (
x  e.  X  /\  y  e.  X )
)
1413ex 424 . . . . . . . 8  |-  ( ph  ->  ( x R y  ->  ( x  e.  X  /\  y  e.  X ) ) )
1514pm4.71rd 617 . . . . . . 7  |-  ( ph  ->  ( x R y  <-> 
( ( x  e.  X  /\  y  e.  X )  /\  x R y ) ) )
163adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X ) )  ->  R  Er  X )
17 simprl 733 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X ) )  ->  x  e.  X )
1816, 17erth 6885 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X ) )  -> 
( x R y  <->  [ x ] R  =  [ y ] R
) )
1918pm5.32da 623 . . . . . . 7  |-  ( ph  ->  ( ( ( x  e.  X  /\  y  e.  X )  /\  x R y )  <->  ( (
x  e.  X  /\  y  e.  X )  /\  [ x ] R  =  [ y ] R
) ) )
2015, 19bitrd 245 . . . . . 6  |-  ( ph  ->  ( x R y  <-> 
( ( x  e.  X  /\  y  e.  X )  /\  [
x ] R  =  [ y ] R
) ) )
2120imbi1d 309 . . . . 5  |-  ( ph  ->  ( ( x R y  ->  A  =  B )  <->  ( (
( x  e.  X  /\  y  e.  X
)  /\  [ x ] R  =  [
y ] R )  ->  A  =  B ) ) )
22 impexp 434 . . . . 5  |-  ( ( ( ( x  e.  X  /\  y  e.  X )  /\  [
x ] R  =  [ y ] R
)  ->  A  =  B )  <->  ( (
x  e.  X  /\  y  e.  X )  ->  ( [ x ] R  =  [ y ] R  ->  A  =  B ) ) )
2321, 22syl6bb 253 . . . 4  |-  ( ph  ->  ( ( x R y  ->  A  =  B )  <->  ( (
x  e.  X  /\  y  e.  X )  ->  ( [ x ] R  =  [ y ] R  ->  A  =  B ) ) ) )
24232albidv 1634 . . 3  |-  ( ph  ->  ( A. x A. y ( x R y  ->  A  =  B )  <->  A. x A. y ( ( x  e.  X  /\  y  e.  X )  ->  ( [ x ] R  =  [ y ] R  ->  A  =  B ) ) ) )
25 r2al 2686 . . 3  |-  ( A. x  e.  X  A. y  e.  X  ( [ x ] R  =  [ y ] R  ->  A  =  B )  <->  A. x A. y ( ( x  e.  X  /\  y  e.  X
)  ->  ( [
x ] R  =  [ y ] R  ->  A  =  B ) ) )
2624, 25syl6bbr 255 . 2  |-  ( ph  ->  ( A. x A. y ( x R y  ->  A  =  B )  <->  A. x  e.  X  A. y  e.  X  ( [
x ] R  =  [ y ] R  ->  A  =  B ) ) )
278, 26bitr4d 248 1  |-  ( ph  ->  ( Fun  F  <->  A. x A. y ( x R y  ->  A  =  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   A.wal 1546    = wceq 1649    e. wcel 1717   A.wral 2649   _Vcvv 2899   <.cop 3760   class class class wbr 4153    e. cmpt 4207   ran crn 4819   Fun wfun 5388    Er wer 6838   [cec 6839   /.cqs 6840
This theorem is referenced by:  qliftfund  6926  qliftfuns  6927
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pow 4318  ax-pr 4344  ax-un 4641
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-op 3766  df-uni 3958  df-br 4154  df-opab 4208  df-mpt 4209  df-id 4439  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-fv 5402  df-er 6841  df-ec 6843  df-qs 6847
  Copyright terms: Public domain W3C validator