Proof of Theorem fprodex01
Step | Hyp | Ref
| Expression |
1 | | simpr 485 |
. . . . . 6
⊢ ((𝜑 ∧ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∀𝑙 ∈ 𝐴 𝐶 = 1) |
2 | | fprodex01.1 |
. . . . . . . 8
⊢ (𝑘 = 𝑙 → 𝐵 = 𝐶) |
3 | 2 | eqeq1d 2740 |
. . . . . . 7
⊢ (𝑘 = 𝑙 → (𝐵 = 1 ↔ 𝐶 = 1)) |
4 | 3 | cbvralvw 3383 |
. . . . . 6
⊢
(∀𝑘 ∈
𝐴 𝐵 = 1 ↔ ∀𝑙 ∈ 𝐴 𝐶 = 1) |
5 | 1, 4 | sylibr 233 |
. . . . 5
⊢ ((𝜑 ∧ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∀𝑘 ∈ 𝐴 𝐵 = 1) |
6 | 5 | prodeq2d 15632 |
. . . 4
⊢ ((𝜑 ∧ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∏𝑘 ∈ 𝐴 𝐵 = ∏𝑘 ∈ 𝐴 1) |
7 | | fprodex01.a |
. . . . . 6
⊢ (𝜑 → 𝐴 ∈ Fin) |
8 | | prod1 15654 |
. . . . . . 7
⊢ ((𝐴 ⊆
(ℤ≥‘0) ∨ 𝐴 ∈ Fin) → ∏𝑘 ∈ 𝐴 1 = 1) |
9 | 8 | olcs 873 |
. . . . . 6
⊢ (𝐴 ∈ Fin → ∏𝑘 ∈ 𝐴 1 = 1) |
10 | 7, 9 | syl 17 |
. . . . 5
⊢ (𝜑 → ∏𝑘 ∈ 𝐴 1 = 1) |
11 | 10 | adantr 481 |
. . . 4
⊢ ((𝜑 ∧ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∏𝑘 ∈ 𝐴 1 = 1) |
12 | 6, 11 | eqtr2d 2779 |
. . 3
⊢ ((𝜑 ∧ ∀𝑙 ∈ 𝐴 𝐶 = 1) → 1 = ∏𝑘 ∈ 𝐴 𝐵) |
13 | | nfv 1917 |
. . . . . 6
⊢
Ⅎ𝑙𝜑 |
14 | | nfra1 3144 |
. . . . . . 7
⊢
Ⅎ𝑙∀𝑙 ∈ 𝐴 𝐶 = 1 |
15 | 14 | nfn 1860 |
. . . . . 6
⊢
Ⅎ𝑙 ¬
∀𝑙 ∈ 𝐴 𝐶 = 1 |
16 | 13, 15 | nfan 1902 |
. . . . 5
⊢
Ⅎ𝑙(𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) |
17 | | nfv 1917 |
. . . . 5
⊢
Ⅎ𝑙∏𝑘 ∈ 𝐴 𝐵 = 0 |
18 | 7 | adantr 481 |
. . . . . . 7
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → 𝐴 ∈ Fin) |
19 | 18 | ad2antrr 723 |
. . . . . 6
⊢ ((((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝐶 = 0) → 𝐴 ∈ Fin) |
20 | | pr01ssre 31138 |
. . . . . . . . . . 11
⊢ {0, 1}
⊆ ℝ |
21 | | ax-resscn 10928 |
. . . . . . . . . . 11
⊢ ℝ
⊆ ℂ |
22 | 20, 21 | sstri 3930 |
. . . . . . . . . 10
⊢ {0, 1}
⊆ ℂ |
23 | | fprodex01.b |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ {0, 1}) |
24 | 22, 23 | sselid 3919 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
25 | 24 | adantlr 712 |
. . . . . . . 8
⊢ (((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
26 | 25 | adantlr 712 |
. . . . . . 7
⊢ ((((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
27 | 26 | adantlr 712 |
. . . . . 6
⊢
(((((𝜑 ∧ ¬
∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝐶 = 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
28 | | simplr 766 |
. . . . . 6
⊢ ((((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝐶 = 0) → 𝑙 ∈ 𝐴) |
29 | | simpr 485 |
. . . . . 6
⊢ ((((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝐶 = 0) → 𝐶 = 0) |
30 | 2, 19, 27, 28, 29 | fprodeq02 31137 |
. . . . 5
⊢ ((((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) ∧ 𝑙 ∈ 𝐴) ∧ 𝐶 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0) |
31 | | rexnal 3169 |
. . . . . . . 8
⊢
(∃𝑙 ∈
𝐴 ¬ 𝐶 = 1 ↔ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) |
32 | 31 | biimpri 227 |
. . . . . . 7
⊢ (¬
∀𝑙 ∈ 𝐴 𝐶 = 1 → ∃𝑙 ∈ 𝐴 ¬ 𝐶 = 1) |
33 | 32 | adantl 482 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∃𝑙 ∈ 𝐴 ¬ 𝐶 = 1) |
34 | 23 | ralrimiva 3103 |
. . . . . . . . . . . . 13
⊢ (𝜑 → ∀𝑘 ∈ 𝐴 𝐵 ∈ {0, 1}) |
35 | 2 | eleq1d 2823 |
. . . . . . . . . . . . . 14
⊢ (𝑘 = 𝑙 → (𝐵 ∈ {0, 1} ↔ 𝐶 ∈ {0, 1})) |
36 | 35 | cbvralvw 3383 |
. . . . . . . . . . . . 13
⊢
(∀𝑘 ∈
𝐴 𝐵 ∈ {0, 1} ↔ ∀𝑙 ∈ 𝐴 𝐶 ∈ {0, 1}) |
37 | 34, 36 | sylib 217 |
. . . . . . . . . . . 12
⊢ (𝜑 → ∀𝑙 ∈ 𝐴 𝐶 ∈ {0, 1}) |
38 | 37 | r19.21bi 3134 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑙 ∈ 𝐴) → 𝐶 ∈ {0, 1}) |
39 | | c0ex 10969 |
. . . . . . . . . . . 12
⊢ 0 ∈
V |
40 | | 1ex 10971 |
. . . . . . . . . . . 12
⊢ 1 ∈
V |
41 | 39, 40 | elpr2 4586 |
. . . . . . . . . . 11
⊢ (𝐶 ∈ {0, 1} ↔ (𝐶 = 0 ∨ 𝐶 = 1)) |
42 | 38, 41 | sylib 217 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑙 ∈ 𝐴) → (𝐶 = 0 ∨ 𝐶 = 1)) |
43 | 42 | orcomd 868 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑙 ∈ 𝐴) → (𝐶 = 1 ∨ 𝐶 = 0)) |
44 | 43 | ord 861 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑙 ∈ 𝐴) → (¬ 𝐶 = 1 → 𝐶 = 0)) |
45 | 44 | reximdva 3203 |
. . . . . . 7
⊢ (𝜑 → (∃𝑙 ∈ 𝐴 ¬ 𝐶 = 1 → ∃𝑙 ∈ 𝐴 𝐶 = 0)) |
46 | 45 | adantr 481 |
. . . . . 6
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → (∃𝑙 ∈ 𝐴 ¬ 𝐶 = 1 → ∃𝑙 ∈ 𝐴 𝐶 = 0)) |
47 | 33, 46 | mpd 15 |
. . . . 5
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∃𝑙 ∈ 𝐴 𝐶 = 0) |
48 | 16, 17, 30, 47 | r19.29af2 3261 |
. . . 4
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → ∏𝑘 ∈ 𝐴 𝐵 = 0) |
49 | 48 | eqcomd 2744 |
. . 3
⊢ ((𝜑 ∧ ¬ ∀𝑙 ∈ 𝐴 𝐶 = 1) → 0 = ∏𝑘 ∈ 𝐴 𝐵) |
50 | 12, 49 | ifeqda 4495 |
. 2
⊢ (𝜑 → if(∀𝑙 ∈ 𝐴 𝐶 = 1, 1, 0) = ∏𝑘 ∈ 𝐴 𝐵) |
51 | 50 | eqcomd 2744 |
1
⊢ (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 = if(∀𝑙 ∈ 𝐴 𝐶 = 1, 1, 0)) |