| 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 6500 | . . . . 5 ⊢ 1o ∈ 2o | |
| 3 | 2 | a1i 9 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → 1o ∈ 2o) | 
| 4 | 0lt2o 6499 | . . . . 5 ⊢ ∅ ∈ 2o | |
| 5 | 4 | a1i 9 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → ∅ ∈ 2o) | 
| 6 | bj-charfundc.dc | . . . . 5 ⊢ (𝜑 → ∀𝑥 ∈ 𝑋 DECID 𝑥 ∈ 𝐴) | |
| 7 | 6 | r19.21bi 2585 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → DECID 𝑥 ∈ 𝐴) | 
| 8 | 3, 5, 7 | ifcldcd 3597 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → if(𝑥 ∈ 𝐴, 1o, ∅) ∈ 2o) | 
| 9 | 1, 8 | fmpt3d 5718 | . 2 ⊢ (𝜑 → 𝐹:𝑋⟶2o) | 
| 10 | inss1 3383 | . . . . . . . 8 ⊢ (𝑋 ∩ 𝐴) ⊆ 𝑋 | |
| 11 | 10 | a1i 9 | . . . . . . 7 ⊢ (𝜑 → (𝑋 ∩ 𝐴) ⊆ 𝑋) | 
| 12 | 11 | sseld 3182 | . . . . . 6 ⊢ (𝜑 → (𝑥 ∈ (𝑋 ∩ 𝐴) → 𝑥 ∈ 𝑋)) | 
| 13 | 12 | imdistani 445 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝜑 ∧ 𝑥 ∈ 𝑋)) | 
| 14 | 1, 8 | fvmpt2d 5648 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝑋) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) | 
| 15 | 13, 14 | syl 14 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) | 
| 16 | simpr 110 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → 𝑥 ∈ (𝑋 ∩ 𝐴)) | |
| 17 | 16 | elin2d 3353 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → 𝑥 ∈ 𝐴) | 
| 18 | 17 | iftrued 3568 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → if(𝑥 ∈ 𝐴, 1o, ∅) = 1o) | 
| 19 | 15, 18 | eqtrd 2229 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∩ 𝐴)) → (𝐹‘𝑥) = 1o) | 
| 20 | 19 | ralrimiva 2570 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (𝑋 ∩ 𝐴)(𝐹‘𝑥) = 1o) | 
| 21 | difssd 3290 | . . . . . . 7 ⊢ (𝜑 → (𝑋 ∖ 𝐴) ⊆ 𝑋) | |
| 22 | 21 | sseld 3182 | . . . . . 6 ⊢ (𝜑 → (𝑥 ∈ (𝑋 ∖ 𝐴) → 𝑥 ∈ 𝑋)) | 
| 23 | 22 | imdistani 445 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝜑 ∧ 𝑥 ∈ 𝑋)) | 
| 24 | 23, 14 | syl 14 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝐹‘𝑥) = if(𝑥 ∈ 𝐴, 1o, ∅)) | 
| 25 | simpr 110 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → 𝑥 ∈ (𝑋 ∖ 𝐴)) | |
| 26 | 25 | eldifbd 3169 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → ¬ 𝑥 ∈ 𝐴) | 
| 27 | 26 | iffalsed 3571 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → if(𝑥 ∈ 𝐴, 1o, ∅) = ∅) | 
| 28 | 24, 27 | eqtrd 2229 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ (𝑋 ∖ 𝐴)) → (𝐹‘𝑥) = ∅) | 
| 29 | 28 | ralrimiva 2570 | . 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 1364 ∈ wcel 2167 ∀wral 2475 ∖ cdif 3154 ∩ cin 3156 ⊆ wss 3157 ∅c0 3450 ifcif 3561 ↦ cmpt 4094 ⟶wf 5254 ‘cfv 5258 1oc1o 6467 2oc2o 6468 | 
| 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 1461 ax-7 1462 ax-gen 1463 ax-ie1 1507 ax-ie2 1508 ax-8 1518 ax-10 1519 ax-11 1520 ax-i12 1521 ax-bndl 1523 ax-4 1524 ax-17 1540 ax-i9 1544 ax-ial 1548 ax-i5r 1549 ax-13 2169 ax-14 2170 ax-ext 2178 ax-sep 4151 ax-nul 4159 ax-pow 4207 ax-pr 4242 ax-un 4468 | 
| This theorem depends on definitions: df-bi 117 df-dc 836 df-3an 982 df-tru 1367 df-nf 1475 df-sb 1777 df-eu 2048 df-mo 2049 df-clab 2183 df-cleq 2189 df-clel 2192 df-nfc 2328 df-ral 2480 df-rex 2481 df-rab 2484 df-v 2765 df-sbc 2990 df-csb 3085 df-dif 3159 df-un 3161 df-in 3163 df-ss 3170 df-nul 3451 df-if 3562 df-pw 3607 df-sn 3628 df-pr 3629 df-op 3631 df-uni 3840 df-br 4034 df-opab 4095 df-mpt 4096 df-tr 4132 df-id 4328 df-iord 4401 df-on 4403 df-suc 4406 df-xp 4669 df-rel 4670 df-cnv 4671 df-co 4672 df-dm 4673 df-rn 4674 df-res 4675 df-ima 4676 df-iota 5219 df-fun 5260 df-fn 5261 df-f 5262 df-fv 5266 df-1o 6474 df-2o 6475 | 
| This theorem is referenced by: bj-charfunbi 15457 | 
| Copyright terms: Public domain | W3C validator |