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

Theorem abvtrivd 19605
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 10637 . . . . 5 0 ∈ ℝ
12 1re 10635 . . . . 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 6873 . 2 (𝜑𝐹:𝐵⟶ℝ)
173, 8ring0cl 19313 . . 3 (𝑅 ∈ Ring → 0𝐵)
18 iftrue 4473 . . . 4 (𝑥 = 0 → if(𝑥 = 0 , 0, 1) = 0)
19 c0ex 10629 . . . 4 0 ∈ V
2018, 15, 19fvmpt 6763 . . 3 ( 0𝐵 → (𝐹0 ) = 0)
2110, 17, 203syl 18 . 2 (𝜑 → (𝐹0 ) = 0)
22 0lt1 11156 . . 3 0 < 1
23 eqeq1 2825 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 = 0𝑦 = 0 ))
2423ifbid 4489 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 0 , 0, 1) = if(𝑦 = 0 , 0, 1))
25 1ex 10631 . . . . . . 7 1 ∈ V
2619, 25ifex 4515 . . . . . 6 if(𝑦 = 0 , 0, 1) ∈ V
2724, 15, 26fvmpt 6763 . . . . 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 5097 . 2 ((𝜑𝑦𝐵𝑦0 ) → 0 < (𝐹𝑦))
32 1t1e1 11793 . . . 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 19305 . . . . . 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 6763 . . . . 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 6763 . . . . . 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 7168 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ((𝐹𝑦) · (𝐹𝑧)) = (1 · 1))
6333, 47, 623eqtr4a 2882 . 2 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦 · 𝑧)) = ((𝐹𝑦) · (𝐹𝑧)))
64 breq1 5062 . . . . . 6 (0 = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) → (0 ≤ 2 ↔ if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2))
65 breq1 5062 . . . . . 6 (1 = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) → (1 ≤ 2 ↔ if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2))
66 0le2 11733 . . . . . 6 0 ≤ 2
67 1le2 11840 . . . . . 6 1 ≤ 2
6864, 65, 66, 67keephyp 4536 . . . . 5 if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ 2
69 df-2 11694 . . . . 5 2 = (1 + 1)
7068, 69breqtri 5084 . . . 4 if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ (1 + 1)
7170a1i 11 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → if((𝑦(+g𝑅)𝑧) = 0 , 0, 1) ≤ (1 + 1))
72 ringgrp 19296 . . . . . . 7 (𝑅 ∈ Ring → 𝑅 ∈ Grp)
7310, 72syl 17 . . . . . 6 (𝜑𝑅 ∈ Grp)
74733ad2ant1 1129 . . . . 5 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → 𝑅 ∈ Grp)
75 eqid 2821 . . . . . 6 (+g𝑅) = (+g𝑅)
763, 75grpcl 18105 . . . . 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 6763 . . . 4 ((𝑦(+g𝑅)𝑧) ∈ 𝐵 → (𝐹‘(𝑦(+g𝑅)𝑧)) = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1))
8277, 81syl 17 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦(+g𝑅)𝑧)) = if((𝑦(+g𝑅)𝑧) = 0 , 0, 1))
8352, 61oveq12d 7168 . . 3 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → ((𝐹𝑦) + (𝐹𝑧)) = (1 + 1))
8471, 82, 833brtr4d 5091 . 2 ((𝜑 ∧ (𝑦𝐵𝑦0 ) ∧ (𝑧𝐵𝑧0 )) → (𝐹‘(𝑦(+g𝑅)𝑧)) ≤ ((𝐹𝑦) + (𝐹𝑧)))
852, 4, 5, 7, 9, 10, 16, 21, 31, 63, 84isabvd 19585 1 (𝜑𝐹𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1533  wcel 2110  wne 3016  ifcif 4467   class class class wbr 5059  cmpt 5139  cfv 6350  (class class class)co 7150  cr 10530  0cc0 10531  1c1 10532   + caddc 10534   · cmul 10536   < clt 10669  cle 10670  2c2 11686  Basecbs 16477  +gcplusg 16559  .rcmulr 16560  0gc0g 16707  Grpcgrp 18097  Ringcrg 19291  AbsValcabv 19581
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 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  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 3497  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 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-tr 5166  df-id 5455  df-eprel 5460  df-po 5469  df-so 5470  df-fr 5509  df-we 5511  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-pred 6143  df-ord 6189  df-on 6190  df-lim 6191  df-suc 6192  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-er 8283  df-map 8402  df-en 8504  df-dom 8505  df-sdom 8506  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-nn 11633  df-2 11694  df-ico 12738  df-ndx 16480  df-slot 16481  df-base 16483  df-sets 16484  df-plusg 16572  df-0g 16709  df-mgm 17846  df-sgrp 17895  df-mnd 17906  df-grp 18100  df-minusg 18101  df-mgp 19234  df-ring 19293  df-abv 19582
This theorem is referenced by:  abvtriv  19606  abvn0b  20069
  Copyright terms: Public domain W3C validator