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 30271
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 461 . . . . 5 (𝜑 → ((𝑥𝐴𝜓) → 𝑥 = 𝐵))
32alrimiv 1928 . . . 4 (𝜑 → ∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵))
4 rabeqsnd.1 . . . . . . . 8 (𝜑𝐵𝐴)
5 rabeqsnd.2 . . . . . . . 8 (𝜑𝜒)
64, 5jca 515 . . . . . . 7 (𝜑 → (𝐵𝐴𝜒))
76a1d 25 . . . . . 6 (𝜑 → (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
87alrimiv 1928 . . . . 5 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
9 eleq1 2877 . . . . . . . 8 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
10 rabeqsnd.0 . . . . . . . 8 (𝑥 = 𝐵 → (𝜓𝜒))
119, 10anbi12d 633 . . . . . . 7 (𝑥 = 𝐵 → ((𝑥𝐴𝜓) ↔ (𝐵𝐴𝜒)))
1211pm5.74i 274 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ (𝑥 = 𝐵 → (𝐵𝐴𝜒)))
1312albii 1821 . . . . 5 (∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)) ↔ ∀𝑥(𝑥 = 𝐵 → (𝐵𝐴𝜒)))
148, 13sylibr 237 . . . 4 (𝜑 → ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓)))
153, 14jca 515 . . 3 (𝜑 → (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
16 albiim 1890 . . 3 (∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵) ↔ (∀𝑥((𝑥𝐴𝜓) → 𝑥 = 𝐵) ∧ ∀𝑥(𝑥 = 𝐵 → (𝑥𝐴𝜓))))
1715, 16sylibr 237 . 2 (𝜑 → ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
18 rabeqsn 4566 . 2 ({𝑥𝐴𝜓} = {𝐵} ↔ ∀𝑥((𝑥𝐴𝜓) ↔ 𝑥 = 𝐵))
1917, 18sylibr 237 1 (𝜑 → {𝑥𝐴𝜓} = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1536   = wceq 1538  wcel 2111  {crab 3110  {csn 4525
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-rab 3115  df-sn 4526
This theorem is referenced by:  repr0  31992
  Copyright terms: Public domain W3C validator