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

Theorem fompt 7128
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 6811 . . . 4 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
2 fompt.1 . . . . 5 𝐹 = (𝑥𝐴𝐶)
32fmpt 7120 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
41, 3sylibr 233 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑥𝐴 𝐶𝐵)
5 nfmpt1 5256 . . . . . . 7 𝑥(𝑥𝐴𝐶)
62, 5nfcxfr 2897 . . . . . 6 𝑥𝐹
76foelrnf 7118 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
8 nfcv 2899 . . . . . . . 8 𝑥𝐴
9 nfcv 2899 . . . . . . . 8 𝑥𝐵
106, 8, 9nffo 6810 . . . . . . 7 𝑥 𝐹:𝐴onto𝐵
11 simpr 484 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
12 simpr 484 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝑥𝐴)
134r19.21bi 3245 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝐶𝐵)
142fvmpt2 7016 . . . . . . . . . . 11 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
1512, 13, 14syl2anc 583 . . . . . . . . . 10 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
1615adantr 480 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) = 𝐶)
1711, 16eqtrd 2768 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = 𝐶)
1817exp31 419 . . . . . . 7 (𝐹:𝐴onto𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶)))
1910, 18reximdai 3255 . . . . . 6 (𝐹:𝐴onto𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2019adantr 480 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
217, 20mpd 15 . . . 4 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
2221ralrimiva 3143 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
234, 22jca 511 . 2 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
243biimpi 215 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
2524adantr 480 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴𝐵)
26 nfv 1910 . . . . 5 𝑦𝑥𝐴 𝐶𝐵
27 nfra1 3278 . . . . 5 𝑦𝑦𝐵𝑥𝐴 𝑦 = 𝐶
2826, 27nfan 1895 . . . 4 𝑦(∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
29 simpll 766 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∀𝑥𝐴 𝐶𝐵)
30 rspa 3242 . . . . . 6 ((∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
3130adantll 713 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
32 nfra1 3278 . . . . . 6 𝑥𝑥𝐴 𝐶𝐵
33 simp3 1136 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = 𝐶)
34 simpr 484 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝑥𝐴)
35 rspa 3242 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶𝐵)
3634, 35, 14syl2anc 583 . . . . . . . . . 10 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
3736eqcomd 2734 . . . . . . . . 9 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶 = (𝐹𝑥))
38373adant3 1130 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝐶 = (𝐹𝑥))
3933, 38eqtrd 2768 . . . . . . 7 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = (𝐹𝑥))
40393exp 1117 . . . . . 6 (∀𝑥𝐴 𝐶𝐵 → (𝑥𝐴 → (𝑦 = 𝐶𝑦 = (𝐹𝑥))))
4132, 40reximdai 3255 . . . . 5 (∀𝑥𝐴 𝐶𝐵 → (∃𝑥𝐴 𝑦 = 𝐶 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4229, 31, 41sylc 65 . . . 4 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4328, 42ralrimia 3252 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
446dffo3f 7116 . . 3 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
4525, 43, 44sylanbrc 582 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴onto𝐵)
4623, 45impbii 208 1 (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1534  wcel 2099  wral 3058  wrex 3067  cmpt 5231  wf 6544  ontowfo 6546  cfv 6548
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2699  ax-sep 5299  ax-nul 5306  ax-pr 5429
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2530  df-eu 2559  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2938  df-ral 3059  df-rex 3068  df-rab 3430  df-v 3473  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  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 6500  df-fun 6550  df-fn 6551  df-f 6552  df-fo 6554  df-fv 6556
This theorem is referenced by:  zringfrac  32996  algextdeglem8  33392  disjinfi  44565
  Copyright terms: Public domain W3C validator
OSZAR »