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

Theorem cbvfo 7022
Description: Change bound variable between domain and range of function. (Contributed by NM, 23-Feb-1997.) (Proof shortened by Mario Carneiro, 21-Mar-2015.)
Hypothesis
Ref Expression
cbvfo.1 ((𝐹𝑥) = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvfo (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝜑 ↔ ∀𝑦𝐵 𝜓))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝐹,𝑦   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐵(𝑥)

Proof of Theorem cbvfo
StepHypRef Expression
1 fofn 6568 . . 3 (𝐹:𝐴onto𝐵𝐹 Fn 𝐴)
2 cbvfo.1 . . . . . 6 ((𝐹𝑥) = 𝑦 → (𝜑𝜓))
32bicomd 225 . . . . 5 ((𝐹𝑥) = 𝑦 → (𝜓𝜑))
43eqcoms 2828 . . . 4 (𝑦 = (𝐹𝑥) → (𝜓𝜑))
54ralrn 6830 . . 3 (𝐹 Fn 𝐴 → (∀𝑦 ∈ ran 𝐹𝜓 ↔ ∀𝑥𝐴 𝜑))
61, 5syl 17 . 2 (𝐹:𝐴onto𝐵 → (∀𝑦 ∈ ran 𝐹𝜓 ↔ ∀𝑥𝐴 𝜑))
7 forn 6569 . . 3 (𝐹:𝐴onto𝐵 → ran 𝐹 = 𝐵)
87raleqdv 3398 . 2 (𝐹:𝐴onto𝐵 → (∀𝑦 ∈ ran 𝐹𝜓 ↔ ∀𝑦𝐵 𝜓))
96, 8bitr3d 283 1 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝜑 ↔ ∀𝑦𝐵 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wral 3125  ran crn 5532   Fn wfn 6326  ontowfo 6329  cfv 6331
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2792  ax-sep 5179  ax-nul 5186  ax-pr 5306
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-ral 3130  df-rex 3131  df-rab 3134  df-v 3475  df-sbc 3753  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4270  df-if 4444  df-sn 4544  df-pr 4546  df-op 4550  df-uni 4815  df-br 5043  df-opab 5105  df-mpt 5123  df-id 5436  df-xp 5537  df-rel 5538  df-cnv 5539  df-co 5540  df-dm 5541  df-rn 5542  df-iota 6290  df-fun 6333  df-fn 6334  df-f 6335  df-fo 6337  df-fv 6339
This theorem is referenced by:  cbvexfo  7023  cocan2  7025  f1oweALT  7651  supisolem  8915  qtopeu  22300  deg1leb  24675  dchrelbas4  25806  cnpconn  32485  cocanfo  35032
  Copyright terms: Public domain W3C validator