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

Theorem elrab3t 2697
Description: Membership in a restricted class abstraction, using implicit substitution. (Closed theorem version of elrab3 2699.) (Contributed by Thierry Arnoux, 31-Aug-2017.)
Assertion
Ref Expression
elrab3t ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜓,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem elrab3t
StepHypRef Expression
1 simpr 103 . . 3 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → 𝐴𝐵)
2 nfa1 1434 . . . . 5 𝑥𝑥(𝑥 = 𝐴 → (𝜑𝜓))
3 nfv 1421 . . . . 5 𝑥 𝐴𝐵
42, 3nfan 1457 . . . 4 𝑥(∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵)
5 simpl 102 . . . . . 6 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)))
6519.21bi 1450 . . . . 5 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝑥 = 𝐴 → (𝜑𝜓)))
7 eleq1 2100 . . . . . . . . . 10 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
87biimparc 283 . . . . . . . . 9 ((𝐴𝐵𝑥 = 𝐴) → 𝑥𝐵)
98biantrurd 289 . . . . . . . 8 ((𝐴𝐵𝑥 = 𝐴) → (𝜑 ↔ (𝑥𝐵𝜑)))
109bibi1d 222 . . . . . . 7 ((𝐴𝐵𝑥 = 𝐴) → ((𝜑𝜓) ↔ ((𝑥𝐵𝜑) ↔ 𝜓)))
1110pm5.74da 417 . . . . . 6 (𝐴𝐵 → ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))))
1211adantl 262 . . . . 5 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))))
136, 12mpbid 135 . . . 4 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓)))
144, 13alrimi 1415 . . 3 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓)))
15 elabgt 2684 . . 3 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))) → (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
161, 14, 15syl2anc 391 . 2 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
17 df-rab 2315 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
1817eleq2i 2104 . . 3 (𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)})
1918bibi1i 217 . 2 ((𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝜓) ↔ (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
2016, 19sylibr 137 1 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝜓))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98  wal 1241   = wceq 1243  wcel 1393  {cab 2026  {crab 2310
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-rab 2315  df-v 2559
This theorem is referenced by:  f1oresrab  5329
  Copyright terms: Public domain W3C validator