Proof of Theorem prneimg
Step | Hyp | Ref
| Expression |
1 | | preq12bg 3760 |
. . . . 5
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)))) |
2 | | orddi 815 |
. . . . . 6
⊢ (((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)) ↔ (((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶)))) |
3 | | simpll 524 |
. . . . . . 7
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → (𝐴 = 𝐶 ∨ 𝐴 = 𝐷)) |
4 | | pm1.4 722 |
. . . . . . . 8
⊢ ((𝐵 = 𝐷 ∨ 𝐵 = 𝐶) → (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) |
5 | 4 | ad2antll 488 |
. . . . . . 7
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) |
6 | 3, 5 | jca 304 |
. . . . . 6
⊢ ((((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐴 = 𝐶 ∨ 𝐵 = 𝐶)) ∧ ((𝐵 = 𝐷 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐷 ∨ 𝐵 = 𝐶))) → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷))) |
7 | 2, 6 | sylbi 120 |
. . . . 5
⊢ (((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) ∨ (𝐴 = 𝐷 ∧ 𝐵 = 𝐶)) → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷))) |
8 | 1, 7 | syl6bi 162 |
. . . 4
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)))) |
9 | | oranim 776 |
. . . . . 6
⊢ ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) → ¬ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷)) |
10 | | df-ne 2341 |
. . . . . . 7
⊢ (𝐴 ≠ 𝐶 ↔ ¬ 𝐴 = 𝐶) |
11 | | df-ne 2341 |
. . . . . . 7
⊢ (𝐴 ≠ 𝐷 ↔ ¬ 𝐴 = 𝐷) |
12 | 10, 11 | anbi12i 457 |
. . . . . 6
⊢ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ↔ (¬ 𝐴 = 𝐶 ∧ ¬ 𝐴 = 𝐷)) |
13 | 9, 12 | sylnibr 672 |
. . . . 5
⊢ ((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) → ¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷)) |
14 | | oranim 776 |
. . . . . 6
⊢ ((𝐵 = 𝐶 ∨ 𝐵 = 𝐷) → ¬ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷)) |
15 | | df-ne 2341 |
. . . . . . 7
⊢ (𝐵 ≠ 𝐶 ↔ ¬ 𝐵 = 𝐶) |
16 | | df-ne 2341 |
. . . . . . 7
⊢ (𝐵 ≠ 𝐷 ↔ ¬ 𝐵 = 𝐷) |
17 | 15, 16 | anbi12i 457 |
. . . . . 6
⊢ ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) ↔ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐵 = 𝐷)) |
18 | 14, 17 | sylnibr 672 |
. . . . 5
⊢ ((𝐵 = 𝐶 ∨ 𝐵 = 𝐷) → ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) |
19 | 13, 18 | anim12i 336 |
. . . 4
⊢ (((𝐴 = 𝐶 ∨ 𝐴 = 𝐷) ∧ (𝐵 = 𝐶 ∨ 𝐵 = 𝐷)) → (¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷))) |
20 | 8, 19 | syl6 33 |
. . 3
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → (¬ (𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)))) |
21 | | pm4.56 775 |
. . 3
⊢ ((¬
(𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ ¬ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) ↔ ¬ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷))) |
22 | 20, 21 | syl6ib 160 |
. 2
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ({𝐴, 𝐵} = {𝐶, 𝐷} → ¬ ((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)))) |
23 | 22 | necon2ad 2397 |
1
⊢ (((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (((𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∨ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → {𝐴, 𝐵} ≠ {𝐶, 𝐷})) |