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

Theorem fompt 7119
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 6797 . . . 4 (𝐹:𝐴–onto→𝐵 → 𝐹:𝐴⟶𝐵)
2 fompt.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
32fmpt 7111 . . . 4 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ↔ 𝐹:𝐴⟶𝐵)
41, 3sylibr 237 . . 3 (𝐹:𝐴–onto→𝐵 → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵)
5 nfmpt1 5203 . . . . . . 7 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐶)
62, 5nfcxfr 2920 . . . . . 6 Ⅎ𝑥𝐹
76foelrnf 7109 . . . . 5 ((𝐹:𝐴–onto→𝐵 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
8 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝐴
9 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝐵
106, 8, 9nffo 6796 . . . . . . 7 Ⅎ𝑥 𝐹:𝐴–onto→𝐵
11 simpr 490 . . . . . . . . 9 (((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝑦 = (𝐹‘𝑥))
12 simpr 490 . . . . . . . . . . 11 ((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
134r19.21bi 3254 . . . . . . . . . . 11 ((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
142fvmpt2 7006 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝐶 ∈ 𝐵) → (𝐹‘𝑥) = 𝐶)
1512, 13, 14syl2anc 596 . . . . . . . . . 10 ((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐶)
1615adantr 486 . . . . . . . . 9 (((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → (𝐹‘𝑥) = 𝐶)
1711, 16eqtrd 2795 . . . . . . . 8 (((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝑦 = 𝐶)
1817exp31 425 . . . . . . 7 (𝐹:𝐴–onto→𝐵 → (𝑥 ∈ 𝐴 → (𝑦 = (𝐹‘𝑥) → 𝑦 = 𝐶)))
1910, 18reximdai 3264 . . . . . 6 (𝐹:𝐴–onto→𝐵 → (∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
2019adantr 486 . . . . 5 ((𝐹:𝐴–onto→𝐵 ∧ 𝑦 ∈ 𝐵) → (∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
217, 20mpd 16 . . . 4 ((𝐹:𝐴–onto→𝐵 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
2221ralrimiva 3154 . . 3 (𝐹:𝐴–onto→𝐵 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
234, 22jca 521 . 2 (𝐹:𝐴–onto→𝐵 → (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
243birani 509 . . 3 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) → 𝐹:𝐴⟶𝐵)
25 nfv 1946 . . . . 5 Ⅎ𝑦∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵
26 nfra1 3286 . . . . 5 Ⅎ𝑦∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶
2725, 26nfan 1931 . . . 4 Ⅎ𝑦(∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
28 simpll 779 . . . . 5 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵)
29 rspa 3251 . . . . . 6 ((∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
3029adantll 727 . . . . 5 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
31 nfra1 3286 . . . . . 6 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵
32 simp3 1156 . . . . . . . 8 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝑦 = 𝐶)
33 simpr 490 . . . . . . . . . . 11 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
34 rspa 3251 . . . . . . . . . . 11 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
3533, 34, 14syl2anc 596 . . . . . . . . . 10 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐶)
3635eqcomd 2766 . . . . . . . . 9 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 = (𝐹‘𝑥))
37363adant3 1150 . . . . . . . 8 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝐶 = (𝐹‘𝑥))
3832, 37eqtrd 2795 . . . . . . 7 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝑦 = (𝐹‘𝑥))
39383exp 1137 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 → (𝑥 ∈ 𝐴 → (𝑦 = 𝐶 → 𝑦 = (𝐹‘𝑥))))
4031, 39reximdai 3264 . . . . 5 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐶 → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥)))
4128, 30, 40sylc 66 . . . 4 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
4227, 41ralrimia 3261 . . 3 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
436dffo3f 7107 . . 3 (𝐹:𝐴–onto→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥)))
4424, 42, 43sylanbrc 595 . 2 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) → 𝐹:𝐴–onto→𝐵)
4523, 44impbii 212 1 (𝐹:𝐴–onto→𝐵 ↔ (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086   ↦ cmpt 5185  ⟶wf 6535  –onto→wfo 6537  ‘cfv 6539
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fo 6545  df-fv 6547
This theorem is used by:  zringfrac  34133  algextdeglem8  34403  disjinfi  46301
  Copyright terms: Public domain W3C validator