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 38850
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 4707 . . . . . . 7 𝑥(𝑥𝐴𝐶)
31, 2nfcxfr 2759 . . . . . 6 𝑥𝐹
43dffo3f 38835 . . . . 5 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
54simplbi 476 . . . 4 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
61fmpt 6337 . . . . . 6 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
76bicomi 214 . . . . 5 (𝐹:𝐴𝐵 ↔ ∀𝑥𝐴 𝐶𝐵)
87biimpi 206 . . . 4 (𝐹:𝐴𝐵 → ∀𝑥𝐴 𝐶𝐵)
95, 8syl 17 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑥𝐴 𝐶𝐵)
103foelrnf 38844 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
11 nfcv 2761 . . . . . . . 8 𝑥𝐴
12 nfcv 2761 . . . . . . . 8 𝑥𝐵
133, 11, 12nffo 6071 . . . . . . 7 𝑥 𝐹:𝐴onto𝐵
14 simpr 477 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = (𝐹𝑥))
15 simpr 477 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝑥𝐴)
169r19.21bi 2927 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝑥𝐴) → 𝐶𝐵)
171fvmpt2 6248 . . . . . . . . . . . 12 ((𝑥𝐴𝐶𝐵) → (𝐹𝑥) = 𝐶)
1815, 16, 17syl2anc 692 . . . . . . . . . . 11 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
1918adantr 481 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → (𝐹𝑥) = 𝐶)
2014, 19eqtrd 2655 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝑥𝐴) ∧ 𝑦 = (𝐹𝑥)) → 𝑦 = 𝐶)
2120ex 450 . . . . . . . 8 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶))
2221ex 450 . . . . . . 7 (𝐹:𝐴onto𝐵 → (𝑥𝐴 → (𝑦 = (𝐹𝑥) → 𝑦 = 𝐶)))
2313, 22reximdai 3006 . . . . . 6 (𝐹:𝐴onto𝐵 → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2423adantr 481 . . . . 5 ((𝐹:𝐴onto𝐵𝑦𝐵) → (∃𝑥𝐴 𝑦 = (𝐹𝑥) → ∃𝑥𝐴 𝑦 = 𝐶))
2510, 24mpd 15 . . . 4 ((𝐹:𝐴onto𝐵𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
2625ralrimiva 2960 . . 3 (𝐹:𝐴onto𝐵 → ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
279, 26jca 554 . 2 (𝐹:𝐴onto𝐵 → (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
286biimpi 206 . . . . 5 (∀𝑥𝐴 𝐶𝐵𝐹:𝐴𝐵)
2928adantr 481 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴𝐵)
30 nfv 1840 . . . . . 6 𝑦𝑥𝐴 𝐶𝐵
31 nfra1 2936 . . . . . 6 𝑦𝑦𝐵𝑥𝐴 𝑦 = 𝐶
3230, 31nfan 1825 . . . . 5 𝑦(∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶)
33 simpll 789 . . . . . . 7 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∀𝑥𝐴 𝐶𝐵)
34 rspa 2925 . . . . . . . 8 ((∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
3534adantll 749 . . . . . . 7 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = 𝐶)
36 nfra1 2936 . . . . . . . . 9 𝑥𝑥𝐴 𝐶𝐵
37 simp3 1061 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = 𝐶)
38 simpr 477 . . . . . . . . . . . . . 14 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝑥𝐴)
39 rspa 2925 . . . . . . . . . . . . . 14 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶𝐵)
4038, 39, 17syl2anc 692 . . . . . . . . . . . . 13 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → (𝐹𝑥) = 𝐶)
4140eqcomd 2627 . . . . . . . . . . . 12 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴) → 𝐶 = (𝐹𝑥))
42413adant3 1079 . . . . . . . . . . 11 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝐶 = (𝐹𝑥))
4337, 42eqtrd 2655 . . . . . . . . . 10 ((∀𝑥𝐴 𝐶𝐵𝑥𝐴𝑦 = 𝐶) → 𝑦 = (𝐹𝑥))
44433exp 1261 . . . . . . . . 9 (∀𝑥𝐴 𝐶𝐵 → (𝑥𝐴 → (𝑦 = 𝐶𝑦 = (𝐹𝑥))))
4536, 44reximdai 3006 . . . . . . . 8 (∀𝑥𝐴 𝐶𝐵 → (∃𝑥𝐴 𝑦 = 𝐶 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4645imp 445 . . . . . . 7 ((∀𝑥𝐴 𝐶𝐵 ∧ ∃𝑥𝐴 𝑦 = 𝐶) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4733, 35, 46syl2anc 692 . . . . . 6 (((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑦 = (𝐹𝑥))
4847ex 450 . . . . 5 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → (𝑦𝐵 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
4932, 48ralrimi 2951 . . . 4 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥))
5029, 49jca 554 . . 3 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
5150, 4sylibr 224 . 2 ((∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶) → 𝐹:𝐴onto𝐵)
5227, 51impbii 199 1 (𝐹:𝐴onto𝐵 ↔ (∀𝑥𝐴 𝐶𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wral 2907  wrex 2908  cmpt 4673  wf 5843  ontowfo 5845  cfv 5847
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-fo 5853  df-fv 5855
This theorem is referenced by:  disjinfi  38851
  Copyright terms: Public domain W3C validator