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

Theorem fompt 7160
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 6836 . . . 4 (𝐹:𝐴⟶onto𝐵 → 𝐹:𝐴⟶𝐵)
2 fompt.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
32fmpt 7152 . . . 4 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ↔ 𝐹:𝐴⟶𝐵)
41, 3sylibr 237 . . 3 (𝐹:𝐴⟶onto𝐵 → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵)
5 nfmpt1 5213 . . . . . . 7 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐶)
62, 5nfcxfr 2930 . . . . . 6 Ⅎ𝑥𝐹
76foelrnf 7150 . . . . 5 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
8 nfcv 2932 . . . . . . . 8 Ⅎ𝑥𝐴
9 nfcv 2932 . . . . . . . 8 Ⅎ𝑥𝐵
106, 8, 9nffo 6835 . . . . . . 7 Ⅎ𝑥 𝐹:𝐴⟶onto𝐵
11 simpr 490 . . . . . . . . 9 (((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝑦 = (𝐹‘𝑥))
12 simpr 490 . . . . . . . . . . 11 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
134r19.21bi 3261 . . . . . . . . . . 11 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
142fvmpt2 7046 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝐶 ∈ 𝐵) → (𝐹‘𝑥) = 𝐶)
1512, 13, 14syl2anc 596 . . . . . . . . . 10 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐶)
1615adantr 486 . . . . . . . . 9 (((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → (𝐹‘𝑥) = 𝐶)
1711, 16eqtrd 2804 . . . . . . . 8 (((𝐹:𝐴⟶onto𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝑦 = 𝐶)
1817exp31 425 . . . . . . 7 (𝐹:𝐴⟶onto𝐵 → (𝑥 ∈ 𝐴 → (𝑦 = (𝐹‘𝑥) → 𝑦 = 𝐶)))
1910, 18reximdai 3271 . . . . . 6 (𝐹:𝐴⟶onto𝐵 → (∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
2019adantr 486 . . . . 5 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑦 ∈ 𝐵) → (∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
217, 20mpd 16 . . . 4 ((𝐹:𝐴⟶onto𝐵 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
2221ralrimiva 3164 . . 3 (𝐹:𝐴⟶onto𝐵 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
234, 22jca 521 . 2 (𝐹:𝐴⟶onto𝐵 → (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶))
243birani 509 . . 3 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) → 𝐹:𝐴⟶𝐵)
25 nfv 1951 . . . . 5 Ⅎ𝑦∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵
26 nfra1 3293 . . . . 5 Ⅎ𝑦∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶
2725, 26nfan 1936 . . . 4 Ⅎ𝑦(∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
28 simpll 779 . . . . 5 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵)
29 rspa 3258 . . . . . 6 ((∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
3029adantll 727 . . . . 5 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = 𝐶)
31 nfra1 3293 . . . . . 6 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵
32 simp3 1157 . . . . . . . 8 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝑦 = 𝐶)
33 simpr 490 . . . . . . . . . . 11 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
34 rspa 3258 . . . . . . . . . . 11 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
3533, 34, 14syl2anc 596 . . . . . . . . . 10 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐶)
3635eqcomd 2775 . . . . . . . . 9 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝐶 = (𝐹‘𝑥))
37363adant3 1151 . . . . . . . 8 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝐶 = (𝐹‘𝑥))
3832, 37eqtrd 2804 . . . . . . 7 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → 𝑦 = (𝐹‘𝑥))
39383exp 1138 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 → (𝑥 ∈ 𝐴 → (𝑦 = 𝐶 → 𝑦 = (𝐹‘𝑥))))
4031, 39reximdai 3271 . . . . 5 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐶 → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥)))
4128, 30, 40sylc 66 . . . 4 (((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
4227, 41ralrimia 3268 . . 3 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = 𝐶) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))
436dffo3f 7148 . . 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 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096   ↦ cmpt 5195  ⟶wf 6569  ⟶ontowfo 6571  ‘cfv 6573
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fo 6579  df-fv 6581
This theorem is used by:  zringfrac  34234  algextdeglem8  34484  disjinfi  46563
  Copyright terms: Public domain W3C validator