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 33428
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 486 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑍𝑀)
2 simpl 484 . . . . . . . . 9 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑀 ∈ WUni)
32, 1wunpw 10509 . . . . . . . 8 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝒫 𝑍𝑀)
42wun0 10520 . . . . . . . 8 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → ∅ ∈ 𝑀)
53, 4ifcld 4511 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝑥 = 𝐵, 𝒫 𝑍, ∅) ∈ 𝑀)
61, 5ifcld 4511 . . . . . 6 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
76adantr 482 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
87adantr 482 . . . 4 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 ∈ ω) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) ∈ 𝑀)
9 ex-sategoelel.s . . . 4 𝑆 = (𝑥 ∈ ω ↦ if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)))
108, 9fmptd 7020 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆:ω⟶𝑀)
112adantr 482 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑀 ∈ WUni)
12 omex 9445 . . . . 5 ω ∈ V
1312a1i 11 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → ω ∈ V)
1411, 13elmapd 8660 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆 ∈ (𝑀m ω) ↔ 𝑆:ω⟶𝑀))
1510, 14mpbird 257 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆 ∈ (𝑀m ω))
16 pwidg 4559 . . . . 5 (𝑍𝑀𝑍 ∈ 𝒫 𝑍)
1716adantl 483 . . . 4 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝑍 ∈ 𝒫 𝑍)
1817adantr 482 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑍 ∈ 𝒫 𝑍)
199a1i 11 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆 = (𝑥 ∈ ω ↦ if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅))))
20 iftrue 4471 . . . . 5 (𝑥 = 𝐴 → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = 𝑍)
2120adantl 483 . . . 4 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 = 𝐴) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = 𝑍)
22 simpr1 1194 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝐴 ∈ ω)
231adantr 482 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑍𝑀)
2419, 21, 22, 23fvmptd 6914 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐴) = 𝑍)
25 eqeq1 2740 . . . . . . 7 (𝑥 = 𝐵 → (𝑥 = 𝐴𝐵 = 𝐴))
26 eqeq1 2740 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥 = 𝐵𝐵 = 𝐵))
2726ifbid 4488 . . . . . . 7 (𝑥 = 𝐵 → if(𝑥 = 𝐵, 𝒫 𝑍, ∅) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
2825, 27ifbieq2d 4491 . . . . . 6 (𝑥 = 𝐵 → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)))
29 necom 2995 . . . . . . . . 9 (𝐴𝐵𝐵𝐴)
30 ifnefalse 4477 . . . . . . . . 9 (𝐵𝐴 → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3129, 30sylbi 216 . . . . . . . 8 (𝐴𝐵 → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
32313ad2ant3 1135 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3332adantl 483 . . . . . 6 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝐵 = 𝐴, 𝑍, if(𝐵 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
3428, 33sylan9eqr 2798 . . . . 5 ((((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) ∧ 𝑥 = 𝐵) → if(𝑥 = 𝐴, 𝑍, if(𝑥 = 𝐵, 𝒫 𝑍, ∅)) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
35 simpr2 1195 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝐵 ∈ ω)
36 pwexg 5310 . . . . . . . 8 (𝑍𝑀 → 𝒫 𝑍 ∈ V)
3736adantl 483 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → 𝒫 𝑍 ∈ V)
38 0ex 5240 . . . . . . . 8 ∅ ∈ V
3938a1i 11 . . . . . . 7 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → ∅ ∈ V)
4037, 39ifcld 4511 . . . . . 6 ((𝑀 ∈ WUni ∧ 𝑍𝑀) → if(𝐵 = 𝐵, 𝒫 𝑍, ∅) ∈ V)
4140adantr 482 . . . . 5 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → if(𝐵 = 𝐵, 𝒫 𝑍, ∅) ∈ V)
4219, 34, 35, 41fvmptd 6914 . . . 4 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐵) = if(𝐵 = 𝐵, 𝒫 𝑍, ∅))
43 eqid 2736 . . . . 5 𝐵 = 𝐵
4443iftruei 4472 . . . 4 if(𝐵 = 𝐵, 𝒫 𝑍, ∅) = 𝒫 𝑍
4542, 44eqtrdi 2792 . . 3 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐵) = 𝒫 𝑍)
4618, 24, 453eltr4d 2852 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐴) ∈ (𝑆𝐵))
47 3simpa 1148 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → (𝐴 ∈ ω ∧ 𝐵 ∈ ω))
48 sategoelfvb.s . . . 4 𝐸 = (𝑀 Sat (𝐴𝑔𝐵))
4948sategoelfvb 33426 . . 3 ((𝑀 ∈ WUni ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝑆𝐸 ↔ (𝑆 ∈ (𝑀m ω) ∧ (𝑆𝐴) ∈ (𝑆𝐵))))
502, 47, 49syl2an 597 . 2 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → (𝑆𝐸 ↔ (𝑆 ∈ (𝑀m ω) ∧ (𝑆𝐴) ∈ (𝑆𝐵))))
5115, 46, 50mpbir2and 711 1 (((𝑀 ∈ WUni ∧ 𝑍𝑀) ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐴𝐵)) → 𝑆𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  w3a 1087   = wceq 1539  wcel 2104  wne 2941  Vcvv 3437  c0 4262  ifcif 4465  𝒫 cpw 4539  cmpt 5164  wf 6454  cfv 6458  (class class class)co 7307  ωcom 7744  m cmap 8646  WUnicwun 10502  𝑔cgoe 33340   Sat csate 33345
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620  ax-inf2 9443  ax-ac2 10265
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3285  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-int 4887  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-tr 5199  df-id 5500  df-eprel 5506  df-po 5514  df-so 5515  df-fr 5555  df-se 5556  df-we 5557  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-pred 6217  df-ord 6284  df-on 6285  df-lim 6286  df-suc 6287  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-isom 6467  df-riota 7264  df-ov 7310  df-oprab 7311  df-mpo 7312  df-om 7745  df-1st 7863  df-2nd 7864  df-frecs 8128  df-wrecs 8159  df-recs 8233  df-rdg 8272  df-1o 8328  df-2o 8329  df-er 8529  df-map 8648  df-en 8765  df-dom 8766  df-sdom 8767  df-fin 8768  df-card 9741  df-ac 9918  df-wun 10504  df-goel 33347  df-gona 33348  df-goal 33349  df-sat 33350  df-sate 33351  df-fmla 33352
This theorem is referenced by:  ex-sategoel  33429
  Copyright terms: Public domain W3C validator