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

Theorem fompt 7152
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 6834 . . . 4 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
2 fompt.1 . . . . 5 𝐹 = (𝑥𝐴𝐶)
32fmpt 7144 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
41, 3sylibr 234 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑥𝐴 𝐶𝐵)
5 nfmpt1 5274 . . . . . . 7 𝑥(𝑥𝐴𝐶)
62, 5nfcxfr 2906 . . . . . 6 𝑥𝐹
76foelrnf 7142 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
8 nfcv 2908 . . . . . . . 8 𝑥𝐴
9 nfcv 2908 . . . . . . . 8 𝑥𝐵
106, 8, 9nffo 6833 . . . . . . 7 𝑥 𝐹:𝐴onto𝐵
11 simpr 484 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
12 simpr 484 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝑥𝐴)
134r19.21bi 3257 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝐶𝐵)
142fvmpt2 7040 . . . . . . . . . . 11 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
1512, 13, 14syl2anc 583 . . . . . . . . . 10 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
1615adantr 480 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) = 𝐶)
1711, 16eqtrd 2780 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = 𝐶)
1817exp31 419 . . . . . . 7 (𝐹:𝐴onto𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶)))
1910, 18reximdai 3267 . . . . . 6 (𝐹:𝐴onto𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2019adantr 480 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
217, 20mpd 15 . . . 4 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
2221ralrimiva 3152 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
234, 22jca 511 . 2 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
243biimpi 216 . . . 4 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
2524adantr 480 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴𝐵)
26 nfv 1913 . . . . 5 𝑦𝑥𝐴 𝐶𝐵
27 nfra1 3290 . . . . 5 𝑦𝑦𝐵𝑥𝐴 𝑦 = 𝐶
2826, 27nfan 1898 . . . 4 𝑦(∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
29 simpll 766 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∀𝑥𝐴 𝐶𝐵)
30 rspa 3254 . . . . . 6 ((∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
3130adantll 713 . . . . 5 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
32 nfra1 3290 . . . . . 6 𝑥𝑥𝐴 𝐶𝐵
33 simp3 1138 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = 𝐶)
34 simpr 484 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝑥𝐴)
35 rspa 3254 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶𝐵)
3634, 35, 14syl2anc 583 . . . . . . . . . 10 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
3736eqcomd 2746 . . . . . . . . 9 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶 = (𝐹𝑥))
38373adant3 1132 . . . . . . . 8 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝐶 = (𝐹𝑥))
3933, 38eqtrd 2780 . . . . . . 7 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = (𝐹𝑥))
40393exp 1119 . . . . . 6 (∀𝑥𝐴 𝐶𝐵 → (𝑥𝐴 → (𝑦 = 𝐶𝑦 = (𝐹𝑥))))
4132, 40reximdai 3267 . . . . 5 (∀𝑥𝐴 𝐶𝐵 → (∃𝑥𝐴 𝑦 = 𝐶 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4229, 31, 41sylc 65 . . . 4 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4328, 42ralrimia 3264 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
446dffo3f 7140 . . 3 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
4525, 43, 44sylanbrc 582 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴onto𝐵)
4623, 45impbii 209 1 (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1087   = wceq 1537  wcel 2108  wral 3067  wrex 3076  cmpt 5249  wf 6569  ontowfo 6571  cfv 6573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-fo 6579  df-fv 6581
This theorem is referenced by:  zringfrac  33547  algextdeglem8  33715  disjinfi  45099
  Copyright terms: Public domain W3C validator