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

Theorem fodomacn 9985
Description: A version of fodom 10452 that doesn't require the Axiom of Choice ax-ac 10388. 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 7061 . . . . 5 ((𝐹:𝐴onto𝐵𝑥𝐵) → ∃𝑦𝐴 𝑥 = (𝐹𝑦))
21ralrimiva 3125 . . . 4 (𝐹:𝐴onto𝐵 → ∀𝑥𝐵𝑦𝐴 𝑥 = (𝐹𝑦))
3 fveq2 6840 . . . . . 6 (𝑦 = (𝑓𝑥) → (𝐹𝑦) = (𝐹‘(𝑓𝑥)))
43eqeq2d 2740 . . . . 5 (𝑦 = (𝑓𝑥) → (𝑥 = (𝐹𝑦) ↔ 𝑥 = (𝐹‘(𝑓𝑥))))
54acni3 9976 . . . 4 ((𝐴AC 𝐵 ∧ ∀𝑥𝐵𝑦𝐴 𝑥 = (𝐹𝑦)) → ∃𝑓(𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥))))
62, 5sylan2 593 . . 3 ((𝐴AC 𝐵𝐹:𝐴onto𝐵) → ∃𝑓(𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥))))
7 simpll 766 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐴AC 𝐵)
8 acnrcl 9971 . . . . 5 (𝐴AC 𝐵𝐵 ∈ V)
97, 8syl 17 . . . 4 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐵 ∈ V)
10 simprl 770 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝑓:𝐵𝐴)
11 fveq2 6840 . . . . . . 7 ((𝑓𝑦) = (𝑓𝑧) → (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧)))
12 simprr 772 . . . . . . . 8 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))
13 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑦𝑥 = 𝑦)
14 2fveq3 6845 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝐹‘(𝑓𝑥)) = (𝐹‘(𝑓𝑦)))
1513, 14eqeq12d 2745 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 = (𝐹‘(𝑓𝑥)) ↔ 𝑦 = (𝐹‘(𝑓𝑦))))
1615rspccva 3584 . . . . . . . . . 10 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑦𝐵) → 𝑦 = (𝐹‘(𝑓𝑦)))
17 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑧𝑥 = 𝑧)
18 2fveq3 6845 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝐹‘(𝑓𝑥)) = (𝐹‘(𝑓𝑧)))
1917, 18eqeq12d 2745 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑥 = (𝐹‘(𝑓𝑥)) ↔ 𝑧 = (𝐹‘(𝑓𝑧))))
2019rspccva 3584 . . . . . . . . . 10 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑧𝐵) → 𝑧 = (𝐹‘(𝑓𝑧)))
2116, 20eqeqan12d 2743 . . . . . . . . 9 (((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑦𝐵) ∧ (∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ 𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2221anandis 678 . . . . . . . 8 ((∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)) ∧ (𝑦𝐵𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2312, 22sylan 580 . . . . . . 7 ((((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) ∧ (𝑦𝐵𝑧𝐵)) → (𝑦 = 𝑧 ↔ (𝐹‘(𝑓𝑦)) = (𝐹‘(𝑓𝑧))))
2411, 23imbitrrid 246 . . . . . 6 ((((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) ∧ (𝑦𝐵𝑧𝐵)) → ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧))
2524ralrimivva 3178 . . . . 5 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → ∀𝑦𝐵𝑧𝐵 ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧))
26 dff13 7211 . . . . 5 (𝑓:𝐵1-1𝐴 ↔ (𝑓:𝐵𝐴 ∧ ∀𝑦𝐵𝑧𝐵 ((𝑓𝑦) = (𝑓𝑧) → 𝑦 = 𝑧)))
2710, 25, 26sylanbrc 583 . . . 4 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝑓:𝐵1-1𝐴)
28 f1dom2g 8918 . . . 4 ((𝐵 ∈ V ∧ 𝐴AC 𝐵𝑓:𝐵1-1𝐴) → 𝐵𝐴)
299, 7, 27, 28syl3anc 1373 . . 3 (((𝐴AC 𝐵𝐹:𝐴onto𝐵) ∧ (𝑓:𝐵𝐴 ∧ ∀𝑥𝐵 𝑥 = (𝐹‘(𝑓𝑥)))) → 𝐵𝐴)
306, 29exlimddv 1935 . 2 ((𝐴AC 𝐵𝐹:𝐴onto𝐵) → 𝐵𝐴)
3130ex 412 1 (𝐴AC 𝐵 → (𝐹:𝐴onto𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wex 1779  wcel 2109  wral 3044  wrex 3053  Vcvv 3444   class class class wbr 5102  wf 6495  1-1wf1 6496  ontowfo 6497  cfv 6499  cdom 8893  AC wacn 9867
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-f1 6504  df-fo 6505  df-fv 6507  df-ov 7372  df-oprab 7373  df-mpo 7374  df-map 8778  df-dom 8897  df-acn 9871
This theorem is referenced by:  fodomnum  9986  iundomg  10470
  Copyright terms: Public domain W3C validator