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

Theorem fodomfib 9368
Description: Equivalence of an onto mapping and dominance for a nonempty finite set. Unlike fodomb 10654 for arbitrary sets, this theorem does not require the Axiom of Replacement nor the Axiom of Power Sets nor the Axiom of Choice for its proof. (Contributed by NM, 23-Mar-2006.) Avoid ax-pow 5337. (Revised by BTernaryTau, 23-Jun-2025.)
Assertion
Ref Expression
fodomfib (𝐴 ∈ Fin → ((𝐴 ≠ ∅ ∧ ∃𝑓 𝑓:𝐴⟶onto𝐵) ↔ (∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴)))
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓

Proof of Theorem fodomfib
StepHypRef Expression
1 fof 6836 . . . . . . . . . . . . 13 (𝑓:𝐴⟶onto𝐵 → 𝑓:𝐴⟶𝐵)
21fdmd 6760 . . . . . . . . . . . 12 (𝑓:𝐴⟶onto𝐵 → dom 𝑓 = 𝐴)
32eqeq1d 2771 . . . . . . . . . . 11 (𝑓:𝐴⟶onto𝐵 → (dom 𝑓 = ∅ ↔ 𝐴 = ∅))
4 dm0rn0 5921 . . . . . . . . . . . 12 (dom 𝑓 = ∅ ↔ ran 𝑓 = ∅)
5 forn 6839 . . . . . . . . . . . . 13 (𝑓:𝐴⟶onto𝐵 → ran 𝑓 = 𝐵)
65eqeq1d 2771 . . . . . . . . . . . 12 (𝑓:𝐴⟶onto𝐵 → (ran 𝑓 = ∅ ↔ 𝐵 = ∅))
74, 6bitrid 286 . . . . . . . . . . 11 (𝑓:𝐴⟶onto𝐵 → (dom 𝑓 = ∅ ↔ 𝐵 = ∅))
83, 7bitr3d 284 . . . . . . . . . 10 (𝑓:𝐴⟶onto𝐵 → (𝐴 = ∅ ↔ 𝐵 = ∅))
98necon3bid 3009 . . . . . . . . 9 (𝑓:𝐴⟶onto𝐵 → (𝐴 ≠ ∅ ↔ 𝐵 ≠ ∅))
109biimpac 484 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ 𝑓:𝐴⟶onto𝐵) → 𝐵 ≠ ∅)
1110adantll 727 . . . . . . 7 (((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) ∧ 𝑓:𝐴⟶onto𝐵) → 𝐵 ≠ ∅)
12 vex 3460 . . . . . . . . . . . 12 𝑓 ∈ V
1312rnex 7966 . . . . . . . . . . 11 ran 𝑓 ∈ V
145, 13eqeltrrdi 2879 . . . . . . . . . 10 (𝑓:𝐴⟶onto𝐵 → 𝐵 ∈ V)
1514adantl 487 . . . . . . . . 9 ((𝐴 ∈ Fin ∧ 𝑓:𝐴⟶onto𝐵) → 𝐵 ∈ V)
16 0sdomg 9173 . . . . . . . . 9 (𝐵 ∈ V → (∅ ≺ 𝐵 ↔ 𝐵 ≠ ∅))
1715, 16syl 18 . . . . . . . 8 ((𝐴 ∈ Fin ∧ 𝑓:𝐴⟶onto𝐵) → (∅ ≺ 𝐵 ↔ 𝐵 ≠ ∅))
1817adantlr 728 . . . . . . 7 (((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) ∧ 𝑓:𝐴⟶onto𝐵) → (∅ ≺ 𝐵 ↔ 𝐵 ≠ ∅))
1911, 18mpbird 260 . . . . . 6 (((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) ∧ 𝑓:𝐴⟶onto𝐵) → ∅ ≺ 𝐵)
2019ex 418 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (𝑓:𝐴⟶onto𝐵 → ∅ ≺ 𝐵))
21 fodomfi 9352 . . . . . . 7 ((𝐴 ∈ Fin ∧ 𝑓:𝐴⟶onto𝐵) → 𝐵 ≼ 𝐴)
2221ex 418 . . . . . 6 (𝐴 ∈ Fin → (𝑓:𝐴⟶onto𝐵 → 𝐵 ≼ 𝐴))
2322adantr 486 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (𝑓:𝐴⟶onto𝐵 → 𝐵 ≼ 𝐴))
2420, 23jcad 522 . . . 4 ((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (𝑓:𝐴⟶onto𝐵 → (∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴)))
2524exlimdv 1970 . . 3 ((𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (∃𝑓 𝑓:𝐴⟶onto𝐵 → (∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴)))
2625expimpd 459 . 2 (𝐴 ∈ Fin → ((𝐴 ≠ ∅ ∧ ∃𝑓 𝑓:𝐴⟶onto𝐵) → (∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴)))
27 0fi 9118 . . . . 5 ∅ ∈ Fin
28 sdomdomtrfi 9264 . . . . 5 ((∅ ∈ Fin ∧ ∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → ∅ ≺ 𝐴)
2927, 28mp3an1 1480 . . . 4 ((∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → ∅ ≺ 𝐴)
30 0sdomg 9173 . . . 4 (𝐴 ∈ Fin → (∅ ≺ 𝐴 ↔ 𝐴 ≠ ∅))
3129, 30imbitrid 247 . . 3 (𝐴 ∈ Fin → ((∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≠ ∅))
32 fodomfir 9367 . . . 4 ((𝐴 ∈ Fin ∧ ∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → ∃𝑓 𝑓:𝐴⟶onto𝐵)
33323expib 1141 . . 3 (𝐴 ∈ Fin → ((∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → ∃𝑓 𝑓:𝐴⟶onto𝐵))
3431, 33jcad 522 . 2 (𝐴 ∈ Fin → ((∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴) → (𝐴 ≠ ∅ ∧ ∃𝑓 𝑓:𝐴⟶onto𝐵)))
3526, 34impbid 215 1 (𝐴 ∈ Fin → ((𝐴 ≠ ∅ ∧ ∃𝑓 𝑓:𝐴⟶onto𝐵) ↔ (∅ ≺ 𝐵 ∧ 𝐵 ≼ 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965  Vcvv 3456  ∅c0 4283   class class class wbr 5111  dom cdm 5661  ran crn 5662  ⟶ontowfo 6571   ≼ cdom 9019   ≺ csdm 9020  Fincfn 9021
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  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  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-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  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-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-om 7922  df-1o 8524  df-en 9022  df-dom 9023  df-sdom 9024  df-fin 9025
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator