| 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 12953). By virtue of ndxslid 12972, 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 12959 | . . 3 ⊢ (𝑆 Struct 𝑋 → 𝑆 ∈ V) | |
| 4 | 2, 3 | mp1i 10 | . 2 ⊢ (𝐶 ∈ 𝑉 → 𝑆 ∈ V) |
| 5 | 2 | structfun 12965 | . . 3 ⊢ Fun ◡◡𝑆 |
| 6 | 5 | a1i 9 | . 2 ⊢ (𝐶 ∈ 𝑉 → Fun ◡◡𝑆) |
| 7 | strfv.n | . . 3 ⊢ {〈(𝐸‘ndx), 𝐶〉} ⊆ 𝑆 | |
| 8 | 1 | simpri 113 | . . . . 5 ⊢ (𝐸‘ndx) ∈ ℕ |
| 9 | opexg 4290 | . . . . 5 ⊢ (((𝐸‘ndx) ∈ ℕ ∧ 𝐶 ∈ 𝑉) → 〈(𝐸‘ndx), 𝐶〉 ∈ V) | |
| 10 | 8, 9 | mpan 424 | . . . 4 ⊢ (𝐶 ∈ 𝑉 → 〈(𝐸‘ndx), 𝐶〉 ∈ V) |
| 11 | snssg 3778 | . . . 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 12990 | 1 ⊢ (𝐶 ∈ 𝑉 → 𝐶 = (𝐸‘𝑆)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1373 ∈ wcel 2178 Vcvv 2776 ⊆ wss 3174 {csn 3643 〈cop 3646 class class class wbr 4059 ◡ccnv 4692 Fun wfun 5284 ‘cfv 5290 ℕcn 9071 Struct cstr 12943 ndxcnx 12944 Slot cslot 12946 |
| 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 2180 ax-14 2181 ax-ext 2189 ax-sep 4178 ax-pow 4234 ax-pr 4269 ax-un 4498 |
| This theorem depends on definitions: df-bi 117 df-3an 983 df-tru 1376 df-fal 1379 df-nf 1485 df-sb 1787 df-eu 2058 df-mo 2059 df-clab 2194 df-cleq 2200 df-clel 2203 df-nfc 2339 df-ne 2379 df-ral 2491 df-rex 2492 df-rab 2495 df-v 2778 df-sbc 3006 df-dif 3176 df-un 3178 df-in 3180 df-ss 3187 df-nul 3469 df-pw 3628 df-sn 3649 df-pr 3650 df-op 3652 df-uni 3865 df-br 4060 df-opab 4122 df-mpt 4123 df-id 4358 df-xp 4699 df-rel 4700 df-cnv 4701 df-co 4702 df-dm 4703 df-rn 4704 df-res 4705 df-iota 5251 df-fun 5292 df-fv 5298 df-struct 12949 df-slot 12951 |
| This theorem is referenced by: cnfldbas 14437 mpocnfldadd 14438 mpocnfldmul 14440 cnfldcj 14442 cnfldtset 14443 cnfldle 14444 cnfldds 14445 |
| Copyright terms: Public domain | W3C validator |