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

Theorem elrab3t 2748
Description: Membership in a restricted class abstraction, using implicit substitution. (Closed theorem version of elrab3 2750.) (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 108 . . 3 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → 𝐴𝐵)
2 nfa1 1474 . . . . 5 𝑥𝑥(𝑥 = 𝐴 → (𝜑𝜓))
3 nfv 1461 . . . . 5 𝑥 𝐴𝐵
42, 3nfan 1497 . . . 4 𝑥(∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵)
5 simpl 107 . . . . . 6 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)))
6519.21bi 1490 . . . . 5 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝑥 = 𝐴 → (𝜑𝜓)))
7 eleq1 2141 . . . . . . . . . 10 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
87biimparc 293 . . . . . . . . 9 ((𝐴𝐵𝑥 = 𝐴) → 𝑥𝐵)
98biantrurd 299 . . . . . . . 8 ((𝐴𝐵𝑥 = 𝐴) → (𝜑 ↔ (𝑥𝐵𝜑)))
109bibi1d 231 . . . . . . 7 ((𝐴𝐵𝑥 = 𝐴) → ((𝜑𝜓) ↔ ((𝑥𝐵𝜑) ↔ 𝜓)))
1110pm5.74da 431 . . . . . 6 (𝐴𝐵 → ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))))
1211adantl 271 . . . . 5 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))))
136, 12mpbid 145 . . . 4 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓)))
144, 13alrimi 1455 . . 3 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓)))
15 elabgt 2735 . . 3 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ 𝜓))) → (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
161, 14, 15syl2anc 403 . 2 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
17 df-rab 2357 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
1817eleq2i 2145 . . 3 (𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)})
1918bibi1i 226 . 2 ((𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝜓) ↔ (𝐴 ∈ {𝑥 ∣ (𝑥𝐵𝜑)} ↔ 𝜓))
2016, 19sylibr 132 1 ((∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) ∧ 𝐴𝐵) → (𝐴 ∈ {𝑥𝐵𝜑} ↔ 𝜓))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1282   = wceq 1284  wcel 1433  {cab 2067  {crab 2352
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-rab 2357  df-v 2603
This theorem is referenced by:  f1oresrab  5350
  Copyright terms: Public domain W3C validator