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

Theorem fompt 7127
Description: Express being onto for a mapping operation. (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Hypothesis
Ref Expression
fompt.1 𝐹 = (𝑥𝐴𝐶)
Assertion
Ref Expression
fompt (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑦,𝐶   𝑦,𝐹
Allowed substitution hints:   𝐶(𝑥)   𝐹(𝑥)

Proof of Theorem fompt
StepHypRef Expression
1 fof 6810 . . . 4 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
2 fompt.1 . . . . 5 𝐹 = (𝑥𝐴𝐶)
32fmpt 7119 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
41, 3sylibr 233 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑥𝐴 𝐶𝐵)
5 nfmpt1 5257 . . . . . . 7 𝑥(𝑥𝐴𝐶)
62, 5nfcxfr 2889 . . . . . 6 𝑥𝐹
76foelrnf 7117 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
8 nfcv 2891 . . . . . . . 8 𝑥𝐴
9 nfcv 2891 . . . . . . . 8 𝑥𝐵
106, 8, 9nffo 6809 . . . . . . 7 𝑥 𝐹:𝐴onto𝐵
11 simpr 483 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
12 simpr 483 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝑥𝐴)
134r19.21bi 3238 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝐶𝐵)
142fvmpt2 7015 . . . . . . . . . . 11 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
1512, 13, 14syl2anc 582 . . . . . . . . . 10 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
1615adantr 479 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) = 𝐶)
1711, 16eqtrd 2765 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = 𝐶)
1817exp31 418 . . . . . . 7 (𝐹:𝐴onto𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶)))
1910, 18reximdai 3248 . . . . . 6 (𝐹:𝐴onto𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2019adantr 479 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
217, 20mpd 15 . . . 4 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
2221ralrimiva 3135 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
234, 22jca 510 . 2 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
243biimpi 215 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
2524adantr 479 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴𝐵)
26 nfv 1909 . . . . 5 𝑦𝑥𝐴 𝐶𝐵
27 nfra1 3271 . . . . 5 𝑦𝑦𝐵𝑥𝐴 𝑦 = 𝐶
2826, 27nfan 1894 . . . 4 𝑦(∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
29 simpll 765 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∀𝑥𝐴 𝐶𝐵)
30 rspa 3235 . . . . . 6 ((∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
3130adantll 712 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
32 nfra1 3271 . . . . . 6 𝑥𝑥𝐴 𝐶𝐵
33 simp3 1135 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = 𝐶)
34 simpr 483 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝑥𝐴)
35 rspa 3235 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶𝐵)
3634, 35, 14syl2anc 582 . . . . . . . . . 10 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
3736eqcomd 2731 . . . . . . . . 9 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶 = (𝐹𝑥))
38373adant3 1129 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝐶 = (𝐹𝑥))
3933, 38eqtrd 2765 . . . . . . 7 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = (𝐹𝑥))
40393exp 1116 . . . . . 6 (∀𝑥𝐴 𝐶𝐵 → (𝑥𝐴 → (𝑦 = 𝐶𝑦 = (𝐹𝑥))))
4132, 40reximdai 3248 . . . . 5 (∀𝑥𝐴 𝐶𝐵 → (∃𝑥𝐴 𝑦 = 𝐶 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4229, 31, 41sylc 65 . . . 4 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4328, 42ralrimia 3245 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
446dffo3f 7115 . . 3 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
4525, 43, 44sylanbrc 581 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴onto𝐵)
4623, 45impbii 208 1 (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394  w3a 1084   = wceq 1533  wcel 2098  wral 3050  wrex 3059  cmpt 5232  wf 6545  ontowfo 6547  cfv 6549
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5300  ax-nul 5307  ax-pr 5429
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-ral 3051  df-rex 3060  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4323  df-if 4531  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4910  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5576  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-iota 6501  df-fun 6551  df-fn 6552  df-f 6553  df-fo 6555  df-fv 6557
This theorem is referenced by:  zringfrac  33366  algextdeglem8  33520  disjinfi  44701
  Copyright terms: Public domain W3C validator