MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  f1oun2prg Structured version   Visualization version   GIF version

Theorem f1oun2prg 15097
Description: A union of unordered pairs of ordered pairs with different elements is a one-to-one onto function. (Contributed by Alexander van der Vekens, 14-Aug-2017.)
Assertion
Ref Expression
f1oun2prg (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → ({⟨0, 𝐴⟩, ⟨1, 𝐵⟩} ∪ {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}):({0, 1} ∪ {2, 3})⟶1-1onto({𝐴, 𝐵} ∪ {𝐶, 𝐷})))

Proof of Theorem f1oun2prg
StepHypRef Expression
1 simpl 488 . . . . . . 7 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → 𝐴 ∈ 𝑉)
2 0z 12731 . . . . . . 7 0 ∈ ℤ
31, 2jctil 529 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (0 ∈ ℤ ∧ 𝐴 ∈ 𝑉))
43ad2antrr 739 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (0 ∈ ℤ ∧ 𝐴 ∈ 𝑉))
5 simpr 490 . . . . . . 7 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → 𝐵 ∈ 𝑊)
6 1z 12753 . . . . . . 7 1 ∈ ℤ
75, 6jctil 529 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊))
87ad2antrr 739 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊))
94, 8jca 521 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ((0 ∈ ℤ ∧ 𝐴 ∈ 𝑉) ∧ (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊)))
10 id 23 . . . . . . . 8 (𝐴 ≠ 𝐵 → 𝐴 ≠ 𝐵)
11103ad2ant1 1151 . . . . . . 7 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → 𝐴 ≠ 𝐵)
12 0ne1 12441 . . . . . . 7 0 ≠ 1
1311, 12jctil 529 . . . . . 6 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
1413adantr 486 . . . . 5 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
1514adantl 487 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
16 f1oprg 6894 . . . 4 (((0 ∈ ℤ ∧ 𝐴 ∈ 𝑉) ∧ (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊)) → ((0 ≠ 1 ∧ 𝐴 ≠ 𝐵) → {⟨0, 𝐴⟩, ⟨1, 𝐵⟩}:{0, 1}⟶1-1onto{𝐴, 𝐵}))
179, 15, 16sylc 66 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → {⟨0, 𝐴⟩, ⟨1, 𝐵⟩}:{0, 1}⟶1-1onto{𝐴, 𝐵})
18 simpl 488 . . . . . . . 8 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → 𝐶 ∈ 𝑋)
19 2nn 12443 . . . . . . . 8 2 ∈ ℕ
2018, 19jctil 529 . . . . . . 7 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → (2 ∈ ℕ ∧ 𝐶 ∈ 𝑋))
2120adantl 487 . . . . . 6 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (2 ∈ ℕ ∧ 𝐶 ∈ 𝑋))
22 simpr 490 . . . . . . . 8 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → 𝐷 ∈ 𝑌)
23 3nn 12449 . . . . . . . 8 3 ∈ ℕ
2422, 23jctil 529 . . . . . . 7 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌))
2524adantl 487 . . . . . 6 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌))
2621, 25jca 521 . . . . 5 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ((2 ∈ ℕ ∧ 𝐶 ∈ 𝑋) ∧ (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌)))
2726adantr 486 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ((2 ∈ ℕ ∧ 𝐶 ∈ 𝑋) ∧ (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌)))
28 id 23 . . . . . . . 8 (𝐶 ≠ 𝐷 → 𝐶 ≠ 𝐷)
29283ad2ant3 1153 . . . . . . 7 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → 𝐶 ≠ 𝐷)
30 2re 12444 . . . . . . . 8 2 ∈ ℝ
31 2lt3 12543 . . . . . . . 8 2 < 3
3230, 31ltneii 11450 . . . . . . 7 2 ≠ 3
3329, 32jctil 529 . . . . . 6 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
3433adantl 487 . . . . 5 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
3534adantl 487 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
36 f1oprg 6894 . . . 4 (((2 ∈ ℕ ∧ 𝐶 ∈ 𝑋) ∧ (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌)) → ((2 ≠ 3 ∧ 𝐶 ≠ 𝐷) → {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}:{2, 3}⟶1-1onto{𝐶, 𝐷}))
3727, 35, 36sylc 66 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}:{2, 3}⟶1-1onto{𝐶, 𝐷})
38 disjsn2 4673 . . . . . . . . . 10 (𝐴 ≠ 𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
39383ad2ant2 1152 . . . . . . . . 9 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → ({𝐴} ∩ {𝐶}) = ∅)
40 disjsn2 4673 . . . . . . . . . 10 (𝐵 ≠ 𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
41403ad2ant1 1151 . . . . . . . . 9 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → ({𝐵} ∩ {𝐶}) = ∅)
4239, 41anim12i 625 . . . . . . . 8 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
4342adantl 487 . . . . . . 7 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
44 df-pr 4591 . . . . . . . . . 10 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
4544ineq1i 4116 . . . . . . . . 9 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
4645eqeq1i 2768 . . . . . . . 8 (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = ∅)
47 undisj1 4418 . . . . . . . 8 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = ∅)
4846, 47bitr4i 281 . . . . . . 7 (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
4943, 48sylibr 237 . . . . . 6 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
50 disjsn2 4673 . . . . . . . . . 10 (𝐴 ≠ 𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
51503ad2ant3 1153 . . . . . . . . 9 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → ({𝐴} ∩ {𝐷}) = ∅)
52 disjsn2 4673 . . . . . . . . . 10 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
53523ad2ant2 1152 . . . . . . . . 9 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → ({𝐵} ∩ {𝐷}) = ∅)
5451, 53anim12i 625 . . . . . . . 8 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
5554adantl 487 . . . . . . 7 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
5644ineq1i 4116 . . . . . . . . 9 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
5756eqeq1i 2768 . . . . . . . 8 (({𝐴, 𝐵} ∩ {𝐷}) = ∅ ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = ∅)
58 undisj1 4418 . . . . . . . 8 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = ∅)
5957, 58bitr4i 281 . . . . . . 7 (({𝐴, 𝐵} ∩ {𝐷}) = ∅ ↔ (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
6055, 59sylibr 237 . . . . . 6 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
6149, 60jca 521 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅))
62 undisj2 4419 . . . . . 6 ((({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅) ↔ ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ∅)
63 df-pr 4591 . . . . . . . . 9 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
6463eqcomi 2772 . . . . . . . 8 ({𝐶} ∪ {𝐷}) = {𝐶, 𝐷}
6564ineq2i 4117 . . . . . . 7 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ({𝐴, 𝐵} ∩ {𝐶, 𝐷})
6665eqeq1i 2768 . . . . . 6 (({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ∅ ↔ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
6762, 66bitri 278 . . . . 5 ((({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅) ↔ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
6861, 67sylib 221 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
69 df-pr 4591 . . . . . . . . 9 {0, 1} = ({0} ∪ {1})
7069eqcomi 2772 . . . . . . . 8 ({0} ∪ {1}) = {0, 1}
7170ineq1i 4116 . . . . . . 7 (({0} ∪ {1}) ∩ {2}) = ({0, 1} ∩ {2})
72 0ne2 12579 . . . . . . . . . 10 0 ≠ 2
73 disjsn2 4673 . . . . . . . . . 10 (0 ≠ 2 → ({0} ∩ {2}) = ∅)
7472, 73ax-mp 5 . . . . . . . . 9 ({0} ∩ {2}) = ∅
75 1ne2 12580 . . . . . . . . . 10 1 ≠ 2
76 disjsn2 4673 . . . . . . . . . 10 (1 ≠ 2 → ({1} ∩ {2}) = ∅)
7775, 76ax-mp 5 . . . . . . . . 9 ({1} ∩ {2}) = ∅
7874, 77pm3.2i 476 . . . . . . . 8 (({0} ∩ {2}) = ∅ ∧ ({1} ∩ {2}) = ∅)
79 undisj1 4418 . . . . . . . 8 ((({0} ∩ {2}) = ∅ ∧ ({1} ∩ {2}) = ∅) ↔ (({0} ∪ {1}) ∩ {2}) = ∅)
8078, 79mpbi 233 . . . . . . 7 (({0} ∪ {1}) ∩ {2}) = ∅
8171, 80eqtr3i 2788 . . . . . 6 ({0, 1} ∩ {2}) = ∅
8270ineq1i 4116 . . . . . . 7 (({0} ∪ {1}) ∩ {3}) = ({0, 1} ∩ {3})
83 3ne0 12479 . . . . . . . . . . 11 3 ≠ 0
8483necomi 3013 . . . . . . . . . 10 0 ≠ 3
85 disjsn2 4673 . . . . . . . . . 10 (0 ≠ 3 → ({0} ∩ {3}) = ∅)
8684, 85ax-mp 5 . . . . . . . . 9 ({0} ∩ {3}) = ∅
87 1re 11335 . . . . . . . . . . 11 1 ∈ ℝ
88 1lt3 12545 . . . . . . . . . . 11 1 < 3
8987, 88ltneii 11450 . . . . . . . . . 10 1 ≠ 3
90 disjsn2 4673 . . . . . . . . . 10 (1 ≠ 3 → ({1} ∩ {3}) = ∅)
9189, 90ax-mp 5 . . . . . . . . 9 ({1} ∩ {3}) = ∅
9286, 91pm3.2i 476 . . . . . . . 8 (({0} ∩ {3}) = ∅ ∧ ({1} ∩ {3}) = ∅)
93 undisj1 4418 . . . . . . . 8 ((({0} ∩ {3}) = ∅ ∧ ({1} ∩ {3}) = ∅) ↔ (({0} ∪ {1}) ∩ {3}) = ∅)
9492, 93mpbi 233 . . . . . . 7 (({0} ∪ {1}) ∩ {3}) = ∅
9582, 94eqtr3i 2788 . . . . . 6 ({0, 1} ∩ {3}) = ∅
9681, 95pm3.2i 476 . . . . 5 (({0, 1} ∩ {2}) = ∅ ∧ ({0, 1} ∩ {3}) = ∅)
97 undisj2 4419 . . . . . 6 ((({0, 1} ∩ {2}) = ∅ ∧ ({0, 1} ∩ {3}) = ∅) ↔ ({0, 1} ∩ ({2} ∪ {3})) = ∅)
98 df-pr 4591 . . . . . . . . 9 {2, 3} = ({2} ∪ {3})
9998eqcomi 2772 . . . . . . . 8 ({2} ∪ {3}) = {2, 3}
10099ineq2i 4117 . . . . . . 7 ({0, 1} ∩ ({2} ∪ {3})) = ({0, 1} ∩ {2, 3})
101100eqeq1i 2768 . . . . . 6 (({0, 1} ∩ ({2} ∪ {3})) = ∅ ↔ ({0, 1} ∩ {2, 3}) = ∅)
10297, 101bitri 278 . . . . 5 ((({0, 1} ∩ {2}) = ∅ ∧ ({0, 1} ∩ {3}) = ∅) ↔ ({0, 1} ∩ {2, 3}) = ∅)
10396, 102mpbi 233 . . . 4 ({0, 1} ∩ {2, 3}) = ∅
10468, 103jctil 529 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({0, 1} ∩ {2, 3}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅))
105 f1oun 6866 . . 3 ((({⟨0, 𝐴⟩, ⟨1, 𝐵⟩}:{0, 1}⟶1-1onto{𝐴, 𝐵} ∧ {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}:{2, 3}⟶1-1onto{𝐶, 𝐷}) ∧ (({0, 1} ∩ {2, 3}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)) → ({⟨0, 𝐴⟩, ⟨1, 𝐵⟩} ∪ {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}):({0, 1} ∪ {2, 3})⟶1-1onto({𝐴, 𝐵} ∪ {𝐶, 𝐷}))
10617, 37, 104, 105syl21anc 851 . 2 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({⟨0, 𝐴⟩, ⟨1, 𝐵⟩} ∪ {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}):({0, 1} ∪ {2, 3})⟶1-1onto({𝐴, 𝐵} ∪ {𝐶, 𝐷}))
107106ex 418 1 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → ({⟨0, 𝐴⟩, ⟨1, 𝐵⟩} ∪ {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}):({0, 1} ∪ {2, 3})⟶1-1onto({𝐴, 𝐵} ∪ {𝐶, 𝐷})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959   ∩ cin 4092   ∪ cun 4152  ∅c0 4281  {csn 4588  {cpr 4590  ⟨cop 4838  ⟶1-1ontowf1o 6557  0cc0 11227  1c1 11228  ℕcn 12362  2c2 12424  3c3 12425  ℤcz 12720
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-2 12432  df-3 12433  df-z 12721
This theorem is used by:  s4f1o  15098
  Copyright terms: Public domain W3C validator