Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dffo3f Structured version   Visualization version   GIF version

Theorem dffo3f 38359
Description: An onto mapping expressed in terms of function values. As dffo3 6282 but with less disjoint vars constraints. (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Hypothesis
Ref Expression
dffo3f.1 𝑥𝐹
Assertion
Ref Expression
dffo3f (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑦,𝐹
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem dffo3f
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 dffo2 6032 . 2 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵))
2 ffn 5958 . . . . 5 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
3 fnrnfv 6152 . . . . . . 7 (𝐹 Fn 𝐴 → ran 𝐹 = {𝑦 ∣ ∃𝑤𝐴 𝑦 = (𝐹𝑤)})
4 nfcv 2751 . . . . . . . . . . 11 𝑥𝑦
5 dffo3f.1 . . . . . . . . . . . 12 𝑥𝐹
6 nfcv 2751 . . . . . . . . . . . 12 𝑥𝑤
75, 6nffv 6110 . . . . . . . . . . 11 𝑥(𝐹𝑤)
84, 7nfeq 2762 . . . . . . . . . 10 𝑥 𝑦 = (𝐹𝑤)
9 nfv 1830 . . . . . . . . . 10 𝑤 𝑦 = (𝐹𝑥)
10 fveq2 6103 . . . . . . . . . . 11 (𝑤 = 𝑥 → (𝐹𝑤) = (𝐹𝑥))
1110eqeq2d 2620 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝑦 = (𝐹𝑤) ↔ 𝑦 = (𝐹𝑥)))
128, 9, 11cbvrex 3144 . . . . . . . . 9 (∃𝑤𝐴 𝑦 = (𝐹𝑤) ↔ ∃𝑥𝐴 𝑦 = (𝐹𝑥))
1312abbii 2726 . . . . . . . 8 {𝑦 ∣ ∃𝑤𝐴 𝑦 = (𝐹𝑤)} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)}
1413a1i 11 . . . . . . 7 (𝐹 Fn 𝐴 → {𝑦 ∣ ∃𝑤𝐴 𝑦 = (𝐹𝑤)} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)})
153, 14eqtrd 2644 . . . . . 6 (𝐹 Fn 𝐴 → ran 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)})
1615eqeq1d 2612 . . . . 5 (𝐹 Fn 𝐴 → (ran 𝐹 = 𝐵 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)} = 𝐵))
172, 16syl 17 . . . 4 (𝐹:𝐴𝐵 → (ran 𝐹 = 𝐵 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)} = 𝐵))
18 nfcv 2751 . . . . . . . . . 10 𝑥𝐴
19 nfcv 2751 . . . . . . . . . 10 𝑥𝐵
205, 18, 19nff 5954 . . . . . . . . 9 𝑥 𝐹:𝐴𝐵
21 nfv 1830 . . . . . . . . 9 𝑥 𝑦𝐵
22 simpr 476 . . . . . . . . . . 11 (((𝐹:𝐴𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
23 ffvelrn 6265 . . . . . . . . . . . 12 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
2423adantr 480 . . . . . . . . . . 11 (((𝐹:𝐴𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) ∈ 𝐵)
2522, 24eqeltrd 2688 . . . . . . . . . 10 (((𝐹:𝐴𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦𝐵)
2625exp31 628 . . . . . . . . 9 (𝐹:𝐴𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦𝐵)))
2720, 21, 26rexlimd 3008 . . . . . . . 8 (𝐹:𝐴𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → 𝑦𝐵))
2827biantrurd 528 . . . . . . 7 (𝐹:𝐴𝐵 → ((𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)) ↔ ((∃𝑥𝐴 𝑦 = (𝐹𝑥) → 𝑦𝐵) ∧ (𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))))
29 dfbi2 658 . . . . . . 7 ((∃𝑥𝐴 𝑦 = (𝐹𝑥) ↔ 𝑦𝐵) ↔ ((∃𝑥𝐴 𝑦 = (𝐹𝑥) → 𝑦𝐵) ∧ (𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥))))
3028, 29syl6rbbr 278 . . . . . 6 (𝐹:𝐴𝐵 → ((∃𝑥𝐴 𝑦 = (𝐹𝑥) ↔ 𝑦𝐵) ↔ (𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥))))
3130albidv 1836 . . . . 5 (𝐹:𝐴𝐵 → (∀𝑦(∃𝑥𝐴 𝑦 = (𝐹𝑥) ↔ 𝑦𝐵) ↔ ∀𝑦(𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥))))
32 abeq1 2720 . . . . 5 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)} = 𝐵 ↔ ∀𝑦(∃𝑥𝐴 𝑦 = (𝐹𝑥) ↔ 𝑦𝐵))
33 df-ral 2901 . . . . 5 (∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥) ↔ ∀𝑦(𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
3431, 32, 333bitr4g 302 . . . 4 (𝐹:𝐴𝐵 → ({𝑦 ∣ ∃𝑥𝐴 𝑦 = (𝐹𝑥)} = 𝐵 ↔ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
3517, 34bitrd 267 . . 3 (𝐹:𝐴𝐵 → (ran 𝐹 = 𝐵 ↔ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
3635pm5.32i 667 . 2 ((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
371, 36bitri 263 1 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wcel 1977  {cab 2596  wnfc 2738  wral 2896  wrex 2897  ran crn 5039   Fn wfn 5799  wf 5800  ontowfo 5802  cfv 5804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-fo 5810  df-fv 5812
This theorem is referenced by:  foelrnf  38368  fompt  38374
  Copyright terms: Public domain W3C validator