ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  pw1if GIF version

Theorem pw1if 7442
Description: Expressing a truth value in terms of an if expression. (Contributed by Jim Kingdon, 10-Jan-2026.)
Assertion
Ref Expression
pw1if (𝐴 ∈ 𝒫 1o → if(𝐴 = 1o, 1o, ∅) = 𝐴)

Proof of Theorem pw1if
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 110 . . . . . 6 ((𝐴 ∈ 𝒫 1o𝑥 ∈ if(𝐴 = 1o, 1o, ∅)) → 𝑥 ∈ if(𝐴 = 1o, 1o, ∅))
2 elif 3617 . . . . . . 7 (𝑥 ∈ if(𝐴 = 1o, 1o, ∅) ↔ ((𝐴 = 1o𝑥 ∈ 1o) ∨ (¬ 𝐴 = 1o𝑥 ∈ ∅)))
3 noel 3498 . . . . . . . . 9 ¬ 𝑥 ∈ ∅
43intnan 936 . . . . . . . 8 ¬ (¬ 𝐴 = 1o𝑥 ∈ ∅)
54biorfi 753 . . . . . . 7 ((𝐴 = 1o𝑥 ∈ 1o) ↔ ((𝐴 = 1o𝑥 ∈ 1o) ∨ (¬ 𝐴 = 1o𝑥 ∈ ∅)))
62, 5bitr4i 187 . . . . . 6 (𝑥 ∈ if(𝐴 = 1o, 1o, ∅) ↔ (𝐴 = 1o𝑥 ∈ 1o))
71, 6sylib 122 . . . . 5 ((𝐴 ∈ 𝒫 1o𝑥 ∈ if(𝐴 = 1o, 1o, ∅)) → (𝐴 = 1o𝑥 ∈ 1o))
87simprd 114 . . . 4 ((𝐴 ∈ 𝒫 1o𝑥 ∈ if(𝐴 = 1o, 1o, ∅)) → 𝑥 ∈ 1o)
97simpld 112 . . . 4 ((𝐴 ∈ 𝒫 1o𝑥 ∈ if(𝐴 = 1o, 1o, ∅)) → 𝐴 = 1o)
108, 9eleqtrrd 2311 . . 3 ((𝐴 ∈ 𝒫 1o𝑥 ∈ if(𝐴 = 1o, 1o, ∅)) → 𝑥𝐴)
11 elex2 2819 . . . . 5 (𝑥𝐴 → ∃𝑦 𝑦𝐴)
12 pw1m 7441 . . . . 5 ((𝐴 ∈ 𝒫 1o ∧ ∃𝑦 𝑦𝐴) → 𝐴 = 1o)
1311, 12sylan2 286 . . . 4 ((𝐴 ∈ 𝒫 1o𝑥𝐴) → 𝐴 = 1o)
14 simpr 110 . . . . 5 ((𝐴 ∈ 𝒫 1o𝑥𝐴) → 𝑥𝐴)
1514, 13eleqtrd 2310 . . . 4 ((𝐴 ∈ 𝒫 1o𝑥𝐴) → 𝑥 ∈ 1o)
1613, 15, 6sylanbrc 417 . . 3 ((𝐴 ∈ 𝒫 1o𝑥𝐴) → 𝑥 ∈ if(𝐴 = 1o, 1o, ∅))
1710, 16impbida 600 . 2 (𝐴 ∈ 𝒫 1o → (𝑥 ∈ if(𝐴 = 1o, 1o, ∅) ↔ 𝑥𝐴))
1817eqrdv 2229 1 (𝐴 ∈ 𝒫 1o → if(𝐴 = 1o, 1o, ∅) = 𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wo 715   = wceq 1397  wex 1540  wcel 2202  c0 3494  ifcif 3605  𝒫 cpw 3652  1oc1o 6574
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-ext 2213
This theorem depends on definitions:  df-bi 117  df-tru 1400  df-nf 1509  df-sb 1811  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-v 2804  df-dif 3202  df-un 3204  df-in 3206  df-ss 3213  df-nul 3495  df-if 3606  df-pw 3654  df-sn 3675  df-suc 4468  df-1o 6581
This theorem is referenced by:  pw1map  16596
  Copyright terms: Public domain W3C validator