MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  abvtrivd Structured version   Visualization version   GIF version

Theorem abvtrivd 19611
Description: The trivial absolute value. (Contributed by Mario Carneiro, 6-May-2015.)
Hypotheses
Ref Expression
abvtriv.a 𝐴 = (AbsVal‘𝑅)
abvtriv.b 𝐵 = (Base‘𝑅)
abvtriv.z 0 = (0g𝑅)
abvtriv.f 𝐹 = (𝑥𝐵 ↦ if(𝑥 = 0 , 0, 1))
abvtrivd.1 · = (.r𝑅)
abvtrivd.2 (𝜑𝑅 ∈ Ring)
abvtrivd.3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝑦 · 𝑧) ≠ 0 )
Assertion
Ref Expression
abvtrivd (𝜑𝐹𝐴)
Distinct variable groups:   𝑥, 0   𝑦,𝑧,𝐹   𝑥,𝑦,𝑧,𝜑   𝑥,𝑅,𝑦,𝑧   𝑥, ·   𝑥,𝐵
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧)   𝐵(𝑦,𝑧)   · (𝑦,𝑧)   𝐹(𝑥)   0 (𝑦,𝑧)

Proof of Theorem abvtrivd
StepHypRef Expression
1 abvtriv.a . . 3 𝐴 = (AbsVal‘𝑅)
21a1i 11 . 2 (𝜑𝐴 = (AbsVal‘𝑅))
3 abvtriv.b . . 3 𝐵 = (Base‘𝑅)
43a1i 11 . 2 (𝜑𝐵 = (Base‘𝑅))
5 eqidd 2822 . 2 (𝜑 → (+g𝑅) = (+g𝑅))
6 abvtrivd.1 . . 3 · = (.r𝑅)
76a1i 11 . 2 (𝜑· = (.r𝑅))
8 abvtriv.z . . 3 0 = (0g𝑅)
98a1i 11 . 2 (𝜑0 = (0g𝑅))
10 abvtrivd.2 . 2 (𝜑𝑅 ∈ Ring)
11 0re 10643 . . . . 5 0 ∈ ℝ
12 1re 10641 . . . . 5 1 ∈ ℝ
1311, 12ifcli 4513 . . . 4 if(𝑥 = 0 , 0, 1) ∈ ℝ
1413a1i 11 . . 3 ((𝜑𝑥𝐵) → if(𝑥 = 0 , 0, 1) ∈ ℝ)
15 abvtriv.f . . 3 𝐹 = (𝑥𝐵 ↦ if(𝑥 = 0 , 0, 1))
1614, 15fmptd 6878 . 2 (𝜑𝐹:𝐵⟶ℝ)
173, 8ring0cl 19319 . . 3 (𝑅 ∈ Ring → 0𝐵)
18 iftrue 4473 . . . 4 (𝑥 = 0 → if(𝑥 = 0 , 0, 1) = 0)
19 c0ex 10635 . . . 4 0 ∈ V
2018, 15, 19fvmpt 6768 . . 3 ( 0𝐵 → (𝐹0 ) = 0)
2110, 17, 203syl 18 . 2 (𝜑 → (𝐹0 ) = 0)
22 0lt1 11162 . . 3 0 < 1
23 eqeq1 2825 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 = 0𝑦 = 0 ))
2423ifbid 4489 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 0 , 0, 1) = if(𝑦 = 0 , 0, 1))
25 1ex 10637 . . . . . . 7 1 ∈ V
2619, 25ifex 4515 . . . . . 6 if(𝑦 = 0 , 0, 1) ∈ V
2724, 15, 26fvmpt 6768 . . . . 5 (𝑦𝐵 → (𝐹𝑦) = if(𝑦 = 0 , 0, 1))
28 ifnefalse 4479 . . . . 5 (𝑦0 → if(𝑦 = 0 , 0, 1) = 1)
2927, 28sylan9eq 2876 . . . 4 ((𝑦𝐵𝑦0 ) → (𝐹𝑦) = 1)
30293adant1 1126 . . 3 ((𝜑𝑦𝐵𝑦0 ) → (𝐹𝑦) = 1)
3122, 30breqtrrid 5104 . 2 ((𝜑𝑦𝐵𝑦0 ) → 0 < (𝐹𝑦))
32 1t1e1 11800 . . . 4 (1 · 1) = 1
3332eqcomi 2830 . . 3 1 = (1 · 1)
34103ad2ant1 1129 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑅 ∈ Ring)
35 simp2l 1195 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑦𝐵)
36 simp3l 1197 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑧𝐵)
373, 6ringcl 19311 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑦𝐵𝑧𝐵) → (𝑦 · 𝑧) ∈ 𝐵)
3834, 35, 36, 37syl3anc 1367 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝑦 · 𝑧) ∈ 𝐵)
39 eqeq1 2825 . . . . . . 7 (𝑥 = (𝑦 · 𝑧) → (𝑥 = 0 ↔ (𝑦 · 𝑧) = 0 ))
4039ifbid 4489 . . . . . 6 (𝑥 = (𝑦 · 𝑧) → if(𝑥 = 0 , 0, 1) = if((𝑦 · 𝑧) = 0 , 0, 1))
4119, 25ifex 4515 . . . . . 6 if((𝑦 · 𝑧) = 0 , 0, 1) ∈ V
4240, 15, 41fvmpt 6768 . . . . 5 ((𝑦 · 𝑧) ∈ 𝐵 → (𝐹‘(𝑦 · 𝑧)) = if((𝑦 · 𝑧) = 0 , 0, 1))
4338, 42syl 17 . . . 4 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦 · 𝑧)) = if((𝑦 · 𝑧) = 0 , 0, 1))
44 abvtrivd.3 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝑦 · 𝑧) ≠ 0 )
4544neneqd 3021 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ¬ (𝑦 · 𝑧) = 0 )
4645iffalsed 4478 . . . 4 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → if((𝑦 · 𝑧) = 0 , 0, 1) = 1)
4743, 46eqtrd 2856 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦 · 𝑧)) = 1)
4835, 27syl 17 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹𝑦) = if(𝑦 = 0 , 0, 1))
49 simp2r 1196 . . . . . . 7 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑦0 )
5049neneqd 3021 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ¬ 𝑦 = 0 )
5150iffalsed 4478 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → if(𝑦 = 0 , 0, 1) = 1)
5248, 51eqtrd 2856 . . . 4 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹𝑦) = 1)
53 eqeq1 2825 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 = 0𝑧 = 0 ))
5453ifbid 4489 . . . . . . 7 (𝑥 = 𝑧 → if(𝑥 = 0 , 0, 1) = if(𝑧 = 0 , 0, 1))
5519, 25ifex 4515 . . . . . . 7 if(𝑧 = 0 , 0, 1) ∈ V
5654, 15, 55fvmpt 6768 . . . . . 6 (𝑧𝐵 → (𝐹𝑧) = if(𝑧 = 0 , 0, 1))
5736, 56syl 17 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹𝑧) = if(𝑧 = 0 , 0, 1))
58 simp3r 1198 . . . . . . 7 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑧0 )
5958neneqd 3021 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ¬ 𝑧 = 0 )
6059iffalsed 4478 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → if(𝑧 = 0 , 0, 1) = 1)
6157, 60eqtrd 2856 . . . 4 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹𝑧) = 1)
6252, 61oveq12d 7174 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ((𝐹𝑦) · (𝐹𝑧)) = (1 · 1))
6333, 47, 623eqtr4a 2882 . 2 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦 · 𝑧)) = ((𝐹𝑦) · (𝐹𝑧)))
64 breq1 5069 . . . . . 6 (0 = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) → (0 ≤ 2 ↔ if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2))
65 breq1 5069 . . . . . 6 (1 = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) → (1 ≤ 2 ↔ if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2))
66 0le2 11740 . . . . . 6 0 ≤ 2
67 1le2 11847 . . . . . 6 1 ≤ 2
6864, 65, 66, 67keephyp 4536 . . . . 5 if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2
69 df-2 11701 . . . . 5 2 = (1 + 1)
7068, 69breqtri 5091 . . . 4 if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ (1 + 1)
7170a1i 11 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ (1 + 1))
72 ringgrp 19302 . . . . . . 7 (𝑅 ∈ Ring → 𝑅 ∈ Grp)
7310, 72syl 17 . . . . . 6 (𝜑𝑅 ∈ Grp)
74733ad2ant1 1129 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑅 ∈ Grp)
75 eqid 2821 . . . . . 6 (+g𝑅) = (+g𝑅)
763, 75grpcl 18111 . . . . 5 ((𝑅 ∈ Grp ∧ 𝑦𝐵𝑧𝐵) → (𝑦(+g𝑅)𝑧) ∈ 𝐵)
7774, 35, 36, 76syl3anc 1367 . . . 4 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝑦(+g𝑅)𝑧) ∈ 𝐵)
78 eqeq1 2825 . . . . . 6 (𝑥 = (𝑦(+g𝑅)𝑧) → (𝑥 = 0 ↔ (𝑦(+g𝑅)𝑧) = 0 ))
7978ifbid 4489 . . . . 5 (𝑥 = (𝑦(+g𝑅)𝑧) → if(𝑥 = 0 , 0, 1) = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1))
8019, 25ifex 4515 . . . . 5 if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ∈ V
8179, 15, 80fvmpt 6768 . . . 4 ((𝑦(+g𝑅)𝑧) ∈ 𝐵 → (𝐹‘(𝑦(+g𝑅)𝑧)) = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1))
8277, 81syl 17 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦(+g𝑅)𝑧)) = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1))
8352, 61oveq12d 7174 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ((𝐹𝑦) + (𝐹𝑧)) = (1 + 1))
8471, 82, 833brtr4d 5098 . 2 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦(+g𝑅)𝑧)) ≤ ((𝐹𝑦) + (𝐹𝑧)))
852, 4, 5, 7, 9, 10, 16, 21, 31, 63, 84isabvd 19591 1 (𝜑𝐹𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1537  wcel 2114  wne 3016  ifcif 4467   class class class wbr 5066  cmpt 5146  cfv 6355  (class class class)co 7156  cr 10536  0cc0 10537  1c1 10538   + caddc 10540   · cmul 10542   < clt 10675  cle 10676  2c2 11693  Basecbs 16483  +gcplusg 16565  .rcmulr 16566  0gc0g 16713  Grpcgrp 18103  Ringcrg 19297  AbsValcabv 19587
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 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-er 8289  df-map 8408  df-en 8510  df-dom 8511  df-sdom 8512  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-nn 11639  df-2 11701  df-ico 12745  df-ndx 16486  df-slot 16487  df-base 16489  df-sets 16490  df-plusg 16578  df-0g 16715  df-mgm 17852  df-sgrp 17901  df-mnd 17912  df-grp 18106  df-minusg 18107  df-mgp 19240  df-ring 19299  df-abv 19588
This theorem is referenced by:  abvtriv  19612  abvn0b  20075
  Copyright terms: Public domain W3C validator