![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > fpr | Structured version Visualization version GIF version |
Description: A function with a domain of two elements. (Contributed by Jeff Madsen, 20-Jun-2010.) (Proof shortened by Andrew Salmon, 22-Oct-2011.) |
Ref | Expression |
---|---|
fpr.1 | ⊢ 𝐴 ∈ V |
fpr.2 | ⊢ 𝐵 ∈ V |
fpr.3 | ⊢ 𝐶 ∈ V |
fpr.4 | ⊢ 𝐷 ∈ V |
Ref | Expression |
---|---|
fpr | ⊢ (𝐴 ≠ 𝐵 → {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}:{𝐴, 𝐵}⟶{𝐶, 𝐷}) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fpr.1 | . . . 4 ⊢ 𝐴 ∈ V | |
2 | fpr.2 | . . . 4 ⊢ 𝐵 ∈ V | |
3 | fpr.3 | . . . 4 ⊢ 𝐶 ∈ V | |
4 | fpr.4 | . . . 4 ⊢ 𝐷 ∈ V | |
5 | 1, 2, 3, 4 | funpr 6624 | . . 3 ⊢ (𝐴 ≠ 𝐵 → Fun {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}) |
6 | 3, 4 | dmprop 6239 | . . 3 ⊢ dom {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = {𝐴, 𝐵} |
7 | df-fn 6566 | . . 3 ⊢ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} Fn {𝐴, 𝐵} ↔ (Fun {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} ∧ dom {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = {𝐴, 𝐵})) | |
8 | 5, 6, 7 | sylanblrc 590 | . 2 ⊢ (𝐴 ≠ 𝐵 → {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} Fn {𝐴, 𝐵}) |
9 | df-pr 4634 | . . . . 5 ⊢ {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = ({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉}) | |
10 | 9 | rneqi 5951 | . . . 4 ⊢ ran {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = ran ({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉}) |
11 | rnun 6168 | . . . 4 ⊢ ran ({〈𝐴, 𝐶〉} ∪ {〈𝐵, 𝐷〉}) = (ran {〈𝐴, 𝐶〉} ∪ ran {〈𝐵, 𝐷〉}) | |
12 | 1 | rnsnop 6246 | . . . . . 6 ⊢ ran {〈𝐴, 𝐶〉} = {𝐶} |
13 | 2 | rnsnop 6246 | . . . . . 6 ⊢ ran {〈𝐵, 𝐷〉} = {𝐷} |
14 | 12, 13 | uneq12i 4176 | . . . . 5 ⊢ (ran {〈𝐴, 𝐶〉} ∪ ran {〈𝐵, 𝐷〉}) = ({𝐶} ∪ {𝐷}) |
15 | df-pr 4634 | . . . . 5 ⊢ {𝐶, 𝐷} = ({𝐶} ∪ {𝐷}) | |
16 | 14, 15 | eqtr4i 2766 | . . . 4 ⊢ (ran {〈𝐴, 𝐶〉} ∪ ran {〈𝐵, 𝐷〉}) = {𝐶, 𝐷} |
17 | 10, 11, 16 | 3eqtri 2767 | . . 3 ⊢ ran {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} = {𝐶, 𝐷} |
18 | 17 | eqimssi 4056 | . 2 ⊢ ran {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} ⊆ {𝐶, 𝐷} |
19 | df-f 6567 | . 2 ⊢ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}:{𝐴, 𝐵}⟶{𝐶, 𝐷} ↔ ({〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} Fn {𝐴, 𝐵} ∧ ran {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉} ⊆ {𝐶, 𝐷})) | |
20 | 8, 18, 19 | sylanblrc 590 | 1 ⊢ (𝐴 ≠ 𝐵 → {〈𝐴, 𝐶〉, 〈𝐵, 𝐷〉}:{𝐴, 𝐵}⟶{𝐶, 𝐷}) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1537 ∈ wcel 2106 ≠ wne 2938 Vcvv 3478 ∪ cun 3961 ⊆ wss 3963 {csn 4631 {cpr 4633 〈cop 4637 dom cdm 5689 ran crn 5690 Fun wfun 6557 Fn wfn 6558 ⟶wf 6559 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1792 ax-4 1806 ax-5 1908 ax-6 1965 ax-7 2005 ax-8 2108 ax-9 2116 ax-10 2139 ax-12 2175 ax-ext 2706 ax-sep 5302 ax-nul 5312 ax-pr 5438 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1540 df-fal 1550 df-ex 1777 df-nf 1781 df-sb 2063 df-mo 2538 df-clab 2713 df-cleq 2727 df-clel 2814 df-ne 2939 df-ral 3060 df-rex 3069 df-rab 3434 df-v 3480 df-dif 3966 df-un 3968 df-in 3970 df-ss 3980 df-nul 4340 df-if 4532 df-sn 4632 df-pr 4634 df-op 4638 df-br 5149 df-opab 5211 df-id 5583 df-xp 5695 df-rel 5696 df-cnv 5697 df-co 5698 df-dm 5699 df-rn 5700 df-fun 6565 df-fn 6566 df-f 6567 |
This theorem is referenced by: fprg 7175 fprb 7214 1sdomOLD 9283 axlowdimlem4 28975 coinfliprv 34464 poimirlem22 37629 nnsum3primes4 47713 nnsum3primesgbe 47717 |
Copyright terms: Public domain | W3C validator |