Proof of Theorem ressval3dOLD
Step | Hyp | Ref
| Expression |
1 | | ressval3d.u |
. 2
⊢ (𝜑 → 𝐴 ⊆ 𝐵) |
2 | | sspss 4031 |
. . . 4
⊢ (𝐴 ⊆ 𝐵 ↔ (𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵)) |
3 | | dfpss3 4018 |
. . . . 5
⊢ (𝐴 ⊊ 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴)) |
4 | 3 | orbi1i 914 |
. . . 4
⊢ ((𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵) ↔ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵)) |
5 | 2, 4 | bitri 278 |
. . 3
⊢ (𝐴 ⊆ 𝐵 ↔ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵)) |
6 | | simplr 769 |
. . . . . . 7
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ¬ 𝐵 ⊆ 𝐴) |
7 | | ressval3d.s |
. . . . . . . 8
⊢ (𝜑 → 𝑆 ∈ 𝑉) |
8 | 7 | adantl 485 |
. . . . . . 7
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑆 ∈ 𝑉) |
9 | | simpl 486 |
. . . . . . . 8
⊢ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 ⊆ 𝐵) |
10 | | ressval3d.b |
. . . . . . . . . 10
⊢ 𝐵 = (Base‘𝑆) |
11 | 10 | fvexi 6767 |
. . . . . . . . 9
⊢ 𝐵 ∈ V |
12 | 11 | a1i 11 |
. . . . . . . 8
⊢ (𝜑 → 𝐵 ∈ V) |
13 | | ssexg 5240 |
. . . . . . . 8
⊢ ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ V) → 𝐴 ∈ V) |
14 | 9, 12, 13 | syl2an 599 |
. . . . . . 7
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 ∈ V) |
15 | | ressval3d.r |
. . . . . . . 8
⊢ 𝑅 = (𝑆 ↾s 𝐴) |
16 | 15, 10 | ressval2 16847 |
. . . . . . 7
⊢ ((¬
𝐵 ⊆ 𝐴 ∧ 𝑆 ∈ 𝑉 ∧ 𝐴 ∈ V) → 𝑅 = (𝑆 sSet 〈(Base‘ndx), (𝐴 ∩ 𝐵)〉)) |
17 | 6, 8, 14, 16 | syl3anc 1373 |
. . . . . 6
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet 〈(Base‘ndx), (𝐴 ∩ 𝐵)〉)) |
18 | | ressval3d.e |
. . . . . . . . . 10
⊢ 𝐸 =
(Base‘ndx) |
19 | 18 | a1i 11 |
. . . . . . . . 9
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐸 = (Base‘ndx)) |
20 | | df-ss 3901 |
. . . . . . . . . . . . 13
⊢ (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴) |
21 | 20 | biimpi 219 |
. . . . . . . . . . . 12
⊢ (𝐴 ⊆ 𝐵 → (𝐴 ∩ 𝐵) = 𝐴) |
22 | 21 | eqcomd 2745 |
. . . . . . . . . . 11
⊢ (𝐴 ⊆ 𝐵 → 𝐴 = (𝐴 ∩ 𝐵)) |
23 | 22 | adantr 484 |
. . . . . . . . . 10
⊢ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 = (𝐴 ∩ 𝐵)) |
24 | 23 | adantr 484 |
. . . . . . . . 9
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 = (𝐴 ∩ 𝐵)) |
25 | 19, 24 | opeq12d 4809 |
. . . . . . . 8
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 〈𝐸, 𝐴〉 = 〈(Base‘ndx), (𝐴 ∩ 𝐵)〉) |
26 | 25 | eqcomd 2745 |
. . . . . . 7
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 〈(Base‘ndx), (𝐴 ∩ 𝐵)〉 = 〈𝐸, 𝐴〉) |
27 | 26 | oveq2d 7268 |
. . . . . 6
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → (𝑆 sSet 〈(Base‘ndx), (𝐴 ∩ 𝐵)〉) = (𝑆 sSet 〈𝐸, 𝐴〉)) |
28 | 17, 27 | eqtrd 2779 |
. . . . 5
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉)) |
29 | 28 | ex 416 |
. . . 4
⊢ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → (𝜑 → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉))) |
30 | 15 | a1i 11 |
. . . . . . 7
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 ↾s 𝐴)) |
31 | | oveq2 7260 |
. . . . . . . 8
⊢ (𝐴 = 𝐵 → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵)) |
32 | 31 | adantr 484 |
. . . . . . 7
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵)) |
33 | 7 | adantl 485 |
. . . . . . . 8
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 ∈ 𝑉) |
34 | 10 | ressid 16855 |
. . . . . . . 8
⊢ (𝑆 ∈ 𝑉 → (𝑆 ↾s 𝐵) = 𝑆) |
35 | 33, 34 | syl 17 |
. . . . . . 7
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐵) = 𝑆) |
36 | 30, 32, 35 | 3eqtrd 2783 |
. . . . . 6
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = 𝑆) |
37 | | df-base 16816 |
. . . . . . . 8
⊢ Base =
Slot 1 |
38 | | 1nn 11889 |
. . . . . . . 8
⊢ 1 ∈
ℕ |
39 | | ressval3d.f |
. . . . . . . 8
⊢ (𝜑 → Fun 𝑆) |
40 | | ressval3d.d |
. . . . . . . . 9
⊢ (𝜑 → 𝐸 ∈ dom 𝑆) |
41 | 18, 40 | eqeltrrid 2845 |
. . . . . . . 8
⊢ (𝜑 → (Base‘ndx) ∈
dom 𝑆) |
42 | 37, 38, 7, 39, 41 | setsidvaldOLD 16804 |
. . . . . . 7
⊢ (𝜑 → 𝑆 = (𝑆 sSet 〈(Base‘ndx),
(Base‘𝑆)〉)) |
43 | 42 | adantl 485 |
. . . . . 6
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 = (𝑆 sSet 〈(Base‘ndx),
(Base‘𝑆)〉)) |
44 | 18 | a1i 11 |
. . . . . . . . 9
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝐸 = (Base‘ndx)) |
45 | | simpl 486 |
. . . . . . . . . 10
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = 𝐵) |
46 | 45, 10 | eqtrdi 2796 |
. . . . . . . . 9
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = (Base‘𝑆)) |
47 | 44, 46 | opeq12d 4809 |
. . . . . . . 8
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 〈𝐸, 𝐴〉 = 〈(Base‘ndx),
(Base‘𝑆)〉) |
48 | 47 | eqcomd 2745 |
. . . . . . 7
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 〈(Base‘ndx),
(Base‘𝑆)〉 =
〈𝐸, 𝐴〉) |
49 | 48 | oveq2d 7268 |
. . . . . 6
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 sSet 〈(Base‘ndx),
(Base‘𝑆)〉) =
(𝑆 sSet 〈𝐸, 𝐴〉)) |
50 | 36, 43, 49 | 3eqtrd 2783 |
. . . . 5
⊢ ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉)) |
51 | 50 | ex 416 |
. . . 4
⊢ (𝐴 = 𝐵 → (𝜑 → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉))) |
52 | 29, 51 | jaoi 857 |
. . 3
⊢ (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵) → (𝜑 → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉))) |
53 | 5, 52 | sylbi 220 |
. 2
⊢ (𝐴 ⊆ 𝐵 → (𝜑 → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉))) |
54 | 1, 53 | mpcom 38 |
1
⊢ (𝜑 → 𝑅 = (𝑆 sSet 〈𝐸, 𝐴〉)) |