Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rabeqsnd Structured version   Visualization version   GIF version

Theorem rabeqsnd 30266
Description: Conditions for a restricted class abstraction to be a singleton, in deduction form. (Contributed by Thierry Arnoux, 2-Dec-2021.)
Hypotheses
Ref Expression
rabeqsnd.0 (𝑥 = 𝐵 → (𝜓𝜒))
rabeqsnd.1 (𝜑𝐵𝐴)
rabeqsnd.2 (𝜑𝜒)
rabeqsnd.3 (((𝜑𝑥𝐴) ∧ 𝜓) → 𝑥 = 𝐵)
Assertion
Ref Expression
rabeqsnd (𝜑 → {𝑥𝐴𝜓} = {𝐵})
Distinct variable groups:   𝑥,𝐵   𝜑,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑥)   𝐴(𝑥)

Proof of Theorem rabeqsnd
StepHypRef Expression
1 rabeqsnd.3 . . . . . 6 (((𝜑𝑥𝐴) ∧ 𝜓) → 𝑥 = 𝐵)
21expl 460 . . . . 5 (𝜑 → ((𝑥𝐴𝜓) → 𝑥 = 𝐵))
32alrimiv 1928 . . . 4 (𝜑 → ∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵))
4 rabeqsnd.1 . . . . . . . 8 (𝜑𝐵𝐴)
5 rabeqsnd.2 . . . . . . . 8 (𝜑𝜒)
64, 5jca 514 . . . . . . 7 (𝜑 → (𝐵𝐴𝜒))
76a1d 25 . . . . . 6 (𝜑 → (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
87alrimiv 1928 . . . . 5 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
9 eleq1 2902 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
10 rabeqsnd.0 . . . . . . . 8 (𝑥 = 𝐵 → (𝜓𝜒))
119, 10anbi12d 632 . . . . . . 7 (𝑥 = 𝐵 → ((𝑥𝐴𝜓) ↔ (𝐵𝐴𝜒)))
1211pm5.74i 273 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
1312albii 1820 . . . . 5 (∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
148, 13sylibr 236 . . . 4 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)))
153, 14jca 514 . . 3 (𝜑 → (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
16 albiim 1890 . . 3 (∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵) ↔ (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
1715, 16sylibr 236 . 2 (𝜑 → ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
18 rabeqsn 4608 . 2 ({𝑥𝐴𝜓} = {𝐵} ↔ ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
1917, 18sylibr 236 1 (𝜑 → {𝑥𝐴𝜓} = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wcel 2114  {crab 3144  {csn 4569
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-rab 3149  df-sn 4570
This theorem is referenced by:  repr0  31884
  Copyright terms: Public domain W3C validator