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

Theorem isarep1 5204
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.)
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 2684 . . 3 𝑏 ∈ V
21elima 4881 . 2 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏)
3 df-br 3925 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
4 opelopabsb 4177 . . . 4 (⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
5 sbsbc 2908 . . . . . 6 ([𝑏 / 𝑦]𝜑[𝑏 / 𝑦]𝜑)
65sbbii 1738 . . . . 5 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
7 sbsbc 2908 . . . . 5 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑[𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
86, 7bitr2i 184 . . . 4 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
93, 4, 83bitri 205 . . 3 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
109rexbii 2440 . 2 (∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
11 nfs1v 1910 . . 3 𝑥[𝑧 / 𝑥][𝑏 / 𝑦]𝜑
12 nfv 1508 . . 3 𝑧[𝑏 / 𝑦]𝜑
13 sbequ12r 1745 . . 3 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
1411, 12, 13cbvrex 2649 . 2 (∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
152, 10, 143bitri 205 1 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
Colors of variables: wff set class
Syntax hints:  wb 104  wcel 1480  [wsb 1735  wrex 2415  [wsbc 2904  cop 3525   class class class wbr 3924  {copab 3983  cima 4537
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-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-sbc 2905  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-opab 3985  df-xp 4540  df-cnv 4542  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator