Proof of Theorem dom2lem
Step | Hyp | Ref
| Expression |
1 | | dom2d.1 |
. . . 4
⊢ (𝜑 → (𝑥 ∈ 𝐴 → 𝐶 ∈ 𝐵)) |
2 | 1 | ralrimiv 3102 |
. . 3
⊢ (𝜑 → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵) |
3 | | eqid 2738 |
. . . 4
⊢ (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑥 ∈ 𝐴 ↦ 𝐶) |
4 | 3 | fmpt 6984 |
. . 3
⊢
(∀𝑥 ∈
𝐴 𝐶 ∈ 𝐵 ↔ (𝑥 ∈ 𝐴 ↦ 𝐶):𝐴⟶𝐵) |
5 | 2, 4 | sylib 217 |
. 2
⊢ (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐶):𝐴⟶𝐵) |
6 | 1 | imp 407 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵) |
7 | 3 | fvmpt2 6886 |
. . . . . . . 8
⊢ ((𝑥 ∈ 𝐴 ∧ 𝐶 ∈ 𝐵) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) |
8 | 7 | adantll 711 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝐶 ∈ 𝐵) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) |
9 | 6, 8 | mpdan 684 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) |
10 | 9 | adantrr 714 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) |
11 | | nfv 1917 |
. . . . . . . 8
⊢
Ⅎ𝑥(𝜑 ∧ 𝑦 ∈ 𝐴) |
12 | | nffvmpt1 6785 |
. . . . . . . . 9
⊢
Ⅎ𝑥((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) |
13 | 12 | nfeq1 2922 |
. . . . . . . 8
⊢
Ⅎ𝑥((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷 |
14 | 11, 13 | nfim 1899 |
. . . . . . 7
⊢
Ⅎ𝑥((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷) |
15 | | eleq1w 2821 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴)) |
16 | 15 | anbi2d 629 |
. . . . . . . . 9
⊢ (𝑥 = 𝑦 → ((𝜑 ∧ 𝑥 ∈ 𝐴) ↔ (𝜑 ∧ 𝑦 ∈ 𝐴))) |
17 | 16 | imbi1d 342 |
. . . . . . . 8
⊢ (𝑥 = 𝑦 → (((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) ↔ ((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶))) |
18 | 15 | anbi1d 630 |
. . . . . . . . . . . 12
⊢ (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴))) |
19 | | anidm 565 |
. . . . . . . . . . . 12
⊢ ((𝑦 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) ↔ 𝑦 ∈ 𝐴) |
20 | 18, 19 | bitrdi 287 |
. . . . . . . . . . 11
⊢ (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) ↔ 𝑦 ∈ 𝐴)) |
21 | 20 | anbi2d 629 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) ↔ (𝜑 ∧ 𝑦 ∈ 𝐴))) |
22 | | fveq2 6774 |
. . . . . . . . . . . . 13
⊢ (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦)) |
23 | 22 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴))) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦)) |
24 | | dom2d.2 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) → (𝐶 = 𝐷 ↔ 𝑥 = 𝑦))) |
25 | 24 | imp 407 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (𝐶 = 𝐷 ↔ 𝑥 = 𝑦)) |
26 | 25 | biimparc 480 |
. . . . . . . . . . . 12
⊢ ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴))) → 𝐶 = 𝐷) |
27 | 23, 26 | eqeq12d 2754 |
. . . . . . . . . . 11
⊢ ((𝑥 = 𝑦 ∧ (𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴))) → (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶 ↔ ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷)) |
28 | 27 | ex 413 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑦 → ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶 ↔ ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷))) |
29 | 21, 28 | sylbird 259 |
. . . . . . . . 9
⊢ (𝑥 = 𝑦 → ((𝜑 ∧ 𝑦 ∈ 𝐴) → (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶 ↔ ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷))) |
30 | 29 | pm5.74d 272 |
. . . . . . . 8
⊢ (𝑥 = 𝑦 → (((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) ↔ ((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷))) |
31 | 17, 30 | bitrd 278 |
. . . . . . 7
⊢ (𝑥 = 𝑦 → (((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = 𝐶) ↔ ((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷))) |
32 | 14, 31, 9 | chvarfv 2233 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷) |
33 | 32 | adantrl 713 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) = 𝐷) |
34 | 10, 33 | eqeq12d 2754 |
. . . 4
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) ↔ 𝐶 = 𝐷)) |
35 | 25 | biimpd 228 |
. . . 4
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (𝐶 = 𝐷 → 𝑥 = 𝑦)) |
36 | 34, 35 | sylbid 239 |
. . 3
⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) → 𝑥 = 𝑦)) |
37 | 36 | ralrimivva 3123 |
. 2
⊢ (𝜑 → ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) → 𝑥 = 𝑦)) |
38 | | nfmpt1 5182 |
. . 3
⊢
Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐶) |
39 | | nfcv 2907 |
. . 3
⊢
Ⅎ𝑦(𝑥 ∈ 𝐴 ↦ 𝐶) |
40 | 38, 39 | dff13f 7129 |
. 2
⊢ ((𝑥 ∈ 𝐴 ↦ 𝐶):𝐴–1-1→𝐵 ↔ ((𝑥 ∈ 𝐴 ↦ 𝐶):𝐴⟶𝐵 ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑥) = ((𝑥 ∈ 𝐴 ↦ 𝐶)‘𝑦) → 𝑥 = 𝑦))) |
41 | 5, 37, 40 | sylanbrc 583 |
1
⊢ (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐶):𝐴–1-1→𝐵) |