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 30191
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 458 . . . . 5 (𝜑 → ((𝑥𝐴𝜓) → 𝑥 = 𝐵))
32alrimiv 1919 . . . 4 (𝜑 → ∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵))
4 rabeqsnd.1 . . . . . . . 8 (𝜑𝐵𝐴)
5 rabeqsnd.2 . . . . . . . 8 (𝜑𝜒)
64, 5jca 512 . . . . . . 7 (𝜑 → (𝐵𝐴𝜒))
76a1d 25 . . . . . 6 (𝜑 → (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
87alrimiv 1919 . . . . 5 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
9 eleq1 2897 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
10 rabeqsnd.0 . . . . . . . 8 (𝑥 = 𝐵 → (𝜓𝜒))
119, 10anbi12d 630 . . . . . . 7 (𝑥 = 𝐵 → ((𝑥𝐴𝜓) ↔ (𝐵𝐴𝜒)))
1211pm5.74i 272 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
1312albii 1811 . . . . 5 (∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
148, 13sylibr 235 . . . 4 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)))
153, 14jca 512 . . 3 (𝜑 → (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
16 albiim 1881 . . 3 (∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵) ↔ (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
1715, 16sylibr 235 . 2 (𝜑 → ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
18 rabeqsn 4596 . 2 ({𝑥𝐴𝜓} = {𝐵} ↔ ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
1917, 18sylibr 235 1 (𝜑 → {𝑥𝐴𝜓} = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wcel 2105  {crab 3139  {csn 4557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-rab 3144  df-sn 4558
This theorem is referenced by:  repr0  31781
  Copyright terms: Public domain W3C validator