![]() |
Mathbox for BJ |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > ILE Home > Th. List > Mathboxes > bj-charfundc | GIF version |
Description: Properties of the characteristic function on the class 𝑋 of the class 𝐴, provided membership in 𝐴 is decidable in 𝑋. (Contributed by BJ, 6-Aug-2024.) |
Ref | Expression |
---|---|
bj-charfundc.1 | ⊢ (𝜑 → 𝐹 = (𝑥 ∈ 𝑋 ↦ if(𝑥 ∈ 𝐴, 1o, ∅))) |
bj-charfundc.dc | ⊢ (𝜑 → ∀𝑥 ∈ 𝑋 DECID 𝑥 ∈ 𝐴) |
Ref | Expression |
---|---|
bj-charfundc | ⊢ (𝜑 → (𝐹:𝑋⟶2o ∧ (∀𝑥 ∈ (𝑋 ∩ 𝐴)(𝐹‘𝑥) = 1o ∧ ∀𝑥 ∈ (𝑋 ∖ 𝐴)(𝐹‘𝑥) = ∅))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | bj-charfundc.1 | . . 3 ⊢ (𝜑 → 𝐹 = (𝑥 ∈ 𝑋 ↦ if(𝑥 ∈ 𝐴, 1o, ∅))) | |
2 | 1lt2o 6457 | . . . . 5 ⊢ 1o ∈ 2o | |
3 | 2 | a1i 9 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → 1o ∈ 2o) |
4 | 0lt2o 6456 | . . . . 5 ⊢ ∅ ∈ 2o | |
5 | 4 | a1i 9 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → ∅ ∈ 2o) |
6 | bj-charfundc.dc | . . . . 5 ⊢ (𝜑 → ∀𝑥 ∈ 𝑋 DECID 𝑥 ∈ 𝐴) | |
7 | 6 | r19.21bi 2575 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → DECID 𝑥 ∈ 𝐴) |
8 | 3, 5, 7 | ifcldcd 3582 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → if(𝑥 ∈ 𝐴, 1o, ∅) ∈ 2o) |
9 | 1, 8 | fmpt3d 5685 | . 2 ⊢ (𝜑 → 𝐹:𝑋⟶2o) |
10 | inss1 3367 | . . . . . . . 8 ⊢ (𝑋 ∩ 𝐴) ⊆ 𝑋 | |
11 | 10 | a1i 9 | . . . . . . 7 ⊢ (𝜑 → (𝑋 ∩ 𝐴) ⊆ 𝑋) |
12 | 11 | sseld 3166 | . . . . . 6 ⊢ (𝜑 → (𝑥 ∈ (𝑋 ∩ 𝐴) → 𝑥 ∈ 𝑋)) |
13 | 12 | imdistani 445 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝜑 ∧ 𝑥 ∈ 𝑋)) |
14 | 1, 8 | fvmpt2d 5615 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) |
15 | 13, 14 | syl 14 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) |
16 | simpr 110 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → 𝑥 ∈ (𝑋 ∩ 𝐴)) | |
17 | 16 | elin2d 3337 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → 𝑥 ∈ 𝐴) |
18 | 17 | iftrued 3553 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → if(𝑥 ∈ 𝐴, 1o, ∅) = 1o) |
19 | 15, 18 | eqtrd 2220 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝐹‘𝑥) = 1o) |
20 | 19 | ralrimiva 2560 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (𝑋 ∩ 𝐴)(𝐹‘𝑥) = 1o) |
21 | difssd 3274 | . . . . . . 7 ⊢ (𝜑 → (𝑋 ∖ 𝐴) ⊆ 𝑋) | |
22 | 21 | sseld 3166 | . . . . . 6 ⊢ (𝜑 → (𝑥 ∈ (𝑋 ∖ 𝐴) → 𝑥 ∈ 𝑋)) |
23 | 22 | imdistani 445 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝜑 ∧ 𝑥 ∈ 𝑋)) |
24 | 23, 14 | syl 14 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) |
25 | simpr 110 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → 𝑥 ∈ (𝑋 ∖ 𝐴)) | |
26 | 25 | eldifbd 3153 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → ¬ 𝑥 ∈ 𝐴) |
27 | 26 | iffalsed 3556 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → if(𝑥 ∈ 𝐴, 1o, ∅) = ∅) |
28 | 24, 27 | eqtrd 2220 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝐹‘𝑥) = ∅) |
29 | 28 | ralrimiva 2560 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (𝑋 ∖ 𝐴)(𝐹‘𝑥) = ∅) |
30 | 9, 20, 29 | jca32 310 | 1 ⊢ (𝜑 → (𝐹:𝑋⟶2o ∧ (∀𝑥 ∈ (𝑋 ∩ 𝐴)(𝐹‘𝑥) = 1o ∧ ∀𝑥 ∈ (𝑋 ∖ 𝐴)(𝐹‘𝑥) = ∅))) |
Colors of variables: wff set class |
Syntax hints: → wi 4 ∧ wa 104 DECID wdc 835 = wceq 1363 ∈ wcel 2158 ∀wral 2465 ∖ cdif 3138 ∩ cin 3140 ⊆ wss 3141 ∅c0 3434 ifcif 3546 ↦ cmpt 4076 ⟶wf 5224 ‘cfv 5228 1oc1o 6424 2oc2o 6425 |
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 710 ax-5 1457 ax-7 1458 ax-gen 1459 ax-ie1 1503 ax-ie2 1504 ax-8 1514 ax-10 1515 ax-11 1516 ax-i12 1517 ax-bndl 1519 ax-4 1520 ax-17 1536 ax-i9 1540 ax-ial 1544 ax-i5r 1545 ax-13 2160 ax-14 2161 ax-ext 2169 ax-sep 4133 ax-nul 4141 ax-pow 4186 ax-pr 4221 ax-un 4445 |
This theorem depends on definitions: df-bi 117 df-dc 836 df-3an 981 df-tru 1366 df-nf 1471 df-sb 1773 df-eu 2039 df-mo 2040 df-clab 2174 df-cleq 2180 df-clel 2183 df-nfc 2318 df-ral 2470 df-rex 2471 df-rab 2474 df-v 2751 df-sbc 2975 df-csb 3070 df-dif 3143 df-un 3145 df-in 3147 df-ss 3154 df-nul 3435 df-if 3547 df-pw 3589 df-sn 3610 df-pr 3611 df-op 3613 df-uni 3822 df-br 4016 df-opab 4077 df-mpt 4078 df-tr 4114 df-id 4305 df-iord 4378 df-on 4380 df-suc 4383 df-xp 4644 df-rel 4645 df-cnv 4646 df-co 4647 df-dm 4648 df-rn 4649 df-res 4650 df-ima 4651 df-iota 5190 df-fun 5230 df-fn 5231 df-f 5232 df-fv 5236 df-1o 6431 df-2o 6432 |
This theorem is referenced by: bj-charfunbi 14916 |
Copyright terms: Public domain | W3C validator |