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

Theorem f1oun2prg 15115
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 12748 . . . . . . 7 0 ∈ ℤ
31, 2jctil 529 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (0 ∈ ℤ ∧ 𝐴 ∈ 𝑉))
43ad2antrr 739 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (0 ∈ ℤ ∧ 𝐴 ∈ 𝑉))
5 simpr 490 . . . . . . 7 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → 𝐵 ∈ 𝑊)
6 1z 12770 . . . . . . 7 1 ∈ ℤ
75, 6jctil 529 . . . . . 6 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊))
87ad2antrr 739 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊))
94, 8jca 521 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ((0 ∈ ℤ ∧ 𝐴 ∈ 𝑉) ∧ (1 ∈ ℤ ∧ 𝐵 ∈ 𝑊)))
10 id 23 . . . . . . . 8 (𝐴 ≠ 𝐵 → 𝐴 ≠ 𝐵)
11103ad2ant1 1152 . . . . . . 7 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → 𝐴 ≠ 𝐵)
12 0ne1 12458 . . . . . . 7 0 ≠ 1
1311, 12jctil 529 . . . . . 6 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
1413adantr 486 . . . . 5 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
1514adantl 487 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (0 ≠ 1 ∧ 𝐴 ≠ 𝐵))
16 f1oprg 6906 . . . 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 12460 . . . . . . . 8 2 ∈ ℕ
2018, 19jctil 529 . . . . . . 7 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → (2 ∈ ℕ ∧ 𝐶 ∈ 𝑋))
2120adantl 487 . . . . . 6 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → (2 ∈ ℕ ∧ 𝐶 ∈ 𝑋))
22 simpr 490 . . . . . . . 8 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → 𝐷 ∈ 𝑌)
23 3nn 12466 . . . . . . . 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 1154 . . . . . . 7 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → 𝐶 ≠ 𝐷)
30 2re 12461 . . . . . . . 8 2 ∈ ℝ
31 2lt3 12560 . . . . . . . 8 2 < 3
3230, 31ltneii 11466 . . . . . . 7 2 ≠ 3
3329, 32jctil 529 . . . . . 6 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
3433adantl 487 . . . . 5 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
3534adantl 487 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (2 ≠ 3 ∧ 𝐶 ≠ 𝐷))
36 f1oprg 6906 . . . 4 (((2 ∈ ℕ ∧ 𝐶 ∈ 𝑋) ∧ (3 ∈ ℕ ∧ 𝐷 ∈ 𝑌)) → ((2 ≠ 3 ∧ 𝐶 ≠ 𝐷) → {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}:{2, 3}⟶1-1onto{𝐶, 𝐷}))
3727, 35, 36sylc 66 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → {⟨2, 𝐶⟩, ⟨3, 𝐷⟩}:{2, 3}⟶1-1onto{𝐶, 𝐷})
38 disjsn2 4676 . . . . . . . . . 10 (𝐴 ≠ 𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
39383ad2ant2 1153 . . . . . . . . 9 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → ({𝐴} ∩ {𝐶}) = ∅)
40 disjsn2 4676 . . . . . . . . . 10 (𝐵 ≠ 𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
41403ad2ant1 1152 . . . . . . . . 9 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → ({𝐵} ∩ {𝐶}) = ∅)
4239, 41anim12i 625 . . . . . . . 8 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
4342adantl 487 . . . . . . 7 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
44 df-pr 4593 . . . . . . . . . 10 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
4544ineq1i 4118 . . . . . . . . 9 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
4645eqeq1i 2774 . . . . . . . 8 (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = ∅)
47 undisj1 4420 . . . . . . . 8 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = ∅)
4846, 47bitr4i 281 . . . . . . 7 (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
4943, 48sylibr 237 . . . . . 6 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
50 disjsn2 4676 . . . . . . . . . 10 (𝐴 ≠ 𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
51503ad2ant3 1154 . . . . . . . . 9 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) → ({𝐴} ∩ {𝐷}) = ∅)
52 disjsn2 4676 . . . . . . . . . 10 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
53523ad2ant2 1153 . . . . . . . . 9 ((𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷) → ({𝐵} ∩ {𝐷}) = ∅)
5451, 53anim12i 625 . . . . . . . 8 (((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷)) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
5554adantl 487 . . . . . . 7 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
5644ineq1i 4118 . . . . . . . . 9 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
5756eqeq1i 2774 . . . . . . . 8 (({𝐴, 𝐵} ∩ {𝐷}) = ∅ ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = ∅)
58 undisj1 4420 . . . . . . . 8 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = ∅)
5957, 58bitr4i 281 . . . . . . 7 (({𝐴, 𝐵} ∩ {𝐷}) = ∅ ↔ (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
6055, 59sylibr 237 . . . . . 6 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
6149, 60jca 521 . . . . 5 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅))
62 undisj2 4421 . . . . . 6 ((({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅) ↔ ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ∅)
63 df-pr 4593 . . . . . . . . 9 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
6463eqcomi 2778 . . . . . . . 8 ({𝐶} ∪ {𝐷}) = {𝐶, 𝐷}
6564ineq2i 4119 . . . . . . 7 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ({𝐴, 𝐵} ∩ {𝐶, 𝐷})
6665eqeq1i 2774 . . . . . 6 (({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = ∅ ↔ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
6762, 66bitri 278 . . . . 5 ((({𝐴, 𝐵} ∩ {𝐶}) = ∅ ∧ ({𝐴, 𝐵} ∩ {𝐷}) = ∅) ↔ ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
6861, 67sylib 221 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶 ∧ 𝐴 ≠ 𝐷) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷 ∧ 𝐶 ≠ 𝐷))) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
69 df-pr 4593 . . . . . . . . 9 {0, 1} = ({0} ∪ {1})
7069eqcomi 2778 . . . . . . . 8 ({0} ∪ {1}) = {0, 1}
7170ineq1i 4118 . . . . . . 7 (({0} ∪ {1}) ∩ {2}) = ({0, 1} ∩ {2})
72 0ne2 12596 . . . . . . . . . 10 0 ≠ 2
73 disjsn2 4676 . . . . . . . . . 10 (0 ≠ 2 → ({0} ∩ {2}) = ∅)
7472, 73ax-mp 5 . . . . . . . . 9 ({0} ∩ {2}) = ∅
75 1ne2 12597 . . . . . . . . . 10 1 ≠ 2
76 disjsn2 4676 . . . . . . . . . 10 (1 ≠ 2 → ({1} ∩ {2}) = ∅)
7775, 76ax-mp 5 . . . . . . . . 9 ({1} ∩ {2}) = ∅
7874, 77pm3.2i 476 . . . . . . . 8 (({0} ∩ {2}) = ∅ ∧ ({1} ∩ {2}) = ∅)
79 undisj1 4420 . . . . . . . 8 ((({0} ∩ {2}) = ∅ ∧ ({1} ∩ {2}) = ∅) ↔ (({0} ∪ {1}) ∩ {2}) = ∅)
8078, 79mpbi 233 . . . . . . 7 (({0} ∪ {1}) ∩ {2}) = ∅
8171, 80eqtr3i 2794 . . . . . 6 ({0, 1} ∩ {2}) = ∅
8270ineq1i 4118 . . . . . . 7 (({0} ∪ {1}) ∩ {3}) = ({0, 1} ∩ {3})
83 3ne0 12496 . . . . . . . . . . 11 3 ≠ 0
8483necomi 3019 . . . . . . . . . 10 0 ≠ 3
85 disjsn2 4676 . . . . . . . . . 10 (0 ≠ 3 → ({0} ∩ {3}) = ∅)
8684, 85ax-mp 5 . . . . . . . . 9 ({0} ∩ {3}) = ∅
87 1re 11351 . . . . . . . . . . 11 1 ∈ ℝ
88 1lt3 12562 . . . . . . . . . . 11 1 < 3
8987, 88ltneii 11466 . . . . . . . . . 10 1 ≠ 3
90 disjsn2 4676 . . . . . . . . . 10 (1 ≠ 3 → ({1} ∩ {3}) = ∅)
9189, 90ax-mp 5 . . . . . . . . 9 ({1} ∩ {3}) = ∅
9286, 91pm3.2i 476 . . . . . . . 8 (({0} ∩ {3}) = ∅ ∧ ({1} ∩ {3}) = ∅)
93 undisj1 4420 . . . . . . . 8 ((({0} ∩ {3}) = ∅ ∧ ({1} ∩ {3}) = ∅) ↔ (({0} ∪ {1}) ∩ {3}) = ∅)
9492, 93mpbi 233 . . . . . . 7 (({0} ∪ {1}) ∩ {3}) = ∅
9582, 94eqtr3i 2794 . . . . . 6 ({0, 1} ∩ {3}) = ∅
9681, 95pm3.2i 476 . . . . 5 (({0, 1} ∩ {2}) = ∅ ∧ ({0, 1} ∩ {3}) = ∅)
97 undisj2 4421 . . . . . 6 ((({0, 1} ∩ {2}) = ∅ ∧ ({0, 1} ∩ {3}) = ∅) ↔ ({0, 1} ∩ ({2} ∪ {3})) = ∅)
98 df-pr 4593 . . . . . . . . 9 {2, 3} = ({2} ∪ {3})
9998eqcomi 2778 . . . . . . . 8 ({2} ∪ {3}) = {2, 3}
10099ineq2i 4119 . . . . . . 7 ({0, 1} ∩ ({2} ∪ {3})) = ({0, 1} ∩ {2, 3})
101100eqeq1i 2774 . . . . . 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 6878 . . 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 1104   = wceq 1572   ∈ wcel 2151   ≠ wne 2965   ∩ cin 4094   ∪ cun 4154  ∅c0 4283  {csn 4590  {cpr 4592  ⟨cop 4843  ⟶1-1ontowf1o 6569  0cc0 11243  1c1 11244  ℕcn 12379  2c2 12441  3c3 12442  ℤcz 12737
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787  ax-resscn 11300  ax-1cn 11301  ax-icn 11302  ax-addcl 11303  ax-addrcl 11304  ax-mulcl 11305  ax-mulrcl 11306  ax-mulcom 11307  ax-addass 11308  ax-mulass 11309  ax-distr 11310  ax-i2m1 11311  ax-1ne0 11312  ax-1rid 11313  ax-rnegex 11314  ax-rrecex 11315  ax-cnre 11316  ax-pre-lttri 11317  ax-pre-lttrn 11318  ax-pre-ltadd 11319  ax-pre-mulgt0 11320
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-riota 7412  df-ov 7458  df-oprab 7459  df-mpo 7460  df-om 7916  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-er 8759  df-en 9016  df-dom 9017  df-sdom 9018  df-pnf 11388  df-mnf 11389  df-xr 11390  df-ltxr 11391  df-le 11392  df-sub 11586  df-neg 11587  df-nn 12380  df-2 12449  df-3 12450  df-z 12738
This theorem is used by:  s4f1o  15116
  Copyright terms: Public domain W3C validator