MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  axrepnd Structured version   Visualization version   GIF version

Theorem axrepnd 10281
Description: A version of the Axiom of Replacement with no distinct variable conditions. Usage of this theorem is discouraged because it depends on ax-13 2372. (Contributed by NM, 2-Jan-2002.) (New usage is discouraged.)
Assertion
Ref Expression
axrepnd 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))

Proof of Theorem axrepnd
StepHypRef Expression
1 axrepndlem2 10280 . . . 4 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))))
2 nfnae 2434 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
3 nfnae 2434 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
42, 3nfan 1903 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
5 nfnae 2434 . . . . . 6 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
64, 5nfan 1903 . . . . 5 𝑥((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧)
7 nfnae 2434 . . . . . . . . 9 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
8 nfnae 2434 . . . . . . . . 9 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
97, 8nfan 1903 . . . . . . . 8 𝑧(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
10 nfnae 2434 . . . . . . . 8 𝑧 ¬ ∀𝑦 𝑦 = 𝑧
119, 10nfan 1903 . . . . . . 7 𝑧((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧)
12 nfcvf 2935 . . . . . . . . . . . 12 (¬ ∀𝑦 𝑦 = 𝑧𝑦𝑧)
1312adantl 481 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑧)
14 nfcvf2 2936 . . . . . . . . . . . 12 (¬ ∀𝑥 𝑥 = 𝑦𝑦𝑥)
1514ad2antrr 722 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑥)
1613, 15nfeld 2917 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑧𝑥)
1716nf5rd 2192 . . . . . . . . 9 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑧𝑥 → ∀𝑦 𝑧𝑥))
18 sp 2178 . . . . . . . . 9 (∀𝑦 𝑧𝑥𝑧𝑥)
1917, 18impbid1 224 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑧𝑥 ↔ ∀𝑦 𝑧𝑥))
20 nfcvf2 2936 . . . . . . . . . . . . . 14 (¬ ∀𝑥 𝑥 = 𝑧𝑧𝑥)
2120ad2antlr 723 . . . . . . . . . . . . 13 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑥)
22 nfcvf2 2936 . . . . . . . . . . . . . 14 (¬ ∀𝑦 𝑦 = 𝑧𝑧𝑦)
2322adantl 481 . . . . . . . . . . . . 13 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑦)
2421, 23nfeld 2917 . . . . . . . . . . . 12 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑧 𝑥𝑦)
2524nf5rd 2192 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑥𝑦 → ∀𝑧 𝑥𝑦))
26 sp 2178 . . . . . . . . . . 11 (∀𝑧 𝑥𝑦𝑥𝑦)
2725, 26impbid1 224 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑥𝑦 ↔ ∀𝑧 𝑥𝑦))
2827anbi1d 629 . . . . . . . . 9 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑥𝑦 ∧ ∀𝑦𝜑) ↔ (∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
296, 28exbid 2219 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑) ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
3019, 29bibi12d 345 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)) ↔ (∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
3111, 30albid 2218 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑)) ↔ ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
3231imbi2d 340 . . . . 5 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ((∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))) ↔ (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))))
336, 32exbid 2219 . . . 4 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑥 ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑦𝜑))) ↔ ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))))
341, 33mpbid 231 . . 3 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
3534exp31 419 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → (¬ ∀𝑦 𝑦 = 𝑧 → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))))
36 nfae 2433 . . . . 5 𝑧𝑥 𝑥 = 𝑦
37 nd2 10275 . . . . . . 7 (∀𝑦 𝑦 = 𝑥 → ¬ ∀𝑦 𝑧𝑥)
3837aecoms 2428 . . . . . 6 (∀𝑥 𝑥 = 𝑦 → ¬ ∀𝑦 𝑧𝑥)
39 nfae 2433 . . . . . . 7 𝑥𝑥 𝑥 = 𝑦
40 nd3 10276 . . . . . . . 8 (∀𝑥 𝑥 = 𝑦 → ¬ ∀𝑧 𝑥𝑦)
4140intnanrd 489 . . . . . . 7 (∀𝑥 𝑥 = 𝑦 → ¬ (∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
4239, 41nexd 2217 . . . . . 6 (∀𝑥 𝑥 = 𝑦 → ¬ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
4338, 422falsed 376 . . . . 5 (∀𝑥 𝑥 = 𝑦 → (∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
4436, 43alrimi 2209 . . . 4 (∀𝑥 𝑥 = 𝑦 → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
4544a1d 25 . . 3 (∀𝑥 𝑥 = 𝑦 → (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
464519.8ad 2177 . 2 (∀𝑥 𝑥 = 𝑦 → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
47 nfae 2433 . . . . 5 𝑧𝑥 𝑥 = 𝑧
48 nd4 10277 . . . . . 6 (∀𝑥 𝑥 = 𝑧 → ¬ ∀𝑦 𝑧𝑥)
49 nfae 2433 . . . . . . 7 𝑥𝑥 𝑥 = 𝑧
50 nd1 10274 . . . . . . . . 9 (∀𝑧 𝑧 = 𝑥 → ¬ ∀𝑧 𝑥𝑦)
5150aecoms 2428 . . . . . . . 8 (∀𝑥 𝑥 = 𝑧 → ¬ ∀𝑧 𝑥𝑦)
5251intnanrd 489 . . . . . . 7 (∀𝑥 𝑥 = 𝑧 → ¬ (∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
5349, 52nexd 2217 . . . . . 6 (∀𝑥 𝑥 = 𝑧 → ¬ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
5448, 532falsed 376 . . . . 5 (∀𝑥 𝑥 = 𝑧 → (∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
5547, 54alrimi 2209 . . . 4 (∀𝑥 𝑥 = 𝑧 → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
5655a1d 25 . . 3 (∀𝑥 𝑥 = 𝑧 → (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
575619.8ad 2177 . 2 (∀𝑥 𝑥 = 𝑧 → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
58 nfae 2433 . . . . 5 𝑧𝑦 𝑦 = 𝑧
59 nd1 10274 . . . . . 6 (∀𝑦 𝑦 = 𝑧 → ¬ ∀𝑦 𝑧𝑥)
60 nfae 2433 . . . . . . 7 𝑥𝑦 𝑦 = 𝑧
61 nd2 10275 . . . . . . . . 9 (∀𝑧 𝑧 = 𝑦 → ¬ ∀𝑧 𝑥𝑦)
6261aecoms 2428 . . . . . . . 8 (∀𝑦 𝑦 = 𝑧 → ¬ ∀𝑧 𝑥𝑦)
6362intnanrd 489 . . . . . . 7 (∀𝑦 𝑦 = 𝑧 → ¬ (∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
6460, 63nexd 2217 . . . . . 6 (∀𝑦 𝑦 = 𝑧 → ¬ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))
6559, 642falsed 376 . . . . 5 (∀𝑦 𝑦 = 𝑧 → (∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
6658, 65alrimi 2209 . . . 4 (∀𝑦 𝑦 = 𝑧 → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
6766a1d 25 . . 3 (∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
686719.8ad 2177 . 2 (∀𝑦 𝑦 = 𝑧 → ∃𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑))))
6935, 46, 57, 68pm2.61iii 185 1 𝑥(∃𝑦𝑧(𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑥 ↔ ∃𝑥(∀𝑧 𝑥𝑦 ∧ ∀𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537  wex 1783  wnfc 2886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-13 2372  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-reg 9281
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-sn 4559  df-pr 4561
This theorem is referenced by:  zfcndrep  10301  axrepprim  33543
  Copyright terms: Public domain W3C validator