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 6572. (Contributed by NM, 26-Oct-2006.) |
Ref | Expression |
---|---|
isarep2.1 | ⊢ 𝐴 ∈ V |
isarep2.2 | ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) |
Ref | Expression |
---|---|
isarep2 | ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | resima 5957 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) | |
2 | resopab 5974 | . . . . 5 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) = {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} | |
3 | 2 | imaeq1i 5996 | . . . 4 ⊢ (({〈𝑥, 𝑦〉 ∣ 𝜑} ↾ 𝐴) “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
4 | 1, 3 | eqtr3i 2766 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) = ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) |
5 | funopab 6519 | . . . . 5 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ ∀𝑥∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑)) | |
6 | isarep2.2 | . . . . . . . 8 ⊢ ∀𝑥 ∈ 𝐴 ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧) | |
7 | 6 | rspec 3229 | . . . . . . 7 ⊢ (𝑥 ∈ 𝐴 → ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
8 | nfv 1916 | . . . . . . . 8 ⊢ Ⅎ𝑧𝜑 | |
9 | 8 | mo3 2562 | . . . . . . 7 ⊢ (∃*𝑦𝜑 ↔ ∀𝑦∀𝑧((𝜑 ∧ [𝑧 / 𝑦]𝜑) → 𝑦 = 𝑧)) |
10 | 7, 9 | sylibr 233 | . . . . . 6 ⊢ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑) |
11 | moanimv 2619 | . . . . . 6 ⊢ (∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 → ∃*𝑦𝜑)) | |
12 | 10, 11 | mpbir 230 | . . . . 5 ⊢ ∃*𝑦(𝑥 ∈ 𝐴 ∧ 𝜑) |
13 | 5, 12 | mpgbir 1800 | . . . 4 ⊢ Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} |
14 | isarep2.1 | . . . . 5 ⊢ 𝐴 ∈ V | |
15 | 14 | funimaex 6572 | . . . 4 ⊢ (Fun {〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V) |
16 | 13, 15 | ax-mp 5 | . . 3 ⊢ ({〈𝑥, 𝑦〉 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} “ 𝐴) ∈ V |
17 | 4, 16 | eqeltri 2833 | . 2 ⊢ ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) ∈ V |
18 | 17 | isseti 3456 | 1 ⊢ ∃𝑤 𝑤 = ({〈𝑥, 𝑦〉 ∣ 𝜑} “ 𝐴) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∀wal 1538 = wceq 1540 ∃wex 1780 [wsb 2066 ∈ wcel 2105 ∃*wmo 2536 ∀wral 3061 Vcvv 3441 {copab 5154 ↾ cres 5622 “ cima 5623 Fun wfun 6473 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1912 ax-6 1970 ax-7 2010 ax-8 2107 ax-9 2115 ax-10 2136 ax-11 2153 ax-12 2170 ax-ext 2707 ax-rep 5229 ax-sep 5243 ax-nul 5250 ax-pr 5372 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1781 df-nf 1785 df-sb 2067 df-mo 2538 df-eu 2567 df-clab 2714 df-cleq 2728 df-clel 2814 df-nfc 2886 df-ral 3062 df-rex 3071 df-rab 3404 df-v 3443 df-dif 3901 df-un 3903 df-in 3905 df-ss 3915 df-nul 4270 df-if 4474 df-sn 4574 df-pr 4576 df-op 4580 df-br 5093 df-opab 5155 df-id 5518 df-xp 5626 df-rel 5627 df-cnv 5628 df-co 5629 df-dm 5630 df-rn 5631 df-res 5632 df-ima 5633 df-fun 6481 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |