Metamath Proof Explorer


Theorem fodomfi2

Description: Onto functions define dominance when a finite number of choices need to be made. (Contributed by Stefan O'Rear, 28-Feb-2015)

Ref Expression
Assertion fodomfi2 AVBFinF:AontoBBA

Proof

Step Hyp Ref Expression
1 fofn F:AontoBFFnA
2 1 3ad2ant3 AVBFinF:AontoBFFnA
3 forn F:AontoBranF=B
4 eqimss2 ranF=BBranF
5 3 4 syl F:AontoBBranF
6 5 3ad2ant3 AVBFinF:AontoBBranF
7 simp2 AVBFinF:AontoBBFin
8 fipreima FFnABranFBFinx𝒫AFinFx=B
9 2 6 7 8 syl3anc AVBFinF:AontoBx𝒫AFinFx=B
10 elinel2 x𝒫AFinxFin
11 10 adantl AVBFinF:AontoBx𝒫AFinxFin
12 finnum xFinxdomcard
13 11 12 syl AVBFinF:AontoBx𝒫AFinxdomcard
14 simpl3 AVBFinF:AontoBx𝒫AFinF:AontoB
15 fofun F:AontoBFunF
16 14 15 syl AVBFinF:AontoBx𝒫AFinFunF
17 elinel1 x𝒫AFinx𝒫A
18 17 elpwid x𝒫AFinxA
19 18 adantl AVBFinF:AontoBx𝒫AFinxA
20 fof F:AontoBF:AB
21 fdm F:ABdomF=A
22 14 20 21 3syl AVBFinF:AontoBx𝒫AFindomF=A
23 19 22 sseqtrrd AVBFinF:AontoBx𝒫AFinxdomF
24 fores FunFxdomFFx:xontoFx
25 16 23 24 syl2anc AVBFinF:AontoBx𝒫AFinFx:xontoFx
26 fodomnum xdomcardFx:xontoFxFxx
27 13 25 26 sylc AVBFinF:AontoBx𝒫AFinFxx
28 simpl1 AVBFinF:AontoBx𝒫AFinAV
29 ssdomg AVxAxA
30 28 19 29 sylc AVBFinF:AontoBx𝒫AFinxA
31 domtr FxxxAFxA
32 27 30 31 syl2anc AVBFinF:AontoBx𝒫AFinFxA
33 breq1 Fx=BFxABA
34 32 33 syl5ibcom AVBFinF:AontoBx𝒫AFinFx=BBA
35 34 rexlimdva AVBFinF:AontoBx𝒫AFinFx=BBA
36 9 35 mpd AVBFinF:AontoBBA