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

Theorem repizf2 4148
Description: Replacement. This version of replacement is stronger than repizf 4105 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 4105 with ax-sep 4107. 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 2733 . . 3 𝑤 ∈ V
21rabex 4133 . 2 {𝑥𝑤 ∣ ∃𝑦𝜑} ∈ V
3 repizf2lem 4147 . . . 4 (∀𝑥𝑤 ∃*𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑)
4 nfcv 2312 . . . . . 6 𝑥𝑣
5 nfrab1 2649 . . . . . 6 𝑥{𝑥𝑤 ∣ ∃𝑦𝜑}
64, 5raleqf 2661 . . . . 5 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣 ∃!𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑))
7 repizf2.1 . . . . . 6 𝑧𝜑
87repizf 4105 . . . . 5 (∀𝑥𝑣 ∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑)
96, 8syl6bir 163 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
103, 9syl5bi 151 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
11 df-rab 2457 . . . . . 6 {𝑥𝑤 ∣ ∃𝑦𝜑} = {𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
12 nfv 1521 . . . . . . . 8 𝑧 𝑥𝑤
137nfex 1630 . . . . . . . 8 𝑧𝑦𝜑
1412, 13nfan 1558 . . . . . . 7 𝑧(𝑥𝑤 ∧ ∃𝑦𝜑)
1514nfab 2317 . . . . . 6 𝑧{𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
1611, 15nfcxfr 2309 . . . . 5 𝑧{𝑥𝑤 ∣ ∃𝑦𝜑}
1716nfeq2 2324 . . . 4 𝑧 𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑}
184, 5raleqf 2661 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣𝑦𝑧 𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
1917, 18exbid 1609 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∃𝑧𝑥𝑣𝑦𝑧 𝜑 ↔ ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
2010, 19sylibd 148 . 2 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
212, 20vtocle 2804 1 (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1348  wnf 1453  wex 1485  ∃!weu 2019  ∃*wmo 2020  {cab 2156  wral 2448  wrex 2449  {crab 2452
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152  ax-coll 4104  ax-sep 4107
This theorem depends on definitions:  df-bi 116  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rab 2457  df-v 2732  df-in 3127  df-ss 3134
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator