![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > fconst2g | Structured version Visualization version GIF version |
Description: A constant function expressed as a Cartesian product. (Contributed by NM, 27-Nov-2007.) |
Ref | Expression |
---|---|
fconst2g | ⊢ (𝐵 ∈ 𝐶 → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵}))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fvconst 6751 | . . . . . . 7 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵) | |
2 | 1 | adantlr 702 | . . . . . 6 ⊢ (((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵) |
3 | fvconst2g 6793 | . . . . . . 7 ⊢ ((𝐵 ∈ 𝐶 ∧ 𝑥 ∈ 𝐴) → ((𝐴 × {𝐵})‘𝑥) = 𝐵) | |
4 | 3 | adantll 701 | . . . . . 6 ⊢ (((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) ∧ 𝑥 ∈ 𝐴) → ((𝐴 × {𝐵})‘𝑥) = 𝐵) |
5 | 2, 4 | eqtr4d 2817 | . . . . 5 ⊢ (((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = ((𝐴 × {𝐵})‘𝑥)) |
6 | 5 | ralrimiva 3132 | . . . 4 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) → ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = ((𝐴 × {𝐵})‘𝑥)) |
7 | ffn 6346 | . . . . 5 ⊢ (𝐹:𝐴⟶{𝐵} → 𝐹 Fn 𝐴) | |
8 | fnconstg 6398 | . . . . 5 ⊢ (𝐵 ∈ 𝐶 → (𝐴 × {𝐵}) Fn 𝐴) | |
9 | eqfnfv 6629 | . . . . 5 ⊢ ((𝐹 Fn 𝐴 ∧ (𝐴 × {𝐵}) Fn 𝐴) → (𝐹 = (𝐴 × {𝐵}) ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = ((𝐴 × {𝐵})‘𝑥))) | |
10 | 7, 8, 9 | syl2an 586 | . . . 4 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) → (𝐹 = (𝐴 × {𝐵}) ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = ((𝐴 × {𝐵})‘𝑥))) |
11 | 6, 10 | mpbird 249 | . . 3 ⊢ ((𝐹:𝐴⟶{𝐵} ∧ 𝐵 ∈ 𝐶) → 𝐹 = (𝐴 × {𝐵})) |
12 | 11 | expcom 406 | . 2 ⊢ (𝐵 ∈ 𝐶 → (𝐹:𝐴⟶{𝐵} → 𝐹 = (𝐴 × {𝐵}))) |
13 | fconstg 6397 | . . 3 ⊢ (𝐵 ∈ 𝐶 → (𝐴 × {𝐵}):𝐴⟶{𝐵}) | |
14 | feq1 6327 | . . 3 ⊢ (𝐹 = (𝐴 × {𝐵}) → (𝐹:𝐴⟶{𝐵} ↔ (𝐴 × {𝐵}):𝐴⟶{𝐵})) | |
15 | 13, 14 | syl5ibrcom 239 | . 2 ⊢ (𝐵 ∈ 𝐶 → (𝐹 = (𝐴 × {𝐵}) → 𝐹:𝐴⟶{𝐵})) |
16 | 12, 15 | impbid 204 | 1 ⊢ (𝐵 ∈ 𝐶 → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵}))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 198 ∧ wa 387 = wceq 1507 ∈ wcel 2050 ∀wral 3088 {csn 4442 × cxp 5406 Fn wfn 6185 ⟶wf 6186 ‘cfv 6190 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1758 ax-4 1772 ax-5 1869 ax-6 1928 ax-7 1965 ax-8 2052 ax-9 2059 ax-10 2079 ax-11 2093 ax-12 2106 ax-13 2301 ax-ext 2750 ax-sep 5061 ax-nul 5068 ax-pow 5120 ax-pr 5187 |
This theorem depends on definitions: df-bi 199 df-an 388 df-or 834 df-3an 1070 df-tru 1510 df-ex 1743 df-nf 1747 df-sb 2016 df-mo 2547 df-eu 2583 df-clab 2759 df-cleq 2771 df-clel 2846 df-nfc 2918 df-ne 2968 df-ral 3093 df-rex 3094 df-rab 3097 df-v 3417 df-sbc 3684 df-csb 3789 df-dif 3834 df-un 3836 df-in 3838 df-ss 3845 df-nul 4181 df-if 4352 df-sn 4443 df-pr 4445 df-op 4449 df-uni 4714 df-br 4931 df-opab 4993 df-mpt 5010 df-id 5313 df-xp 5414 df-rel 5415 df-cnv 5416 df-co 5417 df-dm 5418 df-rn 5419 df-res 5420 df-ima 5421 df-iota 6154 df-fun 6192 df-fn 6193 df-f 6194 df-fv 6198 |
This theorem is referenced by: fconst2 6796 fconst5 6797 snmapen 8389 repsdf2 14000 cnconst 21599 padct 30210 fconst7 40969 |
Copyright terms: Public domain | W3C validator |