MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fliftf Structured version   Visualization version   GIF version

Theorem fliftf 7166
Description: The domain and range of the function 𝐹. (Contributed by Mario Carneiro, 23-Dec-2016.)
Hypotheses
Ref Expression
flift.1 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐴, 𝐵⟩)
flift.2 ((𝜑𝑥𝑋) → 𝐴𝑅)
flift.3 ((𝜑𝑥𝑋) → 𝐵𝑆)
Assertion
Ref Expression
fliftf (𝜑 → (Fun 𝐹𝐹:ran (𝑥𝑋𝐴)⟶𝑆))
Distinct variable groups:   𝑥,𝑅   𝜑,𝑥   𝑥,𝑋   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐹(𝑥)

Proof of Theorem fliftf
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 484 . . . . 5 ((𝜑 ∧ Fun 𝐹) → Fun 𝐹)
2 flift.1 . . . . . . . . . . 11 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐴, 𝐵⟩)
3 flift.2 . . . . . . . . . . 11 ((𝜑𝑥𝑋) → 𝐴𝑅)
4 flift.3 . . . . . . . . . . 11 ((𝜑𝑥𝑋) → 𝐵𝑆)
52, 3, 4fliftel 7160 . . . . . . . . . 10 (𝜑 → (𝑦𝐹𝑧 ↔ ∃𝑥𝑋 (𝑦 = 𝐴𝑧 = 𝐵)))
65exbidv 1925 . . . . . . . . 9 (𝜑 → (∃𝑧 𝑦𝐹𝑧 ↔ ∃𝑧𝑥𝑋 (𝑦 = 𝐴𝑧 = 𝐵)))
76adantr 480 . . . . . . . 8 ((𝜑 ∧ Fun 𝐹) → (∃𝑧 𝑦𝐹𝑧 ↔ ∃𝑧𝑥𝑋 (𝑦 = 𝐴𝑧 = 𝐵)))
8 rexcom4 3179 . . . . . . . . 9 (∃𝑥𝑋𝑧(𝑦 = 𝐴𝑧 = 𝐵) ↔ ∃𝑧𝑥𝑋 (𝑦 = 𝐴𝑧 = 𝐵))
9 19.42v 1958 . . . . . . . . . . . 12 (∃𝑧(𝑦 = 𝐴𝑧 = 𝐵) ↔ (𝑦 = 𝐴 ∧ ∃𝑧 𝑧 = 𝐵))
10 elisset 2820 . . . . . . . . . . . . . 14 (𝐵𝑆 → ∃𝑧 𝑧 = 𝐵)
114, 10syl 17 . . . . . . . . . . . . 13 ((𝜑𝑥𝑋) → ∃𝑧 𝑧 = 𝐵)
1211biantrud 531 . . . . . . . . . . . 12 ((𝜑𝑥𝑋) → (𝑦 = 𝐴 ↔ (𝑦 = 𝐴 ∧ ∃𝑧 𝑧 = 𝐵)))
139, 12bitr4id 289 . . . . . . . . . . 11 ((𝜑𝑥𝑋) → (∃𝑧(𝑦 = 𝐴𝑧 = 𝐵) ↔ 𝑦 = 𝐴))
1413rexbidva 3224 . . . . . . . . . 10 (𝜑 → (∃𝑥𝑋𝑧(𝑦 = 𝐴𝑧 = 𝐵) ↔ ∃𝑥𝑋 𝑦 = 𝐴))
1514adantr 480 . . . . . . . . 9 ((𝜑 ∧ Fun 𝐹) → (∃𝑥𝑋𝑧(𝑦 = 𝐴𝑧 = 𝐵) ↔ ∃𝑥𝑋 𝑦 = 𝐴))
168, 15bitr3id 284 . . . . . . . 8 ((𝜑 ∧ Fun 𝐹) → (∃𝑧𝑥𝑋 (𝑦 = 𝐴𝑧 = 𝐵) ↔ ∃𝑥𝑋 𝑦 = 𝐴))
177, 16bitrd 278 . . . . . . 7 ((𝜑 ∧ Fun 𝐹) → (∃𝑧 𝑦𝐹𝑧 ↔ ∃𝑥𝑋 𝑦 = 𝐴))
1817abbidv 2808 . . . . . 6 ((𝜑 ∧ Fun 𝐹) → {𝑦 ∣ ∃𝑧 𝑦𝐹𝑧} = {𝑦 ∣ ∃𝑥𝑋 𝑦 = 𝐴})
19 df-dm 5590 . . . . . 6 dom 𝐹 = {𝑦 ∣ ∃𝑧 𝑦𝐹𝑧}
20 eqid 2738 . . . . . . 7 (𝑥𝑋𝐴) = (𝑥𝑋𝐴)
2120rnmpt 5853 . . . . . 6 ran (𝑥𝑋𝐴) = {𝑦 ∣ ∃𝑥𝑋 𝑦 = 𝐴}
2218, 19, 213eqtr4g 2804 . . . . 5 ((𝜑 ∧ Fun 𝐹) → dom 𝐹 = ran (𝑥𝑋𝐴))
23 df-fn 6421 . . . . 5 (𝐹 Fn ran (𝑥𝑋𝐴) ↔ (Fun 𝐹 ∧ dom 𝐹 = ran (𝑥𝑋𝐴)))
241, 22, 23sylanbrc 582 . . . 4 ((𝜑 ∧ Fun 𝐹) → 𝐹 Fn ran (𝑥𝑋𝐴))
252, 3, 4fliftrel 7159 . . . . . . 7 (𝜑𝐹 ⊆ (𝑅 × 𝑆))
2625adantr 480 . . . . . 6 ((𝜑 ∧ Fun 𝐹) → 𝐹 ⊆ (𝑅 × 𝑆))
27 rnss 5837 . . . . . 6 (𝐹 ⊆ (𝑅 × 𝑆) → ran 𝐹 ⊆ ran (𝑅 × 𝑆))
2826, 27syl 17 . . . . 5 ((𝜑 ∧ Fun 𝐹) → ran 𝐹 ⊆ ran (𝑅 × 𝑆))
29 rnxpss 6064 . . . . 5 ran (𝑅 × 𝑆) ⊆ 𝑆
3028, 29sstrdi 3929 . . . 4 ((𝜑 ∧ Fun 𝐹) → ran 𝐹𝑆)
31 df-f 6422 . . . 4 (𝐹:ran (𝑥𝑋𝐴)⟶𝑆 ↔ (𝐹 Fn ran (𝑥𝑋𝐴) ∧ ran 𝐹𝑆))
3224, 30, 31sylanbrc 582 . . 3 ((𝜑 ∧ Fun 𝐹) → 𝐹:ran (𝑥𝑋𝐴)⟶𝑆)
3332ex 412 . 2 (𝜑 → (Fun 𝐹𝐹:ran (𝑥𝑋𝐴)⟶𝑆))
34 ffun 6587 . 2 (𝐹:ran (𝑥𝑋𝐴)⟶𝑆 → Fun 𝐹)
3533, 34impbid1 224 1 (𝜑 → (Fun 𝐹𝐹:ran (𝑥𝑋𝐴)⟶𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wrex 3064  wss 3883  cop 4564   class class class wbr 5070  cmpt 5153   × cxp 5578  dom cdm 5580  ran crn 5581  Fun wfun 6412   Fn wfn 6413  wf 6414
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-fun 6420  df-fn 6421  df-f 6422
This theorem is referenced by:  qliftf  8552  cygznlem2a  20687  pi1xfrf  24122  pi1cof  24128
  Copyright terms: Public domain W3C validator