Proof of Theorem hashge2el2dif
Step | Hyp | Ref
| Expression |
1 | | fveq2 6774 |
. . . . . . 7
⊢ (𝐷 = {𝑥} → (♯‘𝐷) = (♯‘{𝑥})) |
2 | | hashsng 14084 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐷 → (♯‘{𝑥}) = 1) |
3 | 1, 2 | sylan9eqr 2800 |
. . . . . 6
⊢ ((𝑥 ∈ 𝐷 ∧ 𝐷 = {𝑥}) → (♯‘𝐷) = 1) |
4 | 3 | ralimiaa 3086 |
. . . . 5
⊢
(∀𝑥 ∈
𝐷 𝐷 = {𝑥} → ∀𝑥 ∈ 𝐷 (♯‘𝐷) = 1) |
5 | | 0re 10977 |
. . . . . . . . . . . . . 14
⊢ 0 ∈
ℝ |
6 | | 1re 10975 |
. . . . . . . . . . . . . 14
⊢ 1 ∈
ℝ |
7 | 5, 6 | readdcli 10990 |
. . . . . . . . . . . . 13
⊢ (0 + 1)
∈ ℝ |
8 | 7 | a1i 11 |
. . . . . . . . . . . 12
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (0 + 1) ∈
ℝ) |
9 | | 2re 12047 |
. . . . . . . . . . . . 13
⊢ 2 ∈
ℝ |
10 | 9 | a1i 11 |
. . . . . . . . . . . 12
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → 2 ∈
ℝ) |
11 | | hashcl 14071 |
. . . . . . . . . . . . . 14
⊢ (𝐷 ∈ Fin →
(♯‘𝐷) ∈
ℕ0) |
12 | 11 | nn0red 12294 |
. . . . . . . . . . . . 13
⊢ (𝐷 ∈ Fin →
(♯‘𝐷) ∈
ℝ) |
13 | 12 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (♯‘𝐷) ∈
ℝ) |
14 | 8, 10, 13 | 3jca 1127 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → ((0 + 1) ∈
ℝ ∧ 2 ∈ ℝ ∧ (♯‘𝐷) ∈ ℝ)) |
15 | | 0p1e1 12095 |
. . . . . . . . . . . . . . 15
⊢ (0 + 1) =
1 |
16 | | 1lt2 12144 |
. . . . . . . . . . . . . . 15
⊢ 1 <
2 |
17 | 15, 16 | eqbrtri 5095 |
. . . . . . . . . . . . . 14
⊢ (0 + 1)
< 2 |
18 | 17 | jctl 524 |
. . . . . . . . . . . . 13
⊢ (2 ≤
(♯‘𝐷) →
((0 + 1) < 2 ∧ 2 ≤ (♯‘𝐷))) |
19 | 18 | adantl 482 |
. . . . . . . . . . . 12
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ((0 + 1) < 2 ∧
2 ≤ (♯‘𝐷))) |
20 | 19 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → ((0 + 1) < 2 ∧
2 ≤ (♯‘𝐷))) |
21 | | ltleletr 11068 |
. . . . . . . . . . 11
⊢ (((0 + 1)
∈ ℝ ∧ 2 ∈ ℝ ∧ (♯‘𝐷) ∈ ℝ) → (((0 + 1) < 2
∧ 2 ≤ (♯‘𝐷)) → (0 + 1) ≤ (♯‘𝐷))) |
22 | 14, 20, 21 | sylc 65 |
. . . . . . . . . 10
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (0 + 1) ≤
(♯‘𝐷)) |
23 | 11 | nn0zd 12424 |
. . . . . . . . . . . . 13
⊢ (𝐷 ∈ Fin →
(♯‘𝐷) ∈
ℤ) |
24 | | 0z 12330 |
. . . . . . . . . . . . 13
⊢ 0 ∈
ℤ |
25 | 23, 24 | jctil 520 |
. . . . . . . . . . . 12
⊢ (𝐷 ∈ Fin → (0 ∈
ℤ ∧ (♯‘𝐷) ∈ ℤ)) |
26 | 25 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (0 ∈ ℤ
∧ (♯‘𝐷)
∈ ℤ)) |
27 | | zltp1le 12370 |
. . . . . . . . . . 11
⊢ ((0
∈ ℤ ∧ (♯‘𝐷) ∈ ℤ) → (0 <
(♯‘𝐷) ↔ (0
+ 1) ≤ (♯‘𝐷))) |
28 | 26, 27 | syl 17 |
. . . . . . . . . 10
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (0 <
(♯‘𝐷) ↔ (0
+ 1) ≤ (♯‘𝐷))) |
29 | 22, 28 | mpbird 256 |
. . . . . . . . 9
⊢ ((𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → 0 <
(♯‘𝐷)) |
30 | | 0ltpnf 12858 |
. . . . . . . . . 10
⊢ 0 <
+∞ |
31 | | simpl 483 |
. . . . . . . . . . . . 13
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → 𝐷 ∈ 𝑉) |
32 | 31 | anim2i 617 |
. . . . . . . . . . . 12
⊢ ((¬
𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (¬ 𝐷 ∈ Fin ∧ 𝐷 ∈ 𝑉)) |
33 | 32 | ancomd 462 |
. . . . . . . . . . 11
⊢ ((¬
𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (𝐷 ∈ 𝑉 ∧ ¬ 𝐷 ∈ Fin)) |
34 | | hashinf 14049 |
. . . . . . . . . . 11
⊢ ((𝐷 ∈ 𝑉 ∧ ¬ 𝐷 ∈ Fin) → (♯‘𝐷) = +∞) |
35 | 33, 34 | syl 17 |
. . . . . . . . . 10
⊢ ((¬
𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → (♯‘𝐷) = +∞) |
36 | 30, 35 | breqtrrid 5112 |
. . . . . . . . 9
⊢ ((¬
𝐷 ∈ Fin ∧ (𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷))) → 0 <
(♯‘𝐷)) |
37 | 29, 36 | pm2.61ian 809 |
. . . . . . . 8
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → 0 <
(♯‘𝐷)) |
38 | | hashgt0n0 14080 |
. . . . . . . 8
⊢ ((𝐷 ∈ 𝑉 ∧ 0 < (♯‘𝐷)) → 𝐷 ≠ ∅) |
39 | 37, 38 | syldan 591 |
. . . . . . 7
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → 𝐷 ≠ ∅) |
40 | | rspn0 4286 |
. . . . . . 7
⊢ (𝐷 ≠ ∅ →
(∀𝑥 ∈ 𝐷 (♯‘𝐷) = 1 →
(♯‘𝐷) =
1)) |
41 | 39, 40 | syl 17 |
. . . . . 6
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (∀𝑥 ∈ 𝐷 (♯‘𝐷) = 1 → (♯‘𝐷) = 1)) |
42 | | breq2 5078 |
. . . . . . . . 9
⊢
((♯‘𝐷) =
1 → (2 ≤ (♯‘𝐷) ↔ 2 ≤ 1)) |
43 | 6, 9 | ltnlei 11096 |
. . . . . . . . . . 11
⊢ (1 < 2
↔ ¬ 2 ≤ 1) |
44 | | pm2.21 123 |
. . . . . . . . . . 11
⊢ (¬ 2
≤ 1 → (2 ≤ 1 → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
45 | 43, 44 | sylbi 216 |
. . . . . . . . . 10
⊢ (1 < 2
→ (2 ≤ 1 → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
46 | 16, 45 | ax-mp 5 |
. . . . . . . . 9
⊢ (2 ≤ 1
→ ¬ ∀𝑥
∈ 𝐷 𝐷 = {𝑥}) |
47 | 42, 46 | syl6bi 252 |
. . . . . . . 8
⊢
((♯‘𝐷) =
1 → (2 ≤ (♯‘𝐷) → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
48 | 47 | com12 32 |
. . . . . . 7
⊢ (2 ≤
(♯‘𝐷) →
((♯‘𝐷) = 1
→ ¬ ∀𝑥
∈ 𝐷 𝐷 = {𝑥})) |
49 | 48 | adantl 482 |
. . . . . 6
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ((♯‘𝐷) = 1 → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
50 | 41, 49 | syldc 48 |
. . . . 5
⊢
(∀𝑥 ∈
𝐷 (♯‘𝐷) = 1 → ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
51 | 4, 50 | syl 17 |
. . . 4
⊢
(∀𝑥 ∈
𝐷 𝐷 = {𝑥} → ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
52 | | ax-1 6 |
. . . 4
⊢ (¬
∀𝑥 ∈ 𝐷 𝐷 = {𝑥} → ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥})) |
53 | 51, 52 | pm2.61i 182 |
. . 3
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ¬ ∀𝑥 ∈ 𝐷 𝐷 = {𝑥}) |
54 | | eqsn 4762 |
. . . . . 6
⊢ (𝐷 ≠ ∅ → (𝐷 = {𝑥} ↔ ∀𝑦 ∈ 𝐷 𝑦 = 𝑥)) |
55 | 39, 54 | syl 17 |
. . . . 5
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (𝐷 = {𝑥} ↔ ∀𝑦 ∈ 𝐷 𝑦 = 𝑥)) |
56 | | equcom 2021 |
. . . . . . 7
⊢ (𝑦 = 𝑥 ↔ 𝑥 = 𝑦) |
57 | 56 | a1i 11 |
. . . . . 6
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (𝑦 = 𝑥 ↔ 𝑥 = 𝑦)) |
58 | 57 | ralbidv 3112 |
. . . . 5
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (∀𝑦 ∈ 𝐷 𝑦 = 𝑥 ↔ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦)) |
59 | 55, 58 | bitrd 278 |
. . . 4
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (𝐷 = {𝑥} ↔ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦)) |
60 | 59 | ralbidv 3112 |
. . 3
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → (∀𝑥 ∈ 𝐷 𝐷 = {𝑥} ↔ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 𝑥 = 𝑦)) |
61 | 53, 60 | mtbid 324 |
. 2
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ¬ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
62 | | df-ne 2944 |
. . . . . 6
⊢ (𝑥 ≠ 𝑦 ↔ ¬ 𝑥 = 𝑦) |
63 | 62 | rexbii 3181 |
. . . . 5
⊢
(∃𝑦 ∈
𝐷 𝑥 ≠ 𝑦 ↔ ∃𝑦 ∈ 𝐷 ¬ 𝑥 = 𝑦) |
64 | | rexnal 3169 |
. . . . 5
⊢
(∃𝑦 ∈
𝐷 ¬ 𝑥 = 𝑦 ↔ ¬ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
65 | 63, 64 | bitri 274 |
. . . 4
⊢
(∃𝑦 ∈
𝐷 𝑥 ≠ 𝑦 ↔ ¬ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
66 | 65 | rexbii 3181 |
. . 3
⊢
(∃𝑥 ∈
𝐷 ∃𝑦 ∈ 𝐷 𝑥 ≠ 𝑦 ↔ ∃𝑥 ∈ 𝐷 ¬ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
67 | | rexnal 3169 |
. . 3
⊢
(∃𝑥 ∈
𝐷 ¬ ∀𝑦 ∈ 𝐷 𝑥 = 𝑦 ↔ ¬ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
68 | 66, 67 | bitri 274 |
. 2
⊢
(∃𝑥 ∈
𝐷 ∃𝑦 ∈ 𝐷 𝑥 ≠ 𝑦 ↔ ¬ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 𝑥 = 𝑦) |
69 | 61, 68 | sylibr 233 |
1
⊢ ((𝐷 ∈ 𝑉 ∧ 2 ≤ (♯‘𝐷)) → ∃𝑥 ∈ 𝐷 ∃𝑦 ∈ 𝐷 𝑥 ≠ 𝑦) |