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

Theorem fodomacn 9992
Description: A version of fodom 10459 that doesn't require the Axiom of Choice ax-ac 10395. If 𝐴 has choice sequences of length 𝐵, then any surjection from 𝐴 to 𝐵 can be inverted to an injection the other way. (Contributed by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
fodomacn (𝐴AC 𝐵 → (𝐹:𝐴onto𝐵𝐵𝐴))

Proof of Theorem fodomacn
Dummy variables 𝑥 𝑓 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 foelrn 7056 . . . . 5 ((𝐹:𝐴onto𝐵𝑥𝐵) → ∃𝑦𝐴 𝑥 = (𝐹𝑦))
21ralrimiva 3143 . . . 4 (𝐹:𝐴onto𝐵 → ∀𝑥𝐵𝑦𝐴 𝑥 = (𝐹𝑦))
3 fveq2 6842 . . . . . 6 (𝑦 = (𝑓𝑥) → (𝐹𝑦) = (𝐹‘(𝑓𝑥)))
43eqeq2d 2747 . . . . 5 (𝑦 = (𝑓𝑥) → (𝑥 = (𝐹𝑦) ↔ 𝑥 = (𝐹‘(𝑓𝑥))))
54acni3 9983 . . . 4 ((𝐴AC 𝐵 ∧ ∀𝑥𝐵𝑦𝐴 𝑥 = (𝐹𝑦)) → ∃𝑓(𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥))))
62, 5sylan2 593 . . 3 ((𝐴AC 𝐵𝐹:𝐴onto𝐵) → ∃𝑓(𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥))))
7 simpll 765 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐴AC 𝐵)
8 acnrcl 9978 . . . . 5 (𝐴AC 𝐵𝐵 ∈ V)
97, 8syl 17 . . . 4 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐵 ∈ V)
10 simprl 769 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝑓:𝐵𝐴)
11 fveq2 6842 . . . . . . 7 ((𝑓𝑦) = (𝑓𝑧) → (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧)))
12 simprr 771 . . . . . . . 8 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))
13 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑦𝑥 = 𝑦)
14 2fveq3 6847 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐹‘(𝑓𝑥)) = (𝐹‘(𝑓𝑦)))
1513, 14eqeq12d 2752 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 = (𝐹‘(𝑓𝑥)) ↔ 𝑦 = (𝐹‘(𝑓𝑦))))
1615rspccva 3580 . . . . . . . . . 10 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑦𝐵) → 𝑦 = (𝐹‘(𝑓𝑦)))
17 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑧𝑥 = 𝑧)
18 2fveq3 6847 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝐹‘(𝑓𝑥)) = (𝐹‘(𝑓𝑧)))
1917, 18eqeq12d 2752 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑥 = (𝐹‘(𝑓𝑥)) ↔ 𝑧 = (𝐹‘(𝑓𝑧))))
2019rspccva 3580 . . . . . . . . . 10 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑧𝐵) → 𝑧 = (𝐹‘(𝑓𝑧)))
2116, 20eqeqan12d 2750 . . . . . . . . 9 (((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑦𝐵) ∧ (∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2221anandis 676 . . . . . . . 8 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ (𝑦𝐵𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2312, 22sylan 580 . . . . . . 7 ((((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) ∧ (𝑦𝐵𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2411, 23syl5ibr 245 . . . . . 6 ((((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) ∧ (𝑦𝐵𝑧𝐵)) → ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧))
2524ralrimivva 3197 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → ∀𝑦𝐵𝑧𝐵 ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧))
26 dff13 7202 . . . . 5 (𝑓:𝐵1-1𝐴 ↔ (𝑓:𝐵𝐴 ∧ ∀𝑦𝐵𝑧𝐵 ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧)))
2710, 25, 26sylanbrc 583 . . . 4 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝑓:𝐵1-1𝐴)
28 f1dom2g 8909 . . . 4 ((𝐵 ∈ V ∧ 𝐴AC 𝐵𝑓:𝐵1-1𝐴) → 𝐵𝐴)
299, 7, 27, 28syl3anc 1371 . . 3 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐵𝐴)
306, 29exlimddv 1938 . 2 ((𝐴AC 𝐵𝐹:𝐴onto𝐵) → 𝐵𝐴)
3130ex 413 1 (𝐴AC 𝐵 → (𝐹:𝐴onto𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wex 1781  wcel 2106  wral 3064  wrex 3073  Vcvv 3445   class class class wbr 5105  wf 6492  1-1wf1 6493  ontowfo 6494  cfv 6496  cdom 8881  AC wacn 9874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2707  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ne 2944  df-ral 3065  df-rex 3074  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-br 5106  df-opab 5168  df-mpt 5189  df-id 5531  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-fv 6504  df-ov 7360  df-oprab 7361  df-mpo 7362  df-map 8767  df-dom 8885  df-acn 9878
This theorem is referenced by:  fodomnum  9993  iundomg  10477
  Copyright terms: Public domain W3C validator