Proof of Theorem dffo4
Step | Hyp | Ref
| Expression |
1 | | dffo2 6676 |
. . 3
⊢ (𝐹:𝐴–onto→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵)) |
2 | | simpl 482 |
. . . 4
⊢ ((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) → 𝐹:𝐴⟶𝐵) |
3 | | vex 3426 |
. . . . . . . . . 10
⊢ 𝑦 ∈ V |
4 | 3 | elrn 5791 |
. . . . . . . . 9
⊢ (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 𝑥𝐹𝑦) |
5 | | eleq2 2827 |
. . . . . . . . 9
⊢ (ran
𝐹 = 𝐵 → (𝑦 ∈ ran 𝐹 ↔ 𝑦 ∈ 𝐵)) |
6 | 4, 5 | bitr3id 284 |
. . . . . . . 8
⊢ (ran
𝐹 = 𝐵 → (∃𝑥 𝑥𝐹𝑦 ↔ 𝑦 ∈ 𝐵)) |
7 | 6 | biimpar 477 |
. . . . . . 7
⊢ ((ran
𝐹 = 𝐵 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 𝑥𝐹𝑦) |
8 | 7 | adantll 710 |
. . . . . 6
⊢ (((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 𝑥𝐹𝑦) |
9 | | ffn 6584 |
. . . . . . . . . . 11
⊢ (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴) |
10 | | fnbr 6525 |
. . . . . . . . . . . 12
⊢ ((𝐹 Fn 𝐴 ∧ 𝑥𝐹𝑦) → 𝑥 ∈ 𝐴) |
11 | 10 | ex 412 |
. . . . . . . . . . 11
⊢ (𝐹 Fn 𝐴 → (𝑥𝐹𝑦 → 𝑥 ∈ 𝐴)) |
12 | 9, 11 | syl 17 |
. . . . . . . . . 10
⊢ (𝐹:𝐴⟶𝐵 → (𝑥𝐹𝑦 → 𝑥 ∈ 𝐴)) |
13 | 12 | ancrd 551 |
. . . . . . . . 9
⊢ (𝐹:𝐴⟶𝐵 → (𝑥𝐹𝑦 → (𝑥 ∈ 𝐴 ∧ 𝑥𝐹𝑦))) |
14 | 13 | eximdv 1921 |
. . . . . . . 8
⊢ (𝐹:𝐴⟶𝐵 → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑥𝐹𝑦))) |
15 | | df-rex 3069 |
. . . . . . . 8
⊢
(∃𝑥 ∈
𝐴 𝑥𝐹𝑦 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑥𝐹𝑦)) |
16 | 14, 15 | syl6ibr 251 |
. . . . . . 7
⊢ (𝐹:𝐴⟶𝐵 → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦)) |
17 | 16 | ad2antrr 722 |
. . . . . 6
⊢ (((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦 ∈ 𝐵) → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦)) |
18 | 8, 17 | mpd 15 |
. . . . 5
⊢ (((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦) |
19 | 18 | ralrimiva 3107 |
. . . 4
⊢ ((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦) |
20 | 2, 19 | jca 511 |
. . 3
⊢ ((𝐹:𝐴⟶𝐵 ∧ ran 𝐹 = 𝐵) → (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦)) |
21 | 1, 20 | sylbi 216 |
. 2
⊢ (𝐹:𝐴–onto→𝐵 → (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦)) |
22 | | fnbrfvb 6804 |
. . . . . . . . 9
⊢ ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐹‘𝑥) = 𝑦 ↔ 𝑥𝐹𝑦)) |
23 | 22 | biimprd 247 |
. . . . . . . 8
⊢ ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑥𝐹𝑦 → (𝐹‘𝑥) = 𝑦)) |
24 | | eqcom 2745 |
. . . . . . . 8
⊢ ((𝐹‘𝑥) = 𝑦 ↔ 𝑦 = (𝐹‘𝑥)) |
25 | 23, 24 | syl6ib 250 |
. . . . . . 7
⊢ ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑥𝐹𝑦 → 𝑦 = (𝐹‘𝑥))) |
26 | 9, 25 | sylan 579 |
. . . . . 6
⊢ ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝑥𝐹𝑦 → 𝑦 = (𝐹‘𝑥))) |
27 | 26 | reximdva 3202 |
. . . . 5
⊢ (𝐹:𝐴⟶𝐵 → (∃𝑥 ∈ 𝐴 𝑥𝐹𝑦 → ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))) |
28 | 27 | ralimdv 3103 |
. . . 4
⊢ (𝐹:𝐴⟶𝐵 → (∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦 → ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))) |
29 | 28 | imdistani 568 |
. . 3
⊢ ((𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦) → (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))) |
30 | | dffo3 6960 |
. . 3
⊢ (𝐹:𝐴–onto→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑦 = (𝐹‘𝑥))) |
31 | 29, 30 | sylibr 233 |
. 2
⊢ ((𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦) → 𝐹:𝐴–onto→𝐵) |
32 | 21, 31 | impbii 208 |
1
⊢ (𝐹:𝐴–onto→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝑥𝐹𝑦)) |