Step | Hyp | Ref
| Expression |
1 | | simpl 483 |
. . . . . 6
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → 𝐴 ⊆cat 𝐵) |
2 | | eqidd 2739 |
. . . . . 6
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → dom dom 𝐴 = dom dom 𝐴) |
3 | 1, 2 | sscfn1 17517 |
. . . . 5
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → 𝐴 Fn (dom dom 𝐴 × dom dom 𝐴)) |
4 | | simpr 485 |
. . . . . 6
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → 𝐵 ⊆cat 𝐴) |
5 | | eqidd 2739 |
. . . . . 6
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → dom dom 𝐵 = dom dom 𝐵) |
6 | 4, 5 | sscfn1 17517 |
. . . . 5
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → 𝐵 Fn (dom dom 𝐵 × dom dom 𝐵)) |
7 | 3, 6, 1 | ssc1 17521 |
. . . 4
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → dom dom 𝐴 ⊆ dom dom 𝐵) |
8 | 6, 3, 4 | ssc1 17521 |
. . . 4
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → dom dom 𝐵 ⊆ dom dom 𝐴) |
9 | 7, 8 | eqssd 3938 |
. . 3
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → dom dom 𝐴 = dom dom 𝐵) |
10 | 9 | sqxpeqd 5617 |
. 2
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → (dom dom 𝐴 × dom dom 𝐴) = (dom dom 𝐵 × dom dom 𝐵)) |
11 | 3 | adantr 481 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝐴 Fn (dom dom 𝐴 × dom dom 𝐴)) |
12 | 1 | adantr 481 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝐴 ⊆cat 𝐵) |
13 | | simprl 768 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝑥 ∈ dom dom 𝐴) |
14 | | simprr 770 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝑦 ∈ dom dom 𝐴) |
15 | 11, 12, 13, 14 | ssc2 17522 |
. . . 4
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → (𝑥𝐴𝑦) ⊆ (𝑥𝐵𝑦)) |
16 | 6 | adantr 481 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝐵 Fn (dom dom 𝐵 × dom dom 𝐵)) |
17 | 4 | adantr 481 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝐵 ⊆cat 𝐴) |
18 | 7 | adantr 481 |
. . . . . 6
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → dom dom 𝐴 ⊆ dom dom 𝐵) |
19 | 18, 13 | sseldd 3922 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝑥 ∈ dom dom 𝐵) |
20 | 18, 14 | sseldd 3922 |
. . . . 5
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → 𝑦 ∈ dom dom 𝐵) |
21 | 16, 17, 19, 20 | ssc2 17522 |
. . . 4
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → (𝑥𝐵𝑦) ⊆ (𝑥𝐴𝑦)) |
22 | 15, 21 | eqssd 3938 |
. . 3
⊢ (((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) ∧ (𝑥 ∈ dom dom 𝐴 ∧ 𝑦 ∈ dom dom 𝐴)) → (𝑥𝐴𝑦) = (𝑥𝐵𝑦)) |
23 | 22 | ralrimivva 3120 |
. 2
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → ∀𝑥 ∈ dom dom 𝐴∀𝑦 ∈ dom dom 𝐴(𝑥𝐴𝑦) = (𝑥𝐵𝑦)) |
24 | | eqfnov 7394 |
. . 3
⊢ ((𝐴 Fn (dom dom 𝐴 × dom dom 𝐴) ∧ 𝐵 Fn (dom dom 𝐵 × dom dom 𝐵)) → (𝐴 = 𝐵 ↔ ((dom dom 𝐴 × dom dom 𝐴) = (dom dom 𝐵 × dom dom 𝐵) ∧ ∀𝑥 ∈ dom dom 𝐴∀𝑦 ∈ dom dom 𝐴(𝑥𝐴𝑦) = (𝑥𝐵𝑦)))) |
25 | 3, 6, 24 | syl2anc 584 |
. 2
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → (𝐴 = 𝐵 ↔ ((dom dom 𝐴 × dom dom 𝐴) = (dom dom 𝐵 × dom dom 𝐵) ∧ ∀𝑥 ∈ dom dom 𝐴∀𝑦 ∈ dom dom 𝐴(𝑥𝐴𝑦) = (𝑥𝐵𝑦)))) |
26 | 10, 23, 25 | mpbir2and 710 |
1
⊢ ((𝐴 ⊆cat 𝐵 ∧ 𝐵 ⊆cat 𝐴) → 𝐴 = 𝐵) |