Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fourierdlem7 Structured version   Visualization version   GIF version

Theorem fourierdlem7 41118
Description: The difference between the periodic sawtooth function and the identity function is decreasing. (Contributed by Glauco Siliprandi, 11-Dec-2019.)
Hypotheses
Ref Expression
fourierdlem7.a (𝜑𝐴 ∈ ℝ)
fourierdlem7.b (𝜑𝐵 ∈ ℝ)
fourierdlem7.altb (𝜑𝐴 < 𝐵)
fourierdlem7.t 𝑇 = (𝐵𝐴)
fourierdlem7.e 𝐸 = (𝑥 ∈ ℝ ↦ (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)))
fourierdlem7.x (𝜑𝑋 ∈ ℝ)
fourierdlem7.y (𝜑𝑌 ∈ ℝ)
fourierdlem7.xlty (𝜑𝑋𝑌)
Assertion
Ref Expression
fourierdlem7 (𝜑 → ((𝐸𝑌) − 𝑌) ≤ ((𝐸𝑋) − 𝑋))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑇   𝑥,𝑋   𝑥,𝑌   𝜑,𝑥
Allowed substitution hints:   𝐴(𝑥)   𝐸(𝑥)

Proof of Theorem fourierdlem7
StepHypRef Expression
1 fourierdlem7.b . . . . . 6 (𝜑𝐵 ∈ ℝ)
2 fourierdlem7.y . . . . . 6 (𝜑𝑌 ∈ ℝ)
31, 2resubcld 10782 . . . . 5 (𝜑 → (𝐵𝑌) ∈ ℝ)
4 fourierdlem7.t . . . . . 6 𝑇 = (𝐵𝐴)
5 fourierdlem7.a . . . . . . 7 (𝜑𝐴 ∈ ℝ)
61, 5resubcld 10782 . . . . . 6 (𝜑 → (𝐵𝐴) ∈ ℝ)
74, 6syl5eqel 2910 . . . . 5 (𝜑𝑇 ∈ ℝ)
8 fourierdlem7.altb . . . . . . . 8 (𝜑𝐴 < 𝐵)
95, 1posdifd 10939 . . . . . . . 8 (𝜑 → (𝐴 < 𝐵 ↔ 0 < (𝐵𝐴)))
108, 9mpbid 224 . . . . . . 7 (𝜑 → 0 < (𝐵𝐴))
1110, 4syl6breqr 4915 . . . . . 6 (𝜑 → 0 < 𝑇)
1211gt0ne0d 10916 . . . . 5 (𝜑𝑇 ≠ 0)
133, 7, 12redivcld 11179 . . . 4 (𝜑 → ((𝐵𝑌) / 𝑇) ∈ ℝ)
14 fourierdlem7.x . . . . . 6 (𝜑𝑋 ∈ ℝ)
151, 14resubcld 10782 . . . . 5 (𝜑 → (𝐵𝑋) ∈ ℝ)
1615, 7, 12redivcld 11179 . . . 4 (𝜑 → ((𝐵𝑋) / 𝑇) ∈ ℝ)
177, 11elrpd 12153 . . . . 5 (𝜑𝑇 ∈ ℝ+)
18 fourierdlem7.xlty . . . . . 6 (𝜑𝑋𝑌)
1914, 2, 1, 18lesub2dd 10969 . . . . 5 (𝜑 → (𝐵𝑌) ≤ (𝐵𝑋))
203, 15, 17, 19lediv1dd 12214 . . . 4 (𝜑 → ((𝐵𝑌) / 𝑇) ≤ ((𝐵𝑋) / 𝑇))
21 flwordi 12908 . . . 4 ((((𝐵𝑌) / 𝑇) ∈ ℝ ∧ ((𝐵𝑋) / 𝑇) ∈ ℝ ∧ ((𝐵𝑌) / 𝑇) ≤ ((𝐵𝑋) / 𝑇)) → (⌊‘((𝐵𝑌) / 𝑇)) ≤ (⌊‘((𝐵𝑋) / 𝑇)))
2213, 16, 20, 21syl3anc 1494 . . 3 (𝜑 → (⌊‘((𝐵𝑌) / 𝑇)) ≤ (⌊‘((𝐵𝑋) / 𝑇)))
2313flcld 12894 . . . . 5 (𝜑 → (⌊‘((𝐵𝑌) / 𝑇)) ∈ ℤ)
2423zred 11810 . . . 4 (𝜑 → (⌊‘((𝐵𝑌) / 𝑇)) ∈ ℝ)
2516flcld 12894 . . . . 5 (𝜑 → (⌊‘((𝐵𝑋) / 𝑇)) ∈ ℤ)
2625zred 11810 . . . 4 (𝜑 → (⌊‘((𝐵𝑋) / 𝑇)) ∈ ℝ)
2724, 26, 17lemul1d 12199 . . 3 (𝜑 → ((⌊‘((𝐵𝑌) / 𝑇)) ≤ (⌊‘((𝐵𝑋) / 𝑇)) ↔ ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇) ≤ ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)))
2822, 27mpbid 224 . 2 (𝜑 → ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇) ≤ ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇))
29 fourierdlem7.e . . . . . 6 𝐸 = (𝑥 ∈ ℝ ↦ (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)))
3029a1i 11 . . . . 5 (𝜑𝐸 = (𝑥 ∈ ℝ ↦ (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇))))
31 id 22 . . . . . . 7 (𝑥 = 𝑌𝑥 = 𝑌)
32 oveq2 6913 . . . . . . . . . 10 (𝑥 = 𝑌 → (𝐵𝑥) = (𝐵𝑌))
3332oveq1d 6920 . . . . . . . . 9 (𝑥 = 𝑌 → ((𝐵𝑥) / 𝑇) = ((𝐵𝑌) / 𝑇))
3433fveq2d 6437 . . . . . . . 8 (𝑥 = 𝑌 → (⌊‘((𝐵𝑥) / 𝑇)) = (⌊‘((𝐵𝑌) / 𝑇)))
3534oveq1d 6920 . . . . . . 7 (𝑥 = 𝑌 → ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇) = ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇))
3631, 35oveq12d 6923 . . . . . 6 (𝑥 = 𝑌 → (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)) = (𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)))
3736adantl 475 . . . . 5 ((𝜑𝑥 = 𝑌) → (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)) = (𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)))
3824, 7remulcld 10387 . . . . . 6 (𝜑 → ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇) ∈ ℝ)
392, 38readdcld 10386 . . . . 5 (𝜑 → (𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)) ∈ ℝ)
4030, 37, 2, 39fvmptd 6535 . . . 4 (𝜑 → (𝐸𝑌) = (𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)))
4140oveq1d 6920 . . 3 (𝜑 → ((𝐸𝑌) − 𝑌) = ((𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)) − 𝑌))
422recnd 10385 . . . 4 (𝜑𝑌 ∈ ℂ)
4338recnd 10385 . . . 4 (𝜑 → ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇) ∈ ℂ)
4442, 43pncan2d 10715 . . 3 (𝜑 → ((𝑌 + ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇)) − 𝑌) = ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇))
4541, 44eqtrd 2861 . 2 (𝜑 → ((𝐸𝑌) − 𝑌) = ((⌊‘((𝐵𝑌) / 𝑇)) · 𝑇))
46 id 22 . . . . . . 7 (𝑥 = 𝑋𝑥 = 𝑋)
47 oveq2 6913 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝐵𝑥) = (𝐵𝑋))
4847oveq1d 6920 . . . . . . . . 9 (𝑥 = 𝑋 → ((𝐵𝑥) / 𝑇) = ((𝐵𝑋) / 𝑇))
4948fveq2d 6437 . . . . . . . 8 (𝑥 = 𝑋 → (⌊‘((𝐵𝑥) / 𝑇)) = (⌊‘((𝐵𝑋) / 𝑇)))
5049oveq1d 6920 . . . . . . 7 (𝑥 = 𝑋 → ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇) = ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇))
5146, 50oveq12d 6923 . . . . . 6 (𝑥 = 𝑋 → (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)) = (𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)))
5251adantl 475 . . . . 5 ((𝜑𝑥 = 𝑋) → (𝑥 + ((⌊‘((𝐵𝑥) / 𝑇)) · 𝑇)) = (𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)))
5326, 7remulcld 10387 . . . . . 6 (𝜑 → ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇) ∈ ℝ)
5414, 53readdcld 10386 . . . . 5 (𝜑 → (𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)) ∈ ℝ)
5530, 52, 14, 54fvmptd 6535 . . . 4 (𝜑 → (𝐸𝑋) = (𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)))
5655oveq1d 6920 . . 3 (𝜑 → ((𝐸𝑋) − 𝑋) = ((𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)) − 𝑋))
5714recnd 10385 . . . 4 (𝜑𝑋 ∈ ℂ)
5853recnd 10385 . . . 4 (𝜑 → ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇) ∈ ℂ)
5957, 58pncan2d 10715 . . 3 (𝜑 → ((𝑋 + ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇)) − 𝑋) = ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇))
6056, 59eqtrd 2861 . 2 (𝜑 → ((𝐸𝑋) − 𝑋) = ((⌊‘((𝐵𝑋) / 𝑇)) · 𝑇))
6128, 45, 603brtr4d 4905 1 (𝜑 → ((𝐸𝑌) − 𝑌) ≤ ((𝐸𝑋) − 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1656  wcel 2164   class class class wbr 4873  cmpt 4952  cfv 6123  (class class class)co 6905  cr 10251  0cc0 10252   + caddc 10255   · cmul 10257   < clt 10391  cle 10392  cmin 10585   / cdiv 11009  cfl 12886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1894  ax-4 1908  ax-5 2009  ax-6 2075  ax-7 2112  ax-8 2166  ax-9 2173  ax-10 2192  ax-11 2207  ax-12 2220  ax-13 2389  ax-ext 2803  ax-sep 5005  ax-nul 5013  ax-pow 5065  ax-pr 5127  ax-un 7209  ax-cnex 10308  ax-resscn 10309  ax-1cn 10310  ax-icn 10311  ax-addcl 10312  ax-addrcl 10313  ax-mulcl 10314  ax-mulrcl 10315  ax-mulcom 10316  ax-addass 10317  ax-mulass 10318  ax-distr 10319  ax-i2m1 10320  ax-1ne0 10321  ax-1rid 10322  ax-rnegex 10323  ax-rrecex 10324  ax-cnre 10325  ax-pre-lttri 10326  ax-pre-lttrn 10327  ax-pre-ltadd 10328  ax-pre-mulgt0 10329  ax-pre-sup 10330
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 879  df-3or 1112  df-3an 1113  df-tru 1660  df-ex 1879  df-nf 1883  df-sb 2068  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ne 3000  df-nel 3103  df-ral 3122  df-rex 3123  df-reu 3124  df-rmo 3125  df-rab 3126  df-v 3416  df-sbc 3663  df-csb 3758  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-pss 3814  df-nul 4145  df-if 4307  df-pw 4380  df-sn 4398  df-pr 4400  df-tp 4402  df-op 4404  df-uni 4659  df-iun 4742  df-br 4874  df-opab 4936  df-mpt 4953  df-tr 4976  df-id 5250  df-eprel 5255  df-po 5263  df-so 5264  df-fr 5301  df-we 5303  df-xp 5348  df-rel 5349  df-cnv 5350  df-co 5351  df-dm 5352  df-rn 5353  df-res 5354  df-ima 5355  df-pred 5920  df-ord 5966  df-on 5967  df-lim 5968  df-suc 5969  df-iota 6086  df-fun 6125  df-fn 6126  df-f 6127  df-f1 6128  df-fo 6129  df-f1o 6130  df-fv 6131  df-riota 6866  df-ov 6908  df-oprab 6909  df-mpt2 6910  df-om 7327  df-wrecs 7672  df-recs 7734  df-rdg 7772  df-er 8009  df-en 8223  df-dom 8224  df-sdom 8225  df-sup 8617  df-inf 8618  df-pnf 10393  df-mnf 10394  df-xr 10395  df-ltxr 10396  df-le 10397  df-sub 10587  df-neg 10588  df-div 11010  df-nn 11351  df-n0 11619  df-z 11705  df-uz 11969  df-rp 12113  df-fl 12888
This theorem is referenced by:  fourierdlem63  41173
  Copyright terms: Public domain W3C validator