Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > isarep2 | Structured version Visualization version GIF version |
Description: Part of a study of the Axiom of Replacement used by the Isabelle prover. In Isabelle, the sethood of PrimReplace is apparently postulated implicitly by its type signature "[ i, [ i, i ] => o ] => i", which automatically asserts that it is a set without using any axioms. To prove that it is a set in Metamath, we need the hypotheses of Isabelle's "Axiom of Replacement" as well as the Axiom of Replacement in the form funimaex 6434. (Contributed by NM, 26-Oct-2006.) |
Ref | Expression |
---|---|
isarep2.1 | ⊢ 𝐴 ∈ V |
isarep2.2 | ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) |
Ref | Expression |
---|---|
isarep2 | ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | resima 5880 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) | |
2 | resopab 5895 | . . . . 5 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} | |
3 | 2 | imaeq1i 5919 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
4 | 1, 3 | eqtr3i 2843 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
5 | funopab 6383 | . . . . 5 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ ∀𝑥∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑)) | |
6 | isarep2.2 | . . . . . . . 8 ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) | |
7 | 6 | rspec 3204 | . . . . . . 7 ⊢ (𝑥 ∈ 𝐴 → ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
8 | nfv 1906 | . . . . . . . 8 ⊢ Ⅎ𝑧𝜑 | |
9 | 8 | mo3 2641 | . . . . . . 7 ⊢ (∃*𝑦𝜑 ↔ ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
10 | 7, 9 | sylibr 235 | . . . . . 6 ⊢ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑) |
11 | moanimv 2697 | . . . . . 6 ⊢ (∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑)) | |
12 | 10, 11 | mpbir 232 | . . . . 5 ⊢ ∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) |
13 | 5, 12 | mpgbir 1791 | . . . 4 ⊢ Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} |
14 | isarep2.1 | . . . . 5 ⊢ 𝐴 ∈ V | |
15 | 14 | funimaex 6434 | . . . 4 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V) |
16 | 13, 15 | ax-mp 5 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V |
17 | 4, 16 | eqeltri 2906 | . 2 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) ∈ V |
18 | 17 | isseti 3506 | 1 ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∀wal 1526 = wceq 1528 ∃wex 1771 [wsb 2060 ∈ wcel 2105 ∃*wmo 2613 ∀wral 3135 Vcvv 3492 {copab 5119 ↾ cres 5550 “ cima 5551 Fun wfun 6342 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1787 ax-4 1801 ax-5 1902 ax-6 1961 ax-7 2006 ax-8 2107 ax-9 2115 ax-10 2136 ax-11 2151 ax-12 2167 ax-ext 2790 ax-rep 5181 ax-sep 5194 ax-nul 5201 ax-pr 5320 |
This theorem depends on definitions: df-bi 208 df-an 397 df-or 842 df-3an 1081 df-tru 1531 df-ex 1772 df-nf 1776 df-sb 2061 df-mo 2615 df-eu 2647 df-clab 2797 df-cleq 2811 df-clel 2890 df-nfc 2960 df-ral 3140 df-rex 3141 df-rab 3144 df-v 3494 df-dif 3936 df-un 3938 df-in 3940 df-ss 3949 df-nul 4289 df-if 4464 df-sn 4558 df-pr 4560 df-op 4564 df-br 5058 df-opab 5120 df-id 5453 df-xp 5554 df-rel 5555 df-cnv 5556 df-co 5557 df-dm 5558 df-rn 5559 df-res 5560 df-ima 5561 df-fun 6350 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |