![]() |
Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > sgnsv | Structured version Visualization version GIF version |
Description: The sign mapping. (Contributed by Thierry Arnoux, 9-Sep-2018.) |
Ref | Expression |
---|---|
sgnsval.b | ⊢ 𝐵 = (Base‘𝑅) |
sgnsval.0 | ⊢ 0 = (0g‘𝑅) |
sgnsval.l | ⊢ < = (lt‘𝑅) |
sgnsval.s | ⊢ 𝑆 = (sgns‘𝑅) |
Ref | Expression |
---|---|
sgnsv | ⊢ (𝑅 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | sgnsval.s | . 2 ⊢ 𝑆 = (sgns‘𝑅) | |
2 | elex 3428 | . . 3 ⊢ (𝑅 ∈ 𝑉 → 𝑅 ∈ V) | |
3 | fveq2 6432 | . . . . . 6 ⊢ (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅)) | |
4 | sgnsval.b | . . . . . 6 ⊢ 𝐵 = (Base‘𝑅) | |
5 | 3, 4 | syl6eqr 2878 | . . . . 5 ⊢ (𝑟 = 𝑅 → (Base‘𝑟) = 𝐵) |
6 | fveq2 6432 | . . . . . . . . 9 ⊢ (𝑟 = 𝑅 → (0g‘𝑟) = (0g‘𝑅)) | |
7 | sgnsval.0 | . . . . . . . . 9 ⊢ 0 = (0g‘𝑅) | |
8 | 6, 7 | syl6eqr 2878 | . . . . . . . 8 ⊢ (𝑟 = 𝑅 → (0g‘𝑟) = 0 ) |
9 | 8 | adantr 474 | . . . . . . 7 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → (0g‘𝑟) = 0 ) |
10 | 9 | eqeq2d 2834 | . . . . . 6 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → (𝑥 = (0g‘𝑟) ↔ 𝑥 = 0 )) |
11 | fveq2 6432 | . . . . . . . . . 10 ⊢ (𝑟 = 𝑅 → (lt‘𝑟) = (lt‘𝑅)) | |
12 | sgnsval.l | . . . . . . . . . 10 ⊢ < = (lt‘𝑅) | |
13 | 11, 12 | syl6eqr 2878 | . . . . . . . . 9 ⊢ (𝑟 = 𝑅 → (lt‘𝑟) = < ) |
14 | 13 | adantr 474 | . . . . . . . 8 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → (lt‘𝑟) = < ) |
15 | eqidd 2825 | . . . . . . . 8 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → 𝑥 = 𝑥) | |
16 | 9, 14, 15 | breq123d 4886 | . . . . . . 7 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → ((0g‘𝑟)(lt‘𝑟)𝑥 ↔ 0 < 𝑥)) |
17 | 16 | ifbid 4327 | . . . . . 6 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → if((0g‘𝑟)(lt‘𝑟)𝑥, 1, -1) = if( 0 < 𝑥, 1, -1)) |
18 | 10, 17 | ifbieq2d 4330 | . . . . 5 ⊢ ((𝑟 = 𝑅 ∧ 𝑥 ∈ (Base‘𝑟)) → if(𝑥 = (0g‘𝑟), 0, if((0g‘𝑟)(lt‘𝑟)𝑥, 1, -1)) = if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1))) |
19 | 5, 18 | mpteq12dva 4954 | . . . 4 ⊢ (𝑟 = 𝑅 → (𝑥 ∈ (Base‘𝑟) ↦ if(𝑥 = (0g‘𝑟), 0, if((0g‘𝑟)(lt‘𝑟)𝑥, 1, -1))) = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
20 | df-sgns 30270 | . . . 4 ⊢ sgns = (𝑟 ∈ V ↦ (𝑥 ∈ (Base‘𝑟) ↦ if(𝑥 = (0g‘𝑟), 0, if((0g‘𝑟)(lt‘𝑟)𝑥, 1, -1)))) | |
21 | 19, 20, 4 | mptfvmpt 6745 | . . 3 ⊢ (𝑅 ∈ V → (sgns‘𝑅) = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
22 | 2, 21 | syl 17 | . 2 ⊢ (𝑅 ∈ 𝑉 → (sgns‘𝑅) = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
23 | 1, 22 | syl5eq 2872 | 1 ⊢ (𝑅 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 386 = wceq 1658 ∈ wcel 2166 Vcvv 3413 ifcif 4305 class class class wbr 4872 ↦ cmpt 4951 ‘cfv 6122 0cc0 10251 1c1 10252 -cneg 10585 Basecbs 16221 0gc0g 16452 ltcplt 17293 sgnscsgns 30269 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1896 ax-4 1910 ax-5 2011 ax-6 2077 ax-7 2114 ax-9 2175 ax-10 2194 ax-11 2209 ax-12 2222 ax-13 2390 ax-ext 2802 ax-rep 4993 ax-sep 5004 ax-nul 5012 ax-pr 5126 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 881 df-3an 1115 df-tru 1662 df-ex 1881 df-nf 1885 df-sb 2070 df-mo 2604 df-eu 2639 df-clab 2811 df-cleq 2817 df-clel 2820 df-nfc 2957 df-ne 2999 df-ral 3121 df-rex 3122 df-reu 3123 df-rab 3125 df-v 3415 df-sbc 3662 df-csb 3757 df-dif 3800 df-un 3802 df-in 3804 df-ss 3811 df-nul 4144 df-if 4306 df-sn 4397 df-pr 4399 df-op 4403 df-uni 4658 df-iun 4741 df-br 4873 df-opab 4935 df-mpt 4952 df-id 5249 df-xp 5347 df-rel 5348 df-cnv 5349 df-co 5350 df-dm 5351 df-rn 5352 df-res 5353 df-ima 5354 df-iota 6085 df-fun 6124 df-fn 6125 df-f 6126 df-f1 6127 df-fo 6128 df-f1o 6129 df-fv 6130 df-sgns 30270 |
This theorem is referenced by: sgnsval 30272 sgnsf 30273 |
Copyright terms: Public domain | W3C validator |