Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fompt Structured version   Visualization version   GIF version

Theorem fompt 42730
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 fompt.1 . . . . . . 7 𝐹 = (𝑥𝐴𝐶)
2 nfmpt1 5182 . . . . . . 7 𝑥(𝑥𝐴𝐶)
31, 2nfcxfr 2905 . . . . . 6 𝑥𝐹
43dffo3f 42717 . . . . 5 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
54simplbi 498 . . . 4 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
61fmpt 6984 . . . . . 6 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
76bicomi 223 . . . . 5 (𝐹:𝐴𝐵 ↔ ∀𝑥𝐴 𝐶𝐵)
87biimpi 215 . . . 4 (𝐹:𝐴𝐵 → ∀𝑥𝐴 𝐶𝐵)
95, 8syl 17 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑥𝐴 𝐶𝐵)
103foelrnf 42724 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
11 nfcv 2907 . . . . . . . 8 𝑥𝐴
12 nfcv 2907 . . . . . . . 8 𝑥𝐵
133, 11, 12nffo 6687 . . . . . . 7 𝑥 𝐹:𝐴onto𝐵
14 simpr 485 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
15 simpr 485 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝑥𝐴)
169r19.21bi 3134 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝐶𝐵)
171fvmpt2 6886 . . . . . . . . . . . 12 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
1815, 16, 17syl2anc 584 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
1918adantr 481 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) = 𝐶)
2014, 19eqtrd 2778 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = 𝐶)
2120ex 413 . . . . . . . 8 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶))
2221ex 413 . . . . . . 7 (𝐹:𝐴onto𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶)))
2313, 22reximdai 3244 . . . . . 6 (𝐹:𝐴onto𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2423adantr 481 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2510, 24mpd 15 . . . 4 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
2625ralrimiva 3103 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
279, 26jca 512 . 2 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
286biimpi 215 . . . . 5 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
2928adantr 481 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴𝐵)
30 nfv 1917 . . . . . 6 𝑦𝑥𝐴 𝐶𝐵
31 nfra1 3144 . . . . . 6 𝑦𝑦𝐵𝑥𝐴 𝑦 = 𝐶
3230, 31nfan 1902 . . . . 5 𝑦(∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
33 simpll 764 . . . . . . 7 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∀𝑥𝐴 𝐶𝐵)
34 rspa 3132 . . . . . . . 8 ((∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
3534adantll 711 . . . . . . 7 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
36 nfra1 3144 . . . . . . . . 9 𝑥𝑥𝐴 𝐶𝐵
37 simp3 1137 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = 𝐶)
38 simpr 485 . . . . . . . . . . . . . 14 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝑥𝐴)
39 rspa 3132 . . . . . . . . . . . . . 14 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶𝐵)
4038, 39, 17syl2anc 584 . . . . . . . . . . . . 13 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
4140eqcomd 2744 . . . . . . . . . . . 12 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶 = (𝐹𝑥))
42413adant3 1131 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝐶 = (𝐹𝑥))
4337, 42eqtrd 2778 . . . . . . . . . 10 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = (𝐹𝑥))
44433exp 1118 . . . . . . . . 9 (∀𝑥𝐴 𝐶𝐵 → (𝑥𝐴 → (𝑦 = 𝐶𝑦 = (𝐹𝑥))))
4536, 44reximdai 3244 . . . . . . . 8 (∀𝑥𝐴 𝐶𝐵 → (∃𝑥𝐴 𝑦 = 𝐶 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4645imp 407 . . . . . . 7 ((∀𝑥𝐴 𝐶𝐵 ∧ ∃𝑥𝐴 𝑦 = 𝐶) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4733, 35, 46syl2anc 584 . . . . . 6 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4847ex 413 . . . . 5 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → (𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4932, 48ralrimi 3141 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
5029, 49jca 512 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
5150, 4sylibr 233 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴onto𝐵)
5227, 51impbii 208 1 (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  cmpt 5157  wf 6429  ontowfo 6431  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441
This theorem is referenced by:  disjinfi  42731
  Copyright terms: Public domain W3C validator