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

Theorem isarep1 5179
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 2663 . . 3 𝑏 ∈ V
21elima 4856 . 2 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏)
3 df-br 3900 . . . 4 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
4 opelopabsb 4152 . . . 4 (⟨𝑧, 𝑏⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
5 sbsbc 2886 . . . . . 6 ([𝑏 / 𝑦]𝜑[𝑏 / 𝑦]𝜑)
65sbbii 1723 . . . . 5 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
7 sbsbc 2886 . . . . 5 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑[𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
86, 7bitr2i 184 . . . 4 ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
93, 4, 83bitri 205 . . 3 (𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
109rexbii 2419 . 2 (∃𝑧𝐴 𝑧{⟨𝑥, 𝑦⟩ ∣ 𝜑}𝑏 ↔ ∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑)
11 nfs1v 1892 . . 3 𝑥[𝑧 / 𝑥][𝑏 / 𝑦]𝜑
12 nfv 1493 . . 3 𝑧[𝑏 / 𝑦]𝜑
13 sbequ12r 1730 . . 3 (𝑧 = 𝑥 → ([𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑦]𝜑))
1411, 12, 13cbvrex 2628 . 2 (∃𝑧𝐴 [𝑧 / 𝑥][𝑏 / 𝑦]𝜑 ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
152, 10, 143bitri 205 1 (𝑏 ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} “ 𝐴) ↔ ∃𝑥𝐴 [𝑏 / 𝑦]𝜑)
Colors of variables: wff set class
Syntax hints:  wb 104  wcel 1465  [wsb 1720  wrex 2394  [wsbc 2882  cop 3500   class class class wbr 3899  {copab 3958  cima 4512
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 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-pow 4068  ax-pr 4101
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-v 2662  df-sbc 2883  df-un 3045  df-in 3047  df-ss 3054  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-br 3900  df-opab 3960  df-xp 4515  df-cnv 4517  df-dm 4519  df-rn 4520  df-res 4521  df-ima 4522
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator