Proof of Theorem setsstruct2
Step | Hyp | Ref
| Expression |
1 | | isstruct2 16850 |
. . . . . . 7
⊢ (𝐺 Struct 𝑋 ↔ (𝑋 ∈ ( ≤ ∩ (ℕ ×
ℕ)) ∧ Fun (𝐺
∖ {∅}) ∧ dom 𝐺 ⊆ (...‘𝑋))) |
2 | | elin 3903 |
. . . . . . . . 9
⊢ (𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) ↔ (𝑋
∈ ≤ ∧ 𝑋 ∈
(ℕ × ℕ))) |
3 | | elxp6 7865 |
. . . . . . . . . . 11
⊢ (𝑋 ∈ (ℕ ×
ℕ) ↔ (𝑋 =
〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ ((1st ‘𝑋) ∈ ℕ ∧
(2nd ‘𝑋)
∈ ℕ))) |
4 | | eleq1 2826 |
. . . . . . . . . . . . 13
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 →
(𝑋 ∈ ≤ ↔
〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ )) |
5 | 4 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) → (𝑋 ∈ ≤ ↔ 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∈ ≤
)) |
6 | | simp3 1137 |
. . . . . . . . . . . . . . . . . . 19
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 𝐼 ∈ ℕ) |
7 | | simp1l 1196 |
. . . . . . . . . . . . . . . . . . 19
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → (1st
‘𝑋) ∈
ℕ) |
8 | 6, 7 | ifcld 4505 |
. . . . . . . . . . . . . . . . . 18
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)) ∈ ℕ) |
9 | 8 | nnred 11988 |
. . . . . . . . . . . . . . . . 17
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)) ∈ ℝ) |
10 | 6 | nnred 11988 |
. . . . . . . . . . . . . . . . 17
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 𝐼 ∈ ℝ) |
11 | | simp1r 1197 |
. . . . . . . . . . . . . . . . . . 19
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → (2nd
‘𝑋) ∈
ℕ) |
12 | 11, 6 | ifcld 4505 |
. . . . . . . . . . . . . . . . . 18
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼) ∈ ℕ) |
13 | 12 | nnred 11988 |
. . . . . . . . . . . . . . . . 17
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼) ∈ ℝ) |
14 | | nnre 11980 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((1st ‘𝑋) ∈ ℕ → (1st
‘𝑋) ∈
ℝ) |
15 | 14 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
→ (1st ‘𝑋) ∈ ℝ) |
16 | | nnre 11980 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℝ) |
17 | 15, 16 | anim12i 613 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 𝐼 ∈ ℕ)
→ ((1st ‘𝑋) ∈ ℝ ∧ 𝐼 ∈ ℝ)) |
18 | 17 | 3adant2 1130 |
. . . . . . . . . . . . . . . . . . 19
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → ((1st
‘𝑋) ∈ ℝ
∧ 𝐼 ∈
ℝ)) |
19 | 18 | ancomd 462 |
. . . . . . . . . . . . . . . . . 18
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → (𝐼 ∈ ℝ ∧ (1st
‘𝑋) ∈
ℝ)) |
20 | | min1 12923 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝐼 ∈ ℝ ∧
(1st ‘𝑋)
∈ ℝ) → if(𝐼
≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)) ≤ 𝐼) |
21 | 19, 20 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)) ≤ 𝐼) |
22 | | nnre 11980 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢
((2nd ‘𝑋) ∈ ℕ → (2nd
‘𝑋) ∈
ℝ) |
23 | 22 | adantl 482 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
→ (2nd ‘𝑋) ∈ ℝ) |
24 | 23, 16 | anim12i 613 |
. . . . . . . . . . . . . . . . . . . 20
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 𝐼 ∈ ℕ)
→ ((2nd ‘𝑋) ∈ ℝ ∧ 𝐼 ∈ ℝ)) |
25 | 24 | 3adant2 1130 |
. . . . . . . . . . . . . . . . . . 19
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → ((2nd
‘𝑋) ∈ ℝ
∧ 𝐼 ∈
ℝ)) |
26 | 25 | ancomd 462 |
. . . . . . . . . . . . . . . . . 18
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → (𝐼 ∈ ℝ ∧ (2nd
‘𝑋) ∈
ℝ)) |
27 | | max1 12919 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝐼 ∈ ℝ ∧
(2nd ‘𝑋)
∈ ℝ) → 𝐼
≤ if(𝐼 ≤
(2nd ‘𝑋),
(2nd ‘𝑋),
𝐼)) |
28 | 26, 27 | syl 17 |
. . . . . . . . . . . . . . . . 17
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 𝐼 ≤ if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)) |
29 | 9, 10, 13, 21, 28 | letrd 11132 |
. . . . . . . . . . . . . . . 16
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)) ≤ if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)) |
30 | | df-br 5075 |
. . . . . . . . . . . . . . . 16
⊢ (if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)) ≤ if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼) ↔ 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ≤ ) |
31 | 29, 30 | sylib 217 |
. . . . . . . . . . . . . . 15
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ≤ ) |
32 | 8, 12 | opelxpd 5627 |
. . . . . . . . . . . . . . 15
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ (ℕ ×
ℕ)) |
33 | 31, 32 | elind 4128 |
. . . . . . . . . . . . . 14
⊢
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ ∧ 𝐼 ∈ ℕ) → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ))) |
34 | 33 | 3exp 1118 |
. . . . . . . . . . . . 13
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
→ (〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ → (𝐼 ∈ ℕ →
〈if(𝐼 ≤
(1st ‘𝑋),
𝐼, (1st
‘𝑋)), if(𝐼 ≤ (2nd
‘𝑋), (2nd
‘𝑋), 𝐼)〉 ∈ ( ≤ ∩
(ℕ × ℕ))))) |
35 | 34 | adantl 482 |
. . . . . . . . . . . 12
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) →
(〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ ≤ → (𝐼 ∈ ℕ →
〈if(𝐼 ≤
(1st ‘𝑋),
𝐼, (1st
‘𝑋)), if(𝐼 ≤ (2nd
‘𝑋), (2nd
‘𝑋), 𝐼)〉 ∈ ( ≤ ∩
(ℕ × ℕ))))) |
36 | 5, 35 | sylbid 239 |
. . . . . . . . . . 11
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) → (𝑋 ∈ ≤ → (𝐼 ∈ ℕ → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ))))) |
37 | 3, 36 | sylbi 216 |
. . . . . . . . . 10
⊢ (𝑋 ∈ (ℕ ×
ℕ) → (𝑋 ∈
≤ → (𝐼 ∈
ℕ → 〈if(𝐼
≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ))))) |
38 | 37 | impcom 408 |
. . . . . . . . 9
⊢ ((𝑋 ∈ ≤ ∧ 𝑋 ∈ (ℕ ×
ℕ)) → (𝐼 ∈
ℕ → 〈if(𝐼
≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ)))) |
39 | 2, 38 | sylbi 216 |
. . . . . . . 8
⊢ (𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) → (𝐼
∈ ℕ → 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ)))) |
40 | 39 | 3ad2ant1 1132 |
. . . . . . 7
⊢ ((𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) ∧ Fun (𝐺 ∖ {∅}) ∧ dom 𝐺 ⊆ (...‘𝑋)) → (𝐼 ∈ ℕ → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ)))) |
41 | 1, 40 | sylbi 216 |
. . . . . 6
⊢ (𝐺 Struct 𝑋 → (𝐼 ∈ ℕ → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ)))) |
42 | 41 | imp 407 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐼 ∈ ℕ) → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ))) |
43 | 42 | 3adant2 1130 |
. . . 4
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → 〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ))) |
44 | | structex 16851 |
. . . . . . 7
⊢ (𝐺 Struct 𝑋 → 𝐺 ∈ V) |
45 | | structn0fun 16852 |
. . . . . . 7
⊢ (𝐺 Struct 𝑋 → Fun (𝐺 ∖ {∅})) |
46 | 44, 45 | jca 512 |
. . . . . 6
⊢ (𝐺 Struct 𝑋 → (𝐺 ∈ V ∧ Fun (𝐺 ∖ {∅}))) |
47 | 46 | 3ad2ant1 1132 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → (𝐺 ∈ V ∧ Fun (𝐺 ∖ {∅}))) |
48 | | simp3 1137 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → 𝐼 ∈ ℕ) |
49 | | simp2 1136 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → 𝐸 ∈ 𝑉) |
50 | | setsfun0 16873 |
. . . . 5
⊢ (((𝐺 ∈ V ∧ Fun (𝐺 ∖ {∅})) ∧
(𝐼 ∈ ℕ ∧
𝐸 ∈ 𝑉)) → Fun ((𝐺 sSet 〈𝐼, 𝐸〉) ∖ {∅})) |
51 | 47, 48, 49, 50 | syl12anc 834 |
. . . 4
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → Fun ((𝐺 sSet 〈𝐼, 𝐸〉) ∖ {∅})) |
52 | 44 | 3ad2ant1 1132 |
. . . . . 6
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → 𝐺 ∈ V) |
53 | | setsdm 16871 |
. . . . . 6
⊢ ((𝐺 ∈ V ∧ 𝐸 ∈ 𝑉) → dom (𝐺 sSet 〈𝐼, 𝐸〉) = (dom 𝐺 ∪ {𝐼})) |
54 | 52, 49, 53 | syl2anc 584 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → dom (𝐺 sSet 〈𝐼, 𝐸〉) = (dom 𝐺 ∪ {𝐼})) |
55 | | fveq2 6774 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 →
(...‘𝑋) =
(...‘〈(1st ‘𝑋), (2nd ‘𝑋)〉)) |
56 | | df-ov 7278 |
. . . . . . . . . . . . . . . . 17
⊢
((1st ‘𝑋)...(2nd ‘𝑋)) = (...‘〈(1st
‘𝑋), (2nd
‘𝑋)〉) |
57 | 55, 56 | eqtr4di 2796 |
. . . . . . . . . . . . . . . 16
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 →
(...‘𝑋) =
((1st ‘𝑋)...(2nd ‘𝑋))) |
58 | 57 | sseq2d 3953 |
. . . . . . . . . . . . . . 15
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 → (dom
𝐺 ⊆ (...‘𝑋) ↔ dom 𝐺 ⊆ ((1st ‘𝑋)...(2nd ‘𝑋)))) |
59 | 58 | adantr 481 |
. . . . . . . . . . . . . 14
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) → (dom 𝐺 ⊆ (...‘𝑋) ↔ dom 𝐺 ⊆ ((1st ‘𝑋)...(2nd ‘𝑋)))) |
60 | | df-3an 1088 |
. . . . . . . . . . . . . . . . . 18
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ
∧ 𝐼 ∈ ℕ)
↔ (((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 𝐼 ∈
ℕ)) |
61 | | nnz 12342 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((1st ‘𝑋) ∈ ℕ → (1st
‘𝑋) ∈
ℤ) |
62 | | nnz 12342 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((2nd ‘𝑋) ∈ ℕ → (2nd
‘𝑋) ∈
ℤ) |
63 | | nnz 12342 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝐼 ∈ ℕ → 𝐼 ∈
ℤ) |
64 | 61, 62, 63 | 3anim123i 1150 |
. . . . . . . . . . . . . . . . . . . 20
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ
∧ 𝐼 ∈ ℕ)
→ ((1st ‘𝑋) ∈ ℤ ∧ (2nd
‘𝑋) ∈ ℤ
∧ 𝐼 ∈
ℤ)) |
65 | | ssfzunsnext 13301 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) ∧
((1st ‘𝑋)
∈ ℤ ∧ (2nd ‘𝑋) ∈ ℤ ∧ 𝐼 ∈ ℤ)) → (dom 𝐺 ∪ {𝐼}) ⊆ (if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋))...if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼))) |
66 | | df-ov 7278 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋))...if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)) = (...‘〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) |
67 | 65, 66 | sseqtrdi 3971 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) ∧
((1st ‘𝑋)
∈ ℤ ∧ (2nd ‘𝑋) ∈ ℤ ∧ 𝐼 ∈ ℤ)) → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
68 | 64, 67 | sylan2 593 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ ∧ 𝐼 ∈ ℕ)) → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
69 | 68 | ex 413 |
. . . . . . . . . . . . . . . . . 18
⊢ (dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) →
(((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ ∧ 𝐼 ∈ ℕ) → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉))) |
70 | 60, 69 | syl5bir 242 |
. . . . . . . . . . . . . . . . 17
⊢ (dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) →
((((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
∧ 𝐼 ∈ ℕ)
→ (dom 𝐺 ∪ {𝐼}) ⊆
(...‘〈if(𝐼 ≤
(1st ‘𝑋),
𝐼, (1st
‘𝑋)), if(𝐼 ≤ (2nd
‘𝑋), (2nd
‘𝑋), 𝐼)〉))) |
71 | 70 | expd 416 |
. . . . . . . . . . . . . . . 16
⊢ (dom
𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) →
(((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)))) |
72 | 71 | com12 32 |
. . . . . . . . . . . . . . 15
⊢
(((1st ‘𝑋) ∈ ℕ ∧ (2nd
‘𝑋) ∈ ℕ)
→ (dom 𝐺 ⊆
((1st ‘𝑋)...(2nd ‘𝑋)) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)))) |
73 | 72 | adantl 482 |
. . . . . . . . . . . . . 14
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) → (dom 𝐺 ⊆ ((1st
‘𝑋)...(2nd
‘𝑋)) → (𝐼 ∈ ℕ → (dom
𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)))) |
74 | 59, 73 | sylbid 239 |
. . . . . . . . . . . . 13
⊢ ((𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 ∧
((1st ‘𝑋)
∈ ℕ ∧ (2nd ‘𝑋) ∈ ℕ)) → (dom 𝐺 ⊆ (...‘𝑋) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)))) |
75 | 3, 74 | sylbi 216 |
. . . . . . . . . . . 12
⊢ (𝑋 ∈ (ℕ ×
ℕ) → (dom 𝐺
⊆ (...‘𝑋)
→ (𝐼 ∈ ℕ
→ (dom 𝐺 ∪ {𝐼}) ⊆
(...‘〈if(𝐼 ≤
(1st ‘𝑋),
𝐼, (1st
‘𝑋)), if(𝐼 ≤ (2nd
‘𝑋), (2nd
‘𝑋), 𝐼)〉)))) |
76 | 75 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝑋 ∈ ≤ ∧ 𝑋 ∈ (ℕ ×
ℕ)) → (dom 𝐺
⊆ (...‘𝑋)
→ (𝐼 ∈ ℕ
→ (dom 𝐺 ∪ {𝐼}) ⊆
(...‘〈if(𝐼 ≤
(1st ‘𝑋),
𝐼, (1st
‘𝑋)), if(𝐼 ≤ (2nd
‘𝑋), (2nd
‘𝑋), 𝐼)〉)))) |
77 | 2, 76 | sylbi 216 |
. . . . . . . . . 10
⊢ (𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) → (dom 𝐺 ⊆ (...‘𝑋) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)))) |
78 | 77 | imp 407 |
. . . . . . . . 9
⊢ ((𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) ∧ dom 𝐺 ⊆ (...‘𝑋)) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉))) |
79 | 78 | 3adant2 1130 |
. . . . . . . 8
⊢ ((𝑋 ∈ ( ≤ ∩ (ℕ
× ℕ)) ∧ Fun (𝐺 ∖ {∅}) ∧ dom 𝐺 ⊆ (...‘𝑋)) → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉))) |
80 | 1, 79 | sylbi 216 |
. . . . . . 7
⊢ (𝐺 Struct 𝑋 → (𝐼 ∈ ℕ → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉))) |
81 | 80 | imp 407 |
. . . . . 6
⊢ ((𝐺 Struct 𝑋 ∧ 𝐼 ∈ ℕ) → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
82 | 81 | 3adant2 1130 |
. . . . 5
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → (dom 𝐺 ∪ {𝐼}) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
83 | 54, 82 | eqsstrd 3959 |
. . . 4
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → dom (𝐺 sSet 〈𝐼, 𝐸〉) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
84 | | isstruct2 16850 |
. . . 4
⊢ ((𝐺 sSet 〈𝐼, 𝐸〉) Struct 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ↔ (〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 ∈ ( ≤ ∩ (ℕ ×
ℕ)) ∧ Fun ((𝐺
sSet 〈𝐼, 𝐸〉) ∖ {∅}) ∧
dom (𝐺 sSet 〈𝐼, 𝐸〉) ⊆ (...‘〈if(𝐼 ≤ (1st
‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉))) |
85 | 43, 51, 83, 84 | syl3anbrc 1342 |
. . 3
⊢ ((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) → (𝐺 sSet 〈𝐼, 𝐸〉) Struct 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) |
86 | 85 | adantr 481 |
. 2
⊢ (((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) ∧ 𝑌 = 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) → (𝐺 sSet 〈𝐼, 𝐸〉) Struct 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) |
87 | | breq2 5078 |
. . 3
⊢ (𝑌 = 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉 → ((𝐺 sSet 〈𝐼, 𝐸〉) Struct 𝑌 ↔ (𝐺 sSet 〈𝐼, 𝐸〉) Struct 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
88 | 87 | adantl 482 |
. 2
⊢ (((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) ∧ 𝑌 = 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) → ((𝐺 sSet 〈𝐼, 𝐸〉) Struct 𝑌 ↔ (𝐺 sSet 〈𝐼, 𝐸〉) Struct 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉)) |
89 | 86, 88 | mpbird 256 |
1
⊢ (((𝐺 Struct 𝑋 ∧ 𝐸 ∈ 𝑉 ∧ 𝐼 ∈ ℕ) ∧ 𝑌 = 〈if(𝐼 ≤ (1st ‘𝑋), 𝐼, (1st ‘𝑋)), if(𝐼 ≤ (2nd ‘𝑋), (2nd ‘𝑋), 𝐼)〉) → (𝐺 sSet 〈𝐼, 𝐸〉) Struct 𝑌) |