Proof of Theorem fztpval
Step | Hyp | Ref
| Expression |
1 | | 1z 9217 |
. . . . 5
⊢ 1 ∈
ℤ |
2 | | fztp 10013 |
. . . . 5
⊢ (1 ∈
ℤ → (1...(1 + 2)) = {1, (1 + 1), (1 + 2)}) |
3 | 1, 2 | ax-mp 5 |
. . . 4
⊢ (1...(1 +
2)) = {1, (1 + 1), (1 + 2)} |
4 | | df-3 8917 |
. . . . . 6
⊢ 3 = (2 +
1) |
5 | | 2cn 8928 |
. . . . . . 7
⊢ 2 ∈
ℂ |
6 | | ax-1cn 7846 |
. . . . . . 7
⊢ 1 ∈
ℂ |
7 | 5, 6 | addcomi 8042 |
. . . . . 6
⊢ (2 + 1) =
(1 + 2) |
8 | 4, 7 | eqtri 2186 |
. . . . 5
⊢ 3 = (1 +
2) |
9 | 8 | oveq2i 5853 |
. . . 4
⊢ (1...3) =
(1...(1 + 2)) |
10 | | tpeq3 3664 |
. . . . . 6
⊢ (3 = (1 +
2) → {1, 2, 3} = {1, 2, (1 + 2)}) |
11 | 8, 10 | ax-mp 5 |
. . . . 5
⊢ {1, 2, 3}
= {1, 2, (1 + 2)} |
12 | | df-2 8916 |
. . . . . 6
⊢ 2 = (1 +
1) |
13 | | tpeq2 3663 |
. . . . . 6
⊢ (2 = (1 +
1) → {1, 2, (1 + 2)} = {1, (1 + 1), (1 + 2)}) |
14 | 12, 13 | ax-mp 5 |
. . . . 5
⊢ {1, 2, (1
+ 2)} = {1, (1 + 1), (1 + 2)} |
15 | 11, 14 | eqtri 2186 |
. . . 4
⊢ {1, 2, 3}
= {1, (1 + 1), (1 + 2)} |
16 | 3, 9, 15 | 3eqtr4i 2196 |
. . 3
⊢ (1...3) =
{1, 2, 3} |
17 | 16 | raleqi 2665 |
. 2
⊢
(∀𝑥 ∈
(1...3)(𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ ∀𝑥 ∈ {1, 2, 3} (𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶))) |
18 | | 1ex 7894 |
. . 3
⊢ 1 ∈
V |
19 | | 2ex 8929 |
. . 3
⊢ 2 ∈
V |
20 | | 3ex 8933 |
. . 3
⊢ 3 ∈
V |
21 | | fveq2 5486 |
. . . 4
⊢ (𝑥 = 1 → (𝐹‘𝑥) = (𝐹‘1)) |
22 | | iftrue 3525 |
. . . 4
⊢ (𝑥 = 1 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = 𝐴) |
23 | 21, 22 | eqeq12d 2180 |
. . 3
⊢ (𝑥 = 1 → ((𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ (𝐹‘1) = 𝐴)) |
24 | | fveq2 5486 |
. . . 4
⊢ (𝑥 = 2 → (𝐹‘𝑥) = (𝐹‘2)) |
25 | | 1re 7898 |
. . . . . . . 8
⊢ 1 ∈
ℝ |
26 | | 1lt2 9026 |
. . . . . . . 8
⊢ 1 <
2 |
27 | 25, 26 | gtneii 7994 |
. . . . . . 7
⊢ 2 ≠
1 |
28 | | neeq1 2349 |
. . . . . . 7
⊢ (𝑥 = 2 → (𝑥 ≠ 1 ↔ 2 ≠ 1)) |
29 | 27, 28 | mpbiri 167 |
. . . . . 6
⊢ (𝑥 = 2 → 𝑥 ≠ 1) |
30 | | ifnefalse 3531 |
. . . . . 6
⊢ (𝑥 ≠ 1 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = if(𝑥 = 2, 𝐵, 𝐶)) |
31 | 29, 30 | syl 14 |
. . . . 5
⊢ (𝑥 = 2 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = if(𝑥 = 2, 𝐵, 𝐶)) |
32 | | iftrue 3525 |
. . . . 5
⊢ (𝑥 = 2 → if(𝑥 = 2, 𝐵, 𝐶) = 𝐵) |
33 | 31, 32 | eqtrd 2198 |
. . . 4
⊢ (𝑥 = 2 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = 𝐵) |
34 | 24, 33 | eqeq12d 2180 |
. . 3
⊢ (𝑥 = 2 → ((𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ (𝐹‘2) = 𝐵)) |
35 | | fveq2 5486 |
. . . 4
⊢ (𝑥 = 3 → (𝐹‘𝑥) = (𝐹‘3)) |
36 | | 1lt3 9028 |
. . . . . . . 8
⊢ 1 <
3 |
37 | 25, 36 | gtneii 7994 |
. . . . . . 7
⊢ 3 ≠
1 |
38 | | neeq1 2349 |
. . . . . . 7
⊢ (𝑥 = 3 → (𝑥 ≠ 1 ↔ 3 ≠ 1)) |
39 | 37, 38 | mpbiri 167 |
. . . . . 6
⊢ (𝑥 = 3 → 𝑥 ≠ 1) |
40 | 39, 30 | syl 14 |
. . . . 5
⊢ (𝑥 = 3 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = if(𝑥 = 2, 𝐵, 𝐶)) |
41 | | 2re 8927 |
. . . . . . . 8
⊢ 2 ∈
ℝ |
42 | | 2lt3 9027 |
. . . . . . . 8
⊢ 2 <
3 |
43 | 41, 42 | gtneii 7994 |
. . . . . . 7
⊢ 3 ≠
2 |
44 | | neeq1 2349 |
. . . . . . 7
⊢ (𝑥 = 3 → (𝑥 ≠ 2 ↔ 3 ≠ 2)) |
45 | 43, 44 | mpbiri 167 |
. . . . . 6
⊢ (𝑥 = 3 → 𝑥 ≠ 2) |
46 | | ifnefalse 3531 |
. . . . . 6
⊢ (𝑥 ≠ 2 → if(𝑥 = 2, 𝐵, 𝐶) = 𝐶) |
47 | 45, 46 | syl 14 |
. . . . 5
⊢ (𝑥 = 3 → if(𝑥 = 2, 𝐵, 𝐶) = 𝐶) |
48 | 40, 47 | eqtrd 2198 |
. . . 4
⊢ (𝑥 = 3 → if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) = 𝐶) |
49 | 35, 48 | eqeq12d 2180 |
. . 3
⊢ (𝑥 = 3 → ((𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ (𝐹‘3) = 𝐶)) |
50 | 18, 19, 20, 23, 34, 49 | raltp 3633 |
. 2
⊢
(∀𝑥 ∈
{1, 2, 3} (𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ ((𝐹‘1) = 𝐴 ∧ (𝐹‘2) = 𝐵 ∧ (𝐹‘3) = 𝐶)) |
51 | 17, 50 | bitri 183 |
1
⊢
(∀𝑥 ∈
(1...3)(𝐹‘𝑥) = if(𝑥 = 1, 𝐴, if(𝑥 = 2, 𝐵, 𝐶)) ↔ ((𝐹‘1) = 𝐴 ∧ (𝐹‘2) = 𝐵 ∧ (𝐹‘3) = 𝐶)) |