Users' Mathboxes Mathbox for Jonathan Ben-Naim < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bnj23 Structured version   Visualization version   GIF version

Theorem bnj23 32676
Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011.) (Proof shortened by Mario Carneiro, 22-Dec-2016.) (New usage is discouraged.)
Hypothesis
Ref Expression
bnj23.1 𝐵 = {𝑥𝐴 ∣ ¬ 𝜑}
Assertion
Ref Expression
bnj23 (∀𝑧𝐵 ¬ 𝑧𝑅𝑦 → ∀𝑤𝐴 (𝑤𝑅𝑦[𝑤 / 𝑥]𝜑))
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴,𝑧   𝑤,𝐵,𝑦,𝑧   𝑤,𝑅,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝐴(𝑤)   𝐵(𝑥)   𝑅(𝑥)

Proof of Theorem bnj23
StepHypRef Expression
1 sbcng 3769 . . . . 5 (𝑤 ∈ V → ([𝑤 / 𝑥] ¬ 𝜑 ↔ ¬ [𝑤 / 𝑥]𝜑))
21elv 3436 . . . 4 ([𝑤 / 𝑥] ¬ 𝜑 ↔ ¬ [𝑤 / 𝑥]𝜑)
3 bnj23.1 . . . . . . . 8 𝐵 = {𝑥𝐴 ∣ ¬ 𝜑}
43eleq2i 2831 . . . . . . 7 (𝑤𝐵𝑤 ∈ {𝑥𝐴 ∣ ¬ 𝜑})
5 nfcv 2908 . . . . . . . 8 𝑥𝐴
65elrabsf 3767 . . . . . . 7 (𝑤 ∈ {𝑥𝐴 ∣ ¬ 𝜑} ↔ (𝑤𝐴[𝑤 / 𝑥] ¬ 𝜑))
74, 6bitri 274 . . . . . 6 (𝑤𝐵 ↔ (𝑤𝐴[𝑤 / 𝑥] ¬ 𝜑))
8 breq1 5081 . . . . . . . 8 (𝑧 = 𝑤 → (𝑧𝑅𝑦𝑤𝑅𝑦))
98notbid 317 . . . . . . 7 (𝑧 = 𝑤 → (¬ 𝑧𝑅𝑦 ↔ ¬ 𝑤𝑅𝑦))
109rspccv 3557 . . . . . 6 (∀𝑧𝐵 ¬ 𝑧𝑅𝑦 → (𝑤𝐵 → ¬ 𝑤𝑅𝑦))
117, 10syl5bir 242 . . . . 5 (∀𝑧𝐵 ¬ 𝑧𝑅𝑦 → ((𝑤𝐴[𝑤 / 𝑥] ¬ 𝜑) → ¬ 𝑤𝑅𝑦))
1211expdimp 452 . . . 4 ((∀𝑧𝐵 ¬ 𝑧𝑅𝑦𝑤𝐴) → ([𝑤 / 𝑥] ¬ 𝜑 → ¬ 𝑤𝑅𝑦))
132, 12syl5bir 242 . . 3 ((∀𝑧𝐵 ¬ 𝑧𝑅𝑦𝑤𝐴) → (¬ [𝑤 / 𝑥]𝜑 → ¬ 𝑤𝑅𝑦))
1413con4d 115 . 2 ((∀𝑧𝐵 ¬ 𝑧𝑅𝑦𝑤𝐴) → (𝑤𝑅𝑦[𝑤 / 𝑥]𝜑))
1514ralrimiva 3109 1 (∀𝑧𝐵 ¬ 𝑧𝑅𝑦 → ∀𝑤𝐴 (𝑤𝑅𝑦[𝑤 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1541  wcel 2109  wral 3065  {crab 3069  Vcvv 3430  [wsbc 3719   class class class wbr 5078
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070  df-rab 3074  df-v 3432  df-sbc 3720  df-dif 3894  df-un 3896  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-br 5079
This theorem is referenced by:  bnj110  32817
  Copyright terms: Public domain W3C validator