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

Theorem repizf2 3915
Description: Replacement. This version of replacement is stronger than repizf 3873 in the sense that 𝜑 does not need to map all values of 𝑥 in 𝑤 to a value of 𝑦. The resulting set contains those elements for which there is a value of 𝑦 and in that sense, this theorem combines repizf 3873 with ax-sep 3875. Another variation would be 𝑥𝑤∃*𝑦𝜑 → {𝑦 ∣ ∃𝑥(𝑥𝑤𝜑)} ∈ V but we don't have a proof of that yet. (Contributed by Jim Kingdon, 7-Sep-2018.)
Hypothesis
Ref Expression
repizf2.1 𝑧𝜑
Assertion
Ref Expression
repizf2 (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑)
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem repizf2
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 vex 2560 . . 3 𝑤 ∈ V
21rabex 3901 . 2 {𝑥𝑤 ∣ ∃𝑦𝜑} ∈ V
3 repizf2lem 3914 . . . 4 (∀𝑥𝑤 ∃*𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑)
4 nfcv 2178 . . . . . 6 𝑥𝑣
5 nfrab1 2489 . . . . . 6 𝑥{𝑥𝑤 ∣ ∃𝑦𝜑}
64, 5raleqf 2501 . . . . 5 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣 ∃!𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑))
7 repizf2.1 . . . . . 6 𝑧𝜑
87repizf 3873 . . . . 5 (∀𝑥𝑣 ∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑)
96, 8syl6bir 153 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
103, 9syl5bi 141 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
11 df-rab 2315 . . . . . 6 {𝑥𝑤 ∣ ∃𝑦𝜑} = {𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
12 nfv 1421 . . . . . . . 8 𝑧 𝑥𝑤
137nfex 1528 . . . . . . . 8 𝑧𝑦𝜑
1412, 13nfan 1457 . . . . . . 7 𝑧(𝑥𝑤 ∧ ∃𝑦𝜑)
1514nfab 2182 . . . . . 6 𝑧{𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
1611, 15nfcxfr 2175 . . . . 5 𝑧{𝑥𝑤 ∣ ∃𝑦𝜑}
1716nfeq2 2189 . . . 4 𝑧 𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑}
184, 5raleqf 2501 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣𝑦𝑧 𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
1917, 18exbid 1507 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∃𝑧𝑥𝑣𝑦𝑧 𝜑 ↔ ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
2010, 19sylibd 138 . 2 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
212, 20vtocle 2627 1 (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97   = wceq 1243  wnf 1349  wex 1381  ∃!weu 1900  ∃*wmo 1901  {cab 2026  wral 2306  wrex 2307  {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  ax-coll 3872  ax-sep 3875
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rab 2315  df-v 2559  df-in 2924  df-ss 2931
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator