Proof of Theorem prneimg
Step | Hyp | Ref
| Expression |
1 | | preq12bg 3753 |
. . . . 5
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)))) |
2 | | orddi 810 |
. . . . . 6
⊢ (((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)) ↔ (((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶)))) |
3 | | simpll 519 |
. . . . . . 7
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → (𝐴 = 𝐶 ∨ 𝐴 = 𝐷)) |
4 | | pm1.4 717 |
. . . . . . . 8
⊢ ((𝐵 = 𝐷 ∨ 𝐵 = 𝐶) → (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) |
5 | 4 | ad2antll 483 |
. . . . . . 7
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) |
6 | 3, 5 | jca 304 |
. . . . . 6
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷))) |
7 | 2, 6 | sylbi 120 |
. . . . 5
⊢ (((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)) → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷))) |
8 | 1, 7 | syl6bi 162 |
. . . 4
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)))) |
9 | | oranim 771 |
. . . . . 6
⊢ ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) → ¬ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷)) |
10 | | df-ne 2337 |
. . . . . . 7
⊢ (𝐴 ≠ 𝐶 ↔ ¬ 𝐴 = 𝐶) |
11 | | df-ne 2337 |
. . . . . . 7
⊢ (𝐴 ≠ 𝐷 ↔ ¬ 𝐴 = 𝐷) |
12 | 10, 11 | anbi12i 456 |
. . . . . 6
⊢ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ↔ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷)) |
13 | 9, 12 | sylnibr 667 |
. . . . 5
⊢ ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) → ¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷)) |
14 | | oranim 771 |
. . . . . 6
⊢ ((𝐵 = 𝐶 ∨ 𝐵 = 𝐷) → ¬ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷)) |
15 | | df-ne 2337 |
. . . . . . 7
⊢ (𝐵 ≠ 𝐶 ↔ ¬ 𝐵 = 𝐶) |
16 | | df-ne 2337 |
. . . . . . 7
⊢ (𝐵 ≠ 𝐷 ↔ ¬ 𝐵 = 𝐷) |
17 | 15, 16 | anbi12i 456 |
. . . . . 6
⊢ ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) ↔ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷)) |
18 | 14, 17 | sylnibr 667 |
. . . . 5
⊢ ((𝐵 = 𝐶 ∨ 𝐵 = 𝐷) → ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) |
19 | 13, 18 | anim12i 336 |
. . . 4
⊢ (((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) → (¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷))) |
20 | 8, 19 | syl6 33 |
. . 3
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)))) |
21 | | pm4.56 770 |
. . 3
⊢ ((¬
(𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) ↔ ¬ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷))) |
22 | 20, 21 | syl6ib 160 |
. 2
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ¬ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)))) |
23 | 22 | necon2ad 2393 |
1
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → {𝐴, 𝐵} ≠ {𝐶, 𝐷})) |