| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > strsetsid | GIF version | ||
| Description: Value of the structure replacement function. (Contributed by AV, 14-Mar-2020.) (Revised by Jim Kingdon, 30-Jan-2023.) |
| Ref | Expression |
|---|---|
| strsetsid.e | ⊢ 𝐸 = Slot (𝐸‘ndx) |
| strsetsid.s | ⊢ (𝜑 → 𝑆 Struct 〈𝑀, 𝑁〉) |
| strsetsid.f | ⊢ (𝜑 → Fun 𝑆) |
| strsetsid.d | ⊢ (𝜑 → (𝐸‘ndx) ∈ dom 𝑆) |
| Ref | Expression |
|---|---|
| strsetsid | ⊢ (𝜑 → 𝑆 = (𝑆 sSet 〈(𝐸‘ndx), (𝐸‘𝑆)〉)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | strsetsid.s | . . . 4 ⊢ (𝜑 → 𝑆 Struct 〈𝑀, 𝑁〉) | |
| 2 | structex 12888 | . . . 4 ⊢ (𝑆 Struct 〈𝑀, 𝑁〉 → 𝑆 ∈ V) | |
| 3 | 1, 2 | syl 14 | . . 3 ⊢ (𝜑 → 𝑆 ∈ V) |
| 4 | strsetsid.d | . . 3 ⊢ (𝜑 → (𝐸‘ndx) ∈ dom 𝑆) | |
| 5 | strsetsid.e | . . . . 5 ⊢ 𝐸 = Slot (𝐸‘ndx) | |
| 6 | isstructim 12890 | . . . . . . . . 9 ⊢ (𝑆 Struct 〈𝑀, 𝑁〉 → ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑀 ≤ 𝑁) ∧ Fun (𝑆 ∖ {∅}) ∧ dom 𝑆 ⊆ (𝑀...𝑁))) | |
| 7 | 1, 6 | syl 14 | . . . . . . . 8 ⊢ (𝜑 → ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑀 ≤ 𝑁) ∧ Fun (𝑆 ∖ {∅}) ∧ dom 𝑆 ⊆ (𝑀...𝑁))) |
| 8 | 7 | simp3d 1014 | . . . . . . 7 ⊢ (𝜑 → dom 𝑆 ⊆ (𝑀...𝑁)) |
| 9 | 7 | simp1d 1012 | . . . . . . . . 9 ⊢ (𝜑 → (𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑀 ≤ 𝑁)) |
| 10 | 9 | simp1d 1012 | . . . . . . . 8 ⊢ (𝜑 → 𝑀 ∈ ℕ) |
| 11 | fzssnn 10197 | . . . . . . . 8 ⊢ (𝑀 ∈ ℕ → (𝑀...𝑁) ⊆ ℕ) | |
| 12 | 10, 11 | syl 14 | . . . . . . 7 ⊢ (𝜑 → (𝑀...𝑁) ⊆ ℕ) |
| 13 | 8, 12 | sstrd 3204 | . . . . . 6 ⊢ (𝜑 → dom 𝑆 ⊆ ℕ) |
| 14 | 13, 4 | sseldd 3195 | . . . . 5 ⊢ (𝜑 → (𝐸‘ndx) ∈ ℕ) |
| 15 | 5, 3, 14 | strnfvnd 12896 | . . . 4 ⊢ (𝜑 → (𝐸‘𝑆) = (𝑆‘(𝐸‘ndx))) |
| 16 | strsetsid.f | . . . . 5 ⊢ (𝜑 → Fun 𝑆) | |
| 17 | funfvex 5600 | . . . . 5 ⊢ ((Fun 𝑆 ∧ (𝐸‘ndx) ∈ dom 𝑆) → (𝑆‘(𝐸‘ndx)) ∈ V) | |
| 18 | 16, 4, 17 | syl2anc 411 | . . . 4 ⊢ (𝜑 → (𝑆‘(𝐸‘ndx)) ∈ V) |
| 19 | 15, 18 | eqeltrd 2283 | . . 3 ⊢ (𝜑 → (𝐸‘𝑆) ∈ V) |
| 20 | setsvala 12907 | . . 3 ⊢ ((𝑆 ∈ V ∧ (𝐸‘ndx) ∈ dom 𝑆 ∧ (𝐸‘𝑆) ∈ V) → (𝑆 sSet 〈(𝐸‘ndx), (𝐸‘𝑆)〉) = ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝐸‘𝑆)〉})) | |
| 21 | 3, 4, 19, 20 | syl3anc 1250 | . 2 ⊢ (𝜑 → (𝑆 sSet 〈(𝐸‘ndx), (𝐸‘𝑆)〉) = ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝐸‘𝑆)〉})) |
| 22 | 15 | opeq2d 3828 | . . . 4 ⊢ (𝜑 → 〈(𝐸‘ndx), (𝐸‘𝑆)〉 = 〈(𝐸‘ndx), (𝑆‘(𝐸‘ndx))〉) |
| 23 | 22 | sneqd 3647 | . . 3 ⊢ (𝜑 → {〈(𝐸‘ndx), (𝐸‘𝑆)〉} = {〈(𝐸‘ndx), (𝑆‘(𝐸‘ndx))〉}) |
| 24 | 23 | uneq2d 3328 | . 2 ⊢ (𝜑 → ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝐸‘𝑆)〉}) = ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝑆‘(𝐸‘ndx))〉})) |
| 25 | nnssz 9396 | . . . . 5 ⊢ ℕ ⊆ ℤ | |
| 26 | 13, 25 | sstrdi 3206 | . . . 4 ⊢ (𝜑 → dom 𝑆 ⊆ ℤ) |
| 27 | zdceq 9455 | . . . . 5 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → DECID 𝑥 = 𝑦) | |
| 28 | 27 | rgen2a 2561 | . . . 4 ⊢ ∀𝑥 ∈ ℤ ∀𝑦 ∈ ℤ DECID 𝑥 = 𝑦 |
| 29 | ssralv 3258 | . . . . . 6 ⊢ (dom 𝑆 ⊆ ℤ → (∀𝑦 ∈ ℤ DECID 𝑥 = 𝑦 → ∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦)) | |
| 30 | 29 | ralimdv 2575 | . . . . 5 ⊢ (dom 𝑆 ⊆ ℤ → (∀𝑥 ∈ ℤ ∀𝑦 ∈ ℤ DECID 𝑥 = 𝑦 → ∀𝑥 ∈ ℤ ∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦)) |
| 31 | ssralv 3258 | . . . . 5 ⊢ (dom 𝑆 ⊆ ℤ → (∀𝑥 ∈ ℤ ∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦 → ∀𝑥 ∈ dom 𝑆∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦)) | |
| 32 | 30, 31 | syld 45 | . . . 4 ⊢ (dom 𝑆 ⊆ ℤ → (∀𝑥 ∈ ℤ ∀𝑦 ∈ ℤ DECID 𝑥 = 𝑦 → ∀𝑥 ∈ dom 𝑆∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦)) |
| 33 | 26, 28, 32 | mpisyl 1467 | . . 3 ⊢ (𝜑 → ∀𝑥 ∈ dom 𝑆∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦) |
| 34 | funresdfunsndc 6599 | . . 3 ⊢ ((∀𝑥 ∈ dom 𝑆∀𝑦 ∈ dom 𝑆DECID 𝑥 = 𝑦 ∧ Fun 𝑆 ∧ (𝐸‘ndx) ∈ dom 𝑆) → ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝑆‘(𝐸‘ndx))〉}) = 𝑆) | |
| 35 | 33, 16, 4, 34 | syl3anc 1250 | . 2 ⊢ (𝜑 → ((𝑆 ↾ (V ∖ {(𝐸‘ndx)})) ∪ {〈(𝐸‘ndx), (𝑆‘(𝐸‘ndx))〉}) = 𝑆) |
| 36 | 21, 24, 35 | 3eqtrrd 2244 | 1 ⊢ (𝜑 → 𝑆 = (𝑆 sSet 〈(𝐸‘ndx), (𝐸‘𝑆)〉)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 DECID wdc 836 ∧ w3a 981 = wceq 1373 ∈ wcel 2177 ∀wral 2485 Vcvv 2773 ∖ cdif 3164 ∪ cun 3165 ⊆ wss 3167 ∅c0 3461 {csn 3634 〈cop 3637 class class class wbr 4047 dom cdm 4679 ↾ cres 4681 Fun wfun 5270 ‘cfv 5276 (class class class)co 5951 ≤ cle 8115 ℕcn 9043 ℤcz 9379 ...cfz 10137 Struct cstr 12872 ndxcnx 12873 sSet csts 12874 Slot cslot 12875 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 615 ax-in2 616 ax-io 711 ax-5 1471 ax-7 1472 ax-gen 1473 ax-ie1 1517 ax-ie2 1518 ax-8 1528 ax-10 1529 ax-11 1530 ax-i12 1531 ax-bndl 1533 ax-4 1534 ax-17 1550 ax-i9 1554 ax-ial 1558 ax-i5r 1559 ax-13 2179 ax-14 2180 ax-ext 2188 ax-sep 4166 ax-pow 4222 ax-pr 4257 ax-un 4484 ax-setind 4589 ax-cnex 8023 ax-resscn 8024 ax-1cn 8025 ax-1re 8026 ax-icn 8027 ax-addcl 8028 ax-addrcl 8029 ax-mulcl 8030 ax-addcom 8032 ax-addass 8034 ax-distr 8036 ax-i2m1 8037 ax-0lt1 8038 ax-0id 8040 ax-rnegex 8041 ax-cnre 8043 ax-pre-ltirr 8044 ax-pre-ltwlin 8045 ax-pre-lttrn 8046 ax-pre-ltadd 8048 |
| This theorem depends on definitions: df-bi 117 df-dc 837 df-3or 982 df-3an 983 df-tru 1376 df-fal 1379 df-nf 1485 df-sb 1787 df-eu 2058 df-mo 2059 df-clab 2193 df-cleq 2199 df-clel 2202 df-nfc 2338 df-ne 2378 df-nel 2473 df-ral 2490 df-rex 2491 df-reu 2492 df-rab 2494 df-v 2775 df-sbc 3000 df-dif 3169 df-un 3171 df-in 3173 df-ss 3180 df-pw 3619 df-sn 3640 df-pr 3641 df-op 3643 df-uni 3853 df-int 3888 df-br 4048 df-opab 4110 df-mpt 4111 df-id 4344 df-xp 4685 df-rel 4686 df-cnv 4687 df-co 4688 df-dm 4689 df-rn 4690 df-res 4691 df-ima 4692 df-iota 5237 df-fun 5278 df-fn 5279 df-f 5280 df-f1 5281 df-fo 5282 df-f1o 5283 df-fv 5284 df-riota 5906 df-ov 5954 df-oprab 5955 df-mpo 5956 df-pnf 8116 df-mnf 8117 df-xr 8118 df-ltxr 8119 df-le 8120 df-sub 8252 df-neg 8253 df-inn 9044 df-n0 9303 df-z 9380 df-uz 9656 df-fz 10138 df-struct 12878 df-slot 12880 df-sets 12883 |
| This theorem is referenced by: strressid 12947 |
| Copyright terms: Public domain | W3C validator |