| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > strslfv | GIF version | ||
| Description: Extract a structure component 𝐶 (such as the base set) from a structure 𝑆 with a component extractor 𝐸 (such as the base set extractor df-base 13093). By virtue of ndxslid 13112, this can be done without having to refer to the hard-coded numeric index of 𝐸. (Contributed by Mario Carneiro, 6-Oct-2013.) (Revised by Jim Kingdon, 30-Jan-2023.) |
| Ref | Expression |
|---|---|
| strfv.s | ⊢ 𝑆 Struct 𝑋 |
| strslfv.e | ⊢ (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ) |
| strfv.n | ⊢ {〈(𝐸‘ndx), 𝐶〉} ⊆ 𝑆 |
| Ref | Expression |
|---|---|
| strslfv | ⊢ (𝐶 ∈ 𝑉 → 𝐶 = (𝐸‘𝑆)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | strslfv.e | . 2 ⊢ (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ) | |
| 2 | strfv.s | . . 3 ⊢ 𝑆 Struct 𝑋 | |
| 3 | structex 13099 | . . 3 ⊢ (𝑆 Struct 𝑋 → 𝑆 ∈ V) | |
| 4 | 2, 3 | mp1i 10 | . 2 ⊢ (𝐶 ∈ 𝑉 → 𝑆 ∈ V) |
| 5 | 2 | structfun 13105 | . . 3 ⊢ Fun ◡◡𝑆 |
| 6 | 5 | a1i 9 | . 2 ⊢ (𝐶 ∈ 𝑉 → Fun ◡◡𝑆) |
| 7 | strfv.n | . . 3 ⊢ {〈(𝐸‘ndx), 𝐶〉} ⊆ 𝑆 | |
| 8 | 1 | simpri 113 | . . . . 5 ⊢ (𝐸‘ndx) ∈ ℕ |
| 9 | opexg 4320 | . . . . 5 ⊢ (((𝐸‘ndx) ∈ ℕ ∧ 𝐶 ∈ 𝑉) → 〈(𝐸‘ndx), 𝐶〉 ∈ V) | |
| 10 | 8, 9 | mpan 424 | . . . 4 ⊢ (𝐶 ∈ 𝑉 → 〈(𝐸‘ndx), 𝐶〉 ∈ V) |
| 11 | snssg 3807 | . . . 4 ⊢ (〈(𝐸‘ndx), 𝐶〉 ∈ V → (〈(𝐸‘ndx), 𝐶〉 ∈ 𝑆 ↔ {〈(𝐸‘ndx), 𝐶〉} ⊆ 𝑆)) | |
| 12 | 10, 11 | syl 14 | . . 3 ⊢ (𝐶 ∈ 𝑉 → (〈(𝐸‘ndx), 𝐶〉 ∈ 𝑆 ↔ {〈(𝐸‘ndx), 𝐶〉} ⊆ 𝑆)) |
| 13 | 7, 12 | mpbiri 168 | . 2 ⊢ (𝐶 ∈ 𝑉 → 〈(𝐸‘ndx), 𝐶〉 ∈ 𝑆) |
| 14 | id 19 | . 2 ⊢ (𝐶 ∈ 𝑉 → 𝐶 ∈ 𝑉) | |
| 15 | 1, 4, 6, 13, 14 | strslfv2d 13130 | 1 ⊢ (𝐶 ∈ 𝑉 → 𝐶 = (𝐸‘𝑆)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1397 ∈ wcel 2202 Vcvv 2802 ⊆ wss 3200 {csn 3669 〈cop 3672 class class class wbr 4088 ◡ccnv 4724 Fun wfun 5320 ‘cfv 5326 ℕcn 9143 Struct cstr 13083 ndxcnx 13084 Slot cslot 13086 |
| 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 619 ax-in2 620 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-13 2204 ax-14 2205 ax-ext 2213 ax-sep 4207 ax-pow 4264 ax-pr 4299 ax-un 4530 |
| This theorem depends on definitions: df-bi 117 df-3an 1006 df-tru 1400 df-fal 1403 df-nf 1509 df-sb 1811 df-eu 2082 df-mo 2083 df-clab 2218 df-cleq 2224 df-clel 2227 df-nfc 2363 df-ne 2403 df-ral 2515 df-rex 2516 df-rab 2519 df-v 2804 df-sbc 3032 df-dif 3202 df-un 3204 df-in 3206 df-ss 3213 df-nul 3495 df-pw 3654 df-sn 3675 df-pr 3676 df-op 3678 df-uni 3894 df-br 4089 df-opab 4151 df-mpt 4152 df-id 4390 df-xp 4731 df-rel 4732 df-cnv 4733 df-co 4734 df-dm 4735 df-rn 4736 df-res 4737 df-iota 5286 df-fun 5328 df-fv 5334 df-struct 13089 df-slot 13091 |
| This theorem is referenced by: cnfldbas 14580 mpocnfldadd 14581 mpocnfldmul 14583 cnfldcj 14585 cnfldtset 14586 cnfldle 14587 cnfldds 14588 |
| Copyright terms: Public domain | W3C validator |