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

Theorem repizf2 4086
Description: Replacement. This version of replacement is stronger than repizf 4044 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 4044 with ax-sep 4046. 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 2689 . . 3 𝑤 ∈ V
21rabex 4072 . 2 {𝑥𝑤 ∣ ∃𝑦𝜑} ∈ V
3 repizf2lem 4085 . . . 4 (∀𝑥𝑤 ∃*𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑)
4 nfcv 2281 . . . . . 6 𝑥𝑣
5 nfrab1 2610 . . . . . 6 𝑥{𝑥𝑤 ∣ ∃𝑦𝜑}
64, 5raleqf 2622 . . . . 5 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣 ∃!𝑦𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑))
7 repizf2.1 . . . . . 6 𝑧𝜑
87repizf 4044 . . . . 5 (∀𝑥𝑣 ∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑)
96, 8syl6bir 163 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃!𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
103, 9syl5bi 151 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥𝑣𝑦𝑧 𝜑))
11 df-rab 2425 . . . . . 6 {𝑥𝑤 ∣ ∃𝑦𝜑} = {𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
12 nfv 1508 . . . . . . . 8 𝑧 𝑥𝑤
137nfex 1616 . . . . . . . 8 𝑧𝑦𝜑
1412, 13nfan 1544 . . . . . . 7 𝑧(𝑥𝑤 ∧ ∃𝑦𝜑)
1514nfab 2286 . . . . . 6 𝑧{𝑥 ∣ (𝑥𝑤 ∧ ∃𝑦𝜑)}
1611, 15nfcxfr 2278 . . . . 5 𝑧{𝑥𝑤 ∣ ∃𝑦𝜑}
1716nfeq2 2293 . . . 4 𝑧 𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑}
184, 5raleqf 2622 . . . 4 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑣𝑦𝑧 𝜑 ↔ ∀𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
1917, 18exbid 1595 . . 3 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∃𝑧𝑥𝑣𝑦𝑧 𝜑 ↔ ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
2010, 19sylibd 148 . 2 (𝑣 = {𝑥𝑤 ∣ ∃𝑦𝜑} → (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑))
212, 20vtocle 2760 1 (∀𝑥𝑤 ∃*𝑦𝜑 → ∃𝑧𝑥 ∈ {𝑥𝑤 ∣ ∃𝑦𝜑}∃𝑦𝑧 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1331  wnf 1436  wex 1468  ∃!weu 1999  ∃*wmo 2000  {cab 2125  wral 2416  wrex 2417  {crab 2420
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-coll 4043  ax-sep 4046
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rab 2425  df-v 2688  df-in 3077  df-ss 3084
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator