Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ex-sategoelel Structured version   Visualization version   GIF version

Theorem ex-sategoelel 33362
Description: Example of a valuation of a simplified satisfaction predicate for a Godel-set of membership. (Contributed by AV, 5-Nov-2023.)
Hypotheses
Ref Expression
sategoelfvb.s 𝐸 = (𝑀 Sat (𝐴𝑔𝐵))
ex-sategoelel.s 𝑆 = (𝑥 ∈ ω ↦ if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)))
Assertion
Ref Expression
ex-sategoelel (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆𝐸)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑀   𝑥,𝑍
Allowed substitution hints:   𝑆(𝑥)   𝐸(𝑥)

Proof of Theorem ex-sategoelel
StepHypRef Expression
1 simpr 484 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑍𝑀)
2 simpl 482 . . . . . . . . 9 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑀 ∈ WUni)
32, 1wunpw 10447 . . . . . . . 8 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝒫 𝑍𝑀)
42wun0 10458 . . . . . . . 8 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → ∅ ∈ 𝑀)
53, 4ifcld 4510 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝑥 = 𝐵, 𝒫 𝑍, ∅) ∈ 𝑀)
61, 5ifcld 4510 . . . . . 6 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
76adantr 480 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
87adantr 480 . . . 4 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 ∈ ω) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
9 ex-sategoelel.s . . . 4 𝑆 = (𝑥 ∈ ω ↦ if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)))
108, 9fmptd 6982 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆:ω⟶𝑀)
112adantr 480 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑀 ∈ WUni)
12 omex 9362 . . . . 5 ω ∈ V
1312a1i 11 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → ω ∈ V)
1411, 13elmapd 8603 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆 ∈ (𝑀m ω) ↔ 𝑆:ω⟶𝑀))
1510, 14mpbird 256 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆 ∈ (𝑀m ω))
16 pwidg 4560 . . . . 5 (𝑍𝑀𝑍 ∈ 𝒫 𝑍)
1716adantl 481 . . . 4 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑍 ∈ 𝒫 𝑍)
1817adantr 480 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑍 ∈ 𝒫 𝑍)
199a1i 11 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆 = (𝑥 ∈ ω ↦ if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅))))
20 iftrue 4470 . . . . 5 (𝑥 = 𝐴 → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = 𝑍)
2120adantl 481 . . . 4 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 = 𝐴) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = 𝑍)
22 simpr1 1192 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝐴 ∈ ω)
231adantr 480 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑍𝑀)
2419, 21, 22, 23fvmptd 6876 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐴) = 𝑍)
25 eqeq1 2743 . . . . . . 7 (𝑥 = 𝐵 → (𝑥 = 𝐴𝐵 = 𝐴))
26 eqeq1 2743 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥 = 𝐵𝐵 = 𝐵))
2726ifbid 4487 . . . . . . 7 (𝑥 = 𝐵 → if(𝑥 = 𝐵, 𝒫 𝑍, ∅) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
2825, 27ifbieq2d 4490 . . . . . 6 (𝑥 = 𝐵 → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)))
29 necom 2998 . . . . . . . . 9 (𝐴𝐵𝐵𝐴)
30 ifnefalse 4476 . . . . . . . . 9 (𝐵𝐴 → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3129, 30sylbi 216 . . . . . . . 8 (𝐴𝐵 → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
32313ad2ant3 1133 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3332adantl 481 . . . . . 6 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3428, 33sylan9eqr 2801 . . . . 5 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 = 𝐵) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
35 simpr2 1193 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝐵 ∈ ω)
36 pwexg 5304 . . . . . . . 8 (𝑍𝑀 → 𝒫 𝑍 ∈ V)
3736adantl 481 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝒫 𝑍 ∈ V)
38 0ex 5234 . . . . . . . 8 ∅ ∈ V
3938a1i 11 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → ∅ ∈ V)
4037, 39ifcld 4510 . . . . . 6 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝐵 = 𝐵, 𝒫 𝑍, ∅) ∈ V)
4140adantr 480 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝐵 = 𝐵, 𝒫 𝑍, ∅) ∈ V)
4219, 34, 35, 41fvmptd 6876 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐵) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
43 eqid 2739 . . . . 5 𝐵 = 𝐵
4443iftruei 4471 . . . 4 if(𝐵 = 𝐵, 𝒫 𝑍, ∅) = 𝒫 𝑍
4542, 44eqtrdi 2795 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐵) = 𝒫 𝑍)
4618, 24, 453eltr4d 2855 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐴) ∈ (𝑆𝐵))
47 3simpa 1146 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → (𝐴 ∈ ω ∧ 𝐵 ∈ ω))
48 sategoelfvb.s . . . 4 𝐸 = (𝑀 Sat (𝐴𝑔𝐵))
4948sategoelfvb 33360 . . 3 ((𝑀 ∈ WUni ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝑆𝐸 ↔ (𝑆 ∈ (𝑀m ω) ∧ (𝑆𝐴) ∈ (𝑆𝐵))))
502, 47, 49syl2an 595 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐸 ↔ (𝑆 ∈ (𝑀m ω) ∧ (𝑆𝐴) ∈ (𝑆𝐵))))
5115, 46, 50mpbir2and 709 1 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1541  wcel 2109  wne 2944  Vcvv 3430  c0 4261  ifcif 4464  𝒫 cpw 4538  cmpt 5161  wf 6426  cfv 6430  (class class class)co 7268  ωcom 7700  m cmap 8589  WUnicwun 10440  𝑔cgoe 33274   Sat csate 33279
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579  ax-inf2 9360  ax-ac2 10203
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-int 4885  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-se 5544  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-isom 6439  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-2o 8282  df-er 8472  df-map 8591  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-card 9681  df-ac 9856  df-wun 10442  df-goel 33281  df-gona 33282  df-goal 33283  df-sat 33284  df-sate 33285  df-fmla 33286
This theorem is referenced by:  ex-sategoel  33363
  Copyright terms: Public domain W3C validator