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 5890. (Contributed by NM, 26-Oct-2006.) |
Ref | Expression |
---|---|
isarep2.1 | ⊢ 𝐴 ∈ V |
isarep2.2 | ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) |
Ref | Expression |
---|---|
isarep2 | ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | resima 5351 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) | |
2 | resopab 5366 | . . . . 5 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} | |
3 | 2 | imaeq1i 5382 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
4 | 1, 3 | eqtr3i 2634 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
5 | funopab 5837 | . . . . 5 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ ∀𝑥∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑)) | |
6 | isarep2.2 | . . . . . . . 8 ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) | |
7 | 6 | rspec 2915 | . . . . . . 7 ⊢ (𝑥 ∈ 𝐴 → ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
8 | nfv 1830 | . . . . . . . 8 ⊢ Ⅎ𝑧𝜑 | |
9 | 8 | mo3 2495 | . . . . . . 7 ⊢ (∃*𝑦𝜑 ↔ ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
10 | 7, 9 | sylibr 223 | . . . . . 6 ⊢ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑) |
11 | moanimv 2519 | . . . . . 6 ⊢ (∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑)) | |
12 | 10, 11 | mpbir 220 | . . . . 5 ⊢ ∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) |
13 | 5, 12 | mpgbir 1717 | . . . 4 ⊢ Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} |
14 | isarep2.1 | . . . . 5 ⊢ 𝐴 ∈ V | |
15 | 14 | funimaex 5890 | . . . 4 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V) |
16 | 13, 15 | ax-mp 5 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V |
17 | 4, 16 | eqeltri 2684 | . 2 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) ∈ V |
18 | 17 | isseti 3182 | 1 ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 383 ∀wal 1473 = wceq 1475 ∃wex 1695 [wsb 1867 ∈ wcel 1977 ∃*wmo 2459 ∀wral 2896 Vcvv 3173 {copab 4642 ↾ cres 5040 “ cima 5041 Fun wfun 5798 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1713 ax-4 1728 ax-5 1827 ax-6 1875 ax-7 1922 ax-9 1986 ax-10 2006 ax-11 2021 ax-12 2034 ax-13 2234 ax-ext 2590 ax-rep 4699 ax-sep 4709 ax-nul 4717 ax-pr 4833 |
This theorem depends on definitions: df-bi 196 df-or 384 df-an 385 df-3an 1033 df-tru 1478 df-ex 1696 df-nf 1701 df-sb 1868 df-eu 2462 df-mo 2463 df-clab 2597 df-cleq 2603 df-clel 2606 df-nfc 2740 df-ral 2901 df-rex 2902 df-rab 2905 df-v 3175 df-dif 3543 df-un 3545 df-in 3547 df-ss 3554 df-nul 3875 df-if 4037 df-sn 4126 df-pr 4128 df-op 4132 df-br 4584 df-opab 4644 df-id 4953 df-xp 5044 df-rel 5045 df-cnv 5046 df-co 5047 df-dm 5048 df-rn 5049 df-res 5050 df-ima 5051 df-fun 5806 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |