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

Theorem isarep1 6639
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 3458 . . 3 𝑏 ∈ V
21elima 6067 . 2 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑧 ∈ 𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏)
3 df-br 5107 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
4 vopelopabsb 5507 . . . 4 (⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
53, 4bitri 278 . . 3 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
65rexbii 3113 . 2 (∃𝑧 ∈ 𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ∃𝑧 ∈ 𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
7 nfs1v 2195 . . 3 Ⅎ𝑥[𝑧 / 𝑥][𝑏 / 𝑦]𝜑
8 nfv 1948 . . 3 Ⅎ𝑧[𝑏 / 𝑦]𝜑
9 sbequ12r 2290 . . 3 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
107, 8, 9cbvrexw 3309 . 2 (∃𝑧 ∈ 𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ ∃𝑥 ∈ 𝐴 [𝑏 / 𝑦]𝜑)
112, 6, 103bitri 300 1 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑥 ∈ 𝐴 [𝑏 / 𝑦]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  [wsb 2100   ∈ wcel 2146  ∃wrex 3090  ⟨cop 4838   class class class wbr 5106  {copab 5170   “ cima 5658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-cnv 5663  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator