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

Theorem isarep1 6612
Description: Part of a study of the Axiom of Replacement used by the Isabelle prover. The object PrimReplace is apparently the image of the function encoded by 𝜑(𝑥, 𝑦) i.e. the class ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴). If so, we can prove Isabelle's "Axiom of Replacement" conclusion without using the Axiom of Replacement, for which I (N. Megill) currently have no explanation. (Contributed by NM, 26-Oct-2006.) (Proof shortened by Mario Carneiro, 4-Dec-2016.) (Proof shortened by SN, 19-Dec-2024.)
Assertion
Ref Expression
isarep1 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
Distinct variable groups:   𝑥,𝐴   𝑥,𝑏,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑏)   𝐴(𝑦,𝑏)

Proof of Theorem isarep1
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 vex 3460 . . 3 𝑏 ∈ V
21elima 6056 . 2 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏)
3 df-br 5103 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
4 vopelopabsb 5501 . . . 4 (⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
53, 4bitri 277 . . 3 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
65rexbii 3111 . 2 (∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
7 nfs1v 2192 . . 3 𝑥[𝑧 / 𝑥][𝑏 / 𝑦]𝜑
8 nfv 1936 . . 3 𝑧[𝑏 / 𝑦]𝜑
9 sbequ12r 2289 . . 3 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
107, 8, 9cbvrexw 3307 . 2 (∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
112, 6, 103bitri 299 1 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 208  [wsb 2092  wcel 2144  wrex 3088  cop 4590   class class class wbr 5102  {copab 5164  cima 5652
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-sep 5248  ax-pr 5392
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ral 3079  df-rex 3089  df-rab 3417  df-v 3458  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5103  df-opab 5165  df-xp 5655  df-cnv 5657  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator