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

Theorem fourierdlem10 39010
Description: Condition on the bounds of a non empty subinterval. (Contributed by Glauco Siliprandi, 11-Dec-2019.)
Hypotheses
Ref Expression
fourierdlem10.1 (𝜑𝐴 ∈ ℝ)
fourierdlem10.2 (𝜑𝐵 ∈ ℝ)
fourierdlem10.3 (𝜑𝐶 ∈ ℝ)
fourierdlem10.4 (𝜑𝐷 ∈ ℝ)
fourierdlem10.5 (𝜑𝐶 < 𝐷)
fourierdlem10.6 (𝜑 → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
Assertion
Ref Expression
fourierdlem10 (𝜑 → (𝐴𝐶𝐷𝐵))

Proof of Theorem fourierdlem10
StepHypRef Expression
1 fourierdlem10.1 . . 3 (𝜑𝐴 ∈ ℝ)
2 fourierdlem10.3 . . 3 (𝜑𝐶 ∈ ℝ)
3 fourierdlem10.6 . . . . 5 (𝜑 → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
43adantr 480 . . . 4 ((𝜑𝐶 < 𝐴) → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
52rexrd 9968 . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
65adantr 480 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐶 ∈ ℝ*)
7 fourierdlem10.4 . . . . . . . 8 (𝜑𝐷 ∈ ℝ)
87rexrd 9968 . . . . . . 7 (𝜑𝐷 ∈ ℝ*)
98adantr 480 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐷 ∈ ℝ*)
102, 1readdcld 9948 . . . . . . . . 9 (𝜑 → (𝐶 + 𝐴) ∈ ℝ)
1110rehalfcld 11156 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐴) / 2) ∈ ℝ)
122, 7readdcld 9948 . . . . . . . . 9 (𝜑 → (𝐶 + 𝐷) ∈ ℝ)
1312rehalfcld 11156 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐷) / 2) ∈ ℝ)
1411, 13ifcld 4081 . . . . . . 7 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1514adantr 480 . . . . . 6 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
16 simplr 788 . . . . . . . . 9 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < 𝐴)
172ad2antrr 758 . . . . . . . . . 10 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 ∈ ℝ)
181ad2antrr 758 . . . . . . . . . 10 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐴 ∈ ℝ)
19 avglt1 11147 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐶 < 𝐴𝐶 < ((𝐶 + 𝐴) / 2)))
2017, 18, 19syl2anc 691 . . . . . . . . 9 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → (𝐶 < 𝐴𝐶 < ((𝐶 + 𝐴) / 2)))
2116, 20mpbid 221 . . . . . . . 8 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < ((𝐶 + 𝐴) / 2))
22 iftrue 4042 . . . . . . . . 9 (𝐴𝐷 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
2322adantl 481 . . . . . . . 8 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
2421, 23breqtrrd 4611 . . . . . . 7 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
25 fourierdlem10.5 . . . . . . . . . . 11 (𝜑𝐶 < 𝐷)
2625adantr 480 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < 𝐷)
272adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 ∈ ℝ)
287adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐷 ∈ ℝ)
29 avglt1 11147 . . . . . . . . . . 11 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
3027, 28, 29syl2anc 691 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
3126, 30mpbid 221 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < ((𝐶 + 𝐷) / 2))
32 iffalse 4045 . . . . . . . . . . 11 𝐴𝐷 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
3332eqcomd 2616 . . . . . . . . . 10 𝐴𝐷 → ((𝐶 + 𝐷) / 2) = if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3433adantl 481 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) = if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3531, 34breqtrd 4609 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3635adantlr 747 . . . . . . 7 (((𝜑𝐶 < 𝐴) ∧ ¬ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3724, 36pm2.61dan 828 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3822adantl 481 . . . . . . . . . 10 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
3910adantr 480 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐴) ∈ ℝ)
4012adantr 480 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐷) ∈ ℝ)
41 2rp 11713 . . . . . . . . . . . 12 2 ∈ ℝ+
4241a1i 11 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → 2 ∈ ℝ+)
431adantr 480 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐴 ∈ ℝ)
447adantr 480 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐷 ∈ ℝ)
452adantr 480 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐶 ∈ ℝ)
46 simpr 476 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐴𝐷)
4743, 44, 45, 46leadd2dd 10521 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐴) ≤ (𝐶 + 𝐷))
4839, 40, 42, 47lediv1dd 11806 . . . . . . . . . 10 ((𝜑𝐴𝐷) → ((𝐶 + 𝐴) / 2) ≤ ((𝐶 + 𝐷) / 2))
4938, 48eqbrtrd 4605 . . . . . . . . 9 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
5032adantl 481 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
5113leidd 10473 . . . . . . . . . . 11 (𝜑 → ((𝐶 + 𝐷) / 2) ≤ ((𝐶 + 𝐷) / 2))
5251adantr 480 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) ≤ ((𝐶 + 𝐷) / 2))
5350, 52eqbrtrd 4605 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
5449, 53pm2.61dan 828 . . . . . . . 8 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
55 avglt2 11148 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷 ↔ ((𝐶 + 𝐷) / 2) < 𝐷))
562, 7, 55syl2anc 691 . . . . . . . . 9 (𝜑 → (𝐶 < 𝐷 ↔ ((𝐶 + 𝐷) / 2) < 𝐷))
5725, 56mpbid 221 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐷) / 2) < 𝐷)
5814, 13, 7, 54, 57lelttrd 10074 . . . . . . 7 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
5958adantr 480 . . . . . 6 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
606, 9, 15, 37, 59eliood 38567 . . . . 5 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷))
611adantr 480 . . . . . . . 8 ((𝜑𝐶 < 𝐴) → 𝐴 ∈ ℝ)
6211adantr 480 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → ((𝐶 + 𝐴) / 2) ∈ ℝ)
6314adantr 480 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
6463, 38eqled 10019 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
6514adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
6611adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐴) / 2) ∈ ℝ)
67 simpr 476 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 𝐴𝐷) → ¬ 𝐴𝐷)
681adantr 480 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐴 ∈ ℝ)
6928, 68ltnled 10063 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 𝐴𝐷) → (𝐷 < 𝐴 ↔ ¬ 𝐴𝐷))
7067, 69mpbird 246 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐷 < 𝐴)
7112adantr 480 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐷) ∈ ℝ)
7210adantr 480 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐴) ∈ ℝ)
7341a1i 11 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → 2 ∈ ℝ+)
747adantr 480 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐷 ∈ ℝ)
751adantr 480 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐴 ∈ ℝ)
762adantr 480 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐶 ∈ ℝ)
77 simpr 476 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐷 < 𝐴)
7874, 75, 76, 77ltadd2dd 10075 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐷) < (𝐶 + 𝐴))
7971, 72, 73, 78ltdiv1dd 11805 . . . . . . . . . . . . . 14 ((𝜑𝐷 < 𝐴) → ((𝐶 + 𝐷) / 2) < ((𝐶 + 𝐴) / 2))
8070, 79syldan 486 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) < ((𝐶 + 𝐴) / 2))
8150, 80eqbrtrd 4605 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < ((𝐶 + 𝐴) / 2))
8265, 66, 81ltled 10064 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
8364, 82pm2.61dan 828 . . . . . . . . . 10 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
8483adantr 480 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
85 simpr 476 . . . . . . . . . 10 ((𝜑𝐶 < 𝐴) → 𝐶 < 𝐴)
862adantr 480 . . . . . . . . . . 11 ((𝜑𝐶 < 𝐴) → 𝐶 ∈ ℝ)
87 avglt2 11148 . . . . . . . . . . 11 ((𝐶 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐶 < 𝐴 ↔ ((𝐶 + 𝐴) / 2) < 𝐴))
8886, 61, 87syl2anc 691 . . . . . . . . . 10 ((𝜑𝐶 < 𝐴) → (𝐶 < 𝐴 ↔ ((𝐶 + 𝐴) / 2) < 𝐴))
8985, 88mpbid 221 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → ((𝐶 + 𝐴) / 2) < 𝐴)
9015, 62, 61, 84, 89lelttrd 10074 . . . . . . . 8 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐴)
9115, 61, 90ltnsymd 10065 . . . . . . 7 ((𝜑𝐶 < 𝐴) → ¬ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
9291intn3an2d 1435 . . . . . 6 ((𝜑𝐶 < 𝐴) → ¬ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵))
931rexrd 9968 . . . . . . . 8 (𝜑𝐴 ∈ ℝ*)
9493adantr 480 . . . . . . 7 ((𝜑𝐶 < 𝐴) → 𝐴 ∈ ℝ*)
95 fourierdlem10.2 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
9695rexrd 9968 . . . . . . . 8 (𝜑𝐵 ∈ ℝ*)
9796adantr 480 . . . . . . 7 ((𝜑𝐶 < 𝐴) → 𝐵 ∈ ℝ*)
98 elioo2 12087 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
9994, 97, 98syl2anc 691 . . . . . 6 ((𝜑𝐶 < 𝐴) → (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
10092, 99mtbird 314 . . . . 5 ((𝜑𝐶 < 𝐴) → ¬ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵))
101 nelss 3627 . . . . 5 ((if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷) ∧ ¬ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵)) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
10260, 100, 101syl2anc 691 . . . 4 ((𝜑𝐶 < 𝐴) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
1034, 102pm2.65da 598 . . 3 (𝜑 → ¬ 𝐶 < 𝐴)
1041, 2, 103nltled 10066 . 2 (𝜑𝐴𝐶)
1053adantr 480 . . . 4 ((𝜑𝐵 < 𝐷) → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
1065adantr 480 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐶 ∈ ℝ*)
1078adantr 480 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐷 ∈ ℝ*)
10895, 7readdcld 9948 . . . . . . . . 9 (𝜑 → (𝐵 + 𝐷) ∈ ℝ)
109108rehalfcld 11156 . . . . . . . 8 (𝜑 → ((𝐵 + 𝐷) / 2) ∈ ℝ)
110109, 13ifcld 4081 . . . . . . 7 (𝜑 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
111110adantr 480 . . . . . 6 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1122adantr 480 . . . . . . . . 9 ((𝜑𝐶𝐵) → 𝐶 ∈ ℝ)
11313adantr 480 . . . . . . . . 9 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ∈ ℝ)
114110adantr 480 . . . . . . . . 9 ((𝜑𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1152, 7, 29syl2anc 691 . . . . . . . . . . 11 (𝜑 → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
11625, 115mpbid 221 . . . . . . . . . 10 (𝜑𝐶 < ((𝐶 + 𝐷) / 2))
117116adantr 480 . . . . . . . . 9 ((𝜑𝐶𝐵) → 𝐶 < ((𝐶 + 𝐷) / 2))
11812adantr 480 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐶 + 𝐷) ∈ ℝ)
119108adantr 480 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐵 + 𝐷) ∈ ℝ)
12041a1i 11 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → 2 ∈ ℝ+)
12195adantr 480 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐵 ∈ ℝ)
1227adantr 480 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐷 ∈ ℝ)
123 simpr 476 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐶𝐵)
124112, 121, 122, 123leadd1dd 10520 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐶 + 𝐷) ≤ (𝐵 + 𝐷))
125118, 119, 120, 124lediv1dd 11806 . . . . . . . . . 10 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ≤ ((𝐵 + 𝐷) / 2))
126 iftrue 4042 . . . . . . . . . . 11 (𝐶𝐵 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
127126adantl 481 . . . . . . . . . 10 ((𝜑𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
128125, 127breqtrrd 4611 . . . . . . . . 9 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
129112, 113, 114, 117, 128ltletrd 10076 . . . . . . . 8 ((𝜑𝐶𝐵) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
130116adantr 480 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 < ((𝐶 + 𝐷) / 2))
131 iffalse 4045 . . . . . . . . . . 11 𝐶𝐵 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
132131eqcomd 2616 . . . . . . . . . 10 𝐶𝐵 → ((𝐶 + 𝐷) / 2) = if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
133132adantl 481 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) = if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
134130, 133breqtrd 4609 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
135129, 134pm2.61dan 828 . . . . . . 7 (𝜑𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
136135adantr 480 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
137126adantl 481 . . . . . . . 8 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
138 simpr 476 . . . . . . . . . 10 ((𝜑𝐵 < 𝐷) → 𝐵 < 𝐷)
13995adantr 480 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐵 ∈ ℝ)
1407adantr 480 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐷 ∈ ℝ)
141 avglt2 11148 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐵 < 𝐷 ↔ ((𝐵 + 𝐷) / 2) < 𝐷))
142139, 140, 141syl2anc 691 . . . . . . . . . 10 ((𝜑𝐵 < 𝐷) → (𝐵 < 𝐷 ↔ ((𝐵 + 𝐷) / 2) < 𝐷))
143138, 142mpbid 221 . . . . . . . . 9 ((𝜑𝐵 < 𝐷) → ((𝐵 + 𝐷) / 2) < 𝐷)
144143adantr 480 . . . . . . . 8 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → ((𝐵 + 𝐷) / 2) < 𝐷)
145137, 144eqbrtrd 4605 . . . . . . 7 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
146131adantl 481 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
14757adantr 480 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) < 𝐷)
148146, 147eqbrtrd 4605 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
149148adantlr 747 . . . . . . 7 (((𝜑𝐵 < 𝐷) ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
150145, 149pm2.61dan 828 . . . . . 6 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
151106, 107, 111, 136, 150eliood 38567 . . . . 5 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷))
152109adantr 480 . . . . . . . . . . . 12 ((𝜑𝐵 < 𝐷) → ((𝐵 + 𝐷) / 2) ∈ ℝ)
153 avglt1 11147 . . . . . . . . . . . . . 14 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐵 < 𝐷𝐵 < ((𝐵 + 𝐷) / 2)))
154139, 140, 153syl2anc 691 . . . . . . . . . . . . 13 ((𝜑𝐵 < 𝐷) → (𝐵 < 𝐷𝐵 < ((𝐵 + 𝐷) / 2)))
155138, 154mpbid 221 . . . . . . . . . . . 12 ((𝜑𝐵 < 𝐷) → 𝐵 < ((𝐵 + 𝐷) / 2))
156139, 152, 155ltled 10064 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐵 ≤ ((𝐵 + 𝐷) / 2))
157156adantr 480 . . . . . . . . . 10 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → 𝐵 ≤ ((𝐵 + 𝐷) / 2))
158157, 137breqtrrd 4611 . . . . . . . . 9 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
15995adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ∈ ℝ)
16013adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) ∈ ℝ)
1612adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 ∈ ℝ)
162 simpr 476 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐶𝐵) → ¬ 𝐶𝐵)
163159, 161ltnled 10063 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐶𝐵) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
164162, 163mpbird 246 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 < 𝐶)
165159, 161, 160, 164, 130lttrd 10077 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 < ((𝐶 + 𝐷) / 2))
166159, 160, 165ltled 10064 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ≤ ((𝐶 + 𝐷) / 2))
167166, 133breqtrd 4609 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
168167adantlr 747 . . . . . . . . 9 (((𝜑𝐵 < 𝐷) ∧ ¬ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
169158, 168pm2.61dan 828 . . . . . . . 8 ((𝜑𝐵 < 𝐷) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
170139, 111, 169lensymd 10067 . . . . . . 7 ((𝜑𝐵 < 𝐷) → ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)
171170intn3an3d 1436 . . . . . 6 ((𝜑𝐵 < 𝐷) → ¬ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵))
17293adantr 480 . . . . . . 7 ((𝜑𝐵 < 𝐷) → 𝐴 ∈ ℝ*)
17396adantr 480 . . . . . . 7 ((𝜑𝐵 < 𝐷) → 𝐵 ∈ ℝ*)
174 elioo2 12087 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
175172, 173, 174syl2anc 691 . . . . . 6 ((𝜑𝐵 < 𝐷) → (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
176171, 175mtbird 314 . . . . 5 ((𝜑𝐵 < 𝐷) → ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵))
177 nelss 3627 . . . . 5 ((if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷) ∧ ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵)) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
178151, 176, 177syl2anc 691 . . . 4 ((𝜑𝐵 < 𝐷) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
179105, 178pm2.65da 598 . . 3 (𝜑 → ¬ 𝐵 < 𝐷)
1807, 95, 179nltled 10066 . 2 (𝜑𝐷𝐵)
181104, 180jca 553 1 (𝜑 → (𝐴𝐶𝐷𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wss 3540  ifcif 4036   class class class wbr 4583  (class class class)co 6549  cr 9814   + caddc 9818  *cxr 9952   < clt 9953  cle 9954   / cdiv 10563  2c2 10947  +crp 11708  (,)cioo 12046
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-po 4959  df-so 4960  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-1st 7059  df-2nd 7060  df-er 7629  df-en 7842  df-dom 7843  df-sdom 7844  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-div 10564  df-2 10956  df-rp 11709  df-ioo 12050
This theorem is referenced by:  fourierdlem32  39032  fourierdlem33  39033  fourierdlem46  39045  fourierdlem50  39049  fourierdlem72  39071  fourierdlem76  39075  fourierdlem89  39088  fourierdlem91  39090  fourierdlem103  39102  fourierdlem104  39103
  Copyright terms: Public domain W3C validator