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 44348
Description: Condition on the bounds of a nonempty 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 481 . . . 4 ((𝜑𝐶 < 𝐴) → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
52rexrd 11205 . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
65adantr 481 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐶 ∈ ℝ*)
7 fourierdlem10.4 . . . . . . . 8 (𝜑𝐷 ∈ ℝ)
87rexrd 11205 . . . . . . 7 (𝜑𝐷 ∈ ℝ*)
98adantr 481 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐷 ∈ ℝ*)
102, 1readdcld 11184 . . . . . . . . 9 (𝜑 → (𝐶 + 𝐴) ∈ ℝ)
1110rehalfcld 12400 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐴) / 2) ∈ ℝ)
122, 7readdcld 11184 . . . . . . . . 9 (𝜑 → (𝐶 + 𝐷) ∈ ℝ)
1312rehalfcld 12400 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐷) / 2) ∈ ℝ)
1411, 13ifcld 4532 . . . . . . 7 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1514adantr 481 . . . . . 6 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
16 simplr 767 . . . . . . . . 9 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < 𝐴)
172ad2antrr 724 . . . . . . . . . 10 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 ∈ ℝ)
181ad2antrr 724 . . . . . . . . . 10 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐴 ∈ ℝ)
19 avglt1 12391 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐶 < 𝐴𝐶 < ((𝐶 + 𝐴) / 2)))
2017, 18, 19syl2anc 584 . . . . . . . . 9 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → (𝐶 < 𝐴𝐶 < ((𝐶 + 𝐴) / 2)))
2116, 20mpbid 231 . . . . . . . 8 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < ((𝐶 + 𝐴) / 2))
22 iftrue 4492 . . . . . . . . 9 (𝐴𝐷 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
2322adantl 482 . . . . . . . 8 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
2421, 23breqtrrd 5133 . . . . . . 7 (((𝜑𝐶 < 𝐴) ∧ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
25 fourierdlem10.5 . . . . . . . . . . 11 (𝜑𝐶 < 𝐷)
2625adantr 481 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < 𝐷)
272adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 ∈ ℝ)
287adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐷 ∈ ℝ)
29 avglt1 12391 . . . . . . . . . . 11 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
3027, 28, 29syl2anc 584 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
3126, 30mpbid 231 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < ((𝐶 + 𝐷) / 2))
32 iffalse 4495 . . . . . . . . . . 11 𝐴𝐷 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
3332eqcomd 2742 . . . . . . . . . 10 𝐴𝐷 → ((𝐶 + 𝐷) / 2) = if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3433adantl 482 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) = if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3531, 34breqtrd 5131 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3635adantlr 713 . . . . . . 7 (((𝜑𝐶 < 𝐴) ∧ ¬ 𝐴𝐷) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3724, 36pm2.61dan 811 . . . . . 6 ((𝜑𝐶 < 𝐴) → 𝐶 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
3822adantl 482 . . . . . . . . . 10 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐴) / 2))
3910adantr 481 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐴) ∈ ℝ)
4012adantr 481 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐷) ∈ ℝ)
41 2rp 12920 . . . . . . . . . . . 12 2 ∈ ℝ+
4241a1i 11 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → 2 ∈ ℝ+)
431adantr 481 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐴 ∈ ℝ)
447adantr 481 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐷 ∈ ℝ)
452adantr 481 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐶 ∈ ℝ)
46 simpr 485 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → 𝐴𝐷)
4743, 44, 45, 46leadd2dd 11770 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → (𝐶 + 𝐴) ≤ (𝐶 + 𝐷))
4839, 40, 42, 47lediv1dd 13015 . . . . . . . . . 10 ((𝜑𝐴𝐷) → ((𝐶 + 𝐴) / 2) ≤ ((𝐶 + 𝐷) / 2))
4938, 48eqbrtrd 5127 . . . . . . . . 9 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
5032adantl 482 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
5113leidd 11721 . . . . . . . . . . 11 (𝜑 → ((𝐶 + 𝐷) / 2) ≤ ((𝐶 + 𝐷) / 2))
5251adantr 481 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) ≤ ((𝐶 + 𝐷) / 2))
5350, 52eqbrtrd 5127 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
5449, 53pm2.61dan 811 . . . . . . . 8 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐷) / 2))
55 avglt2 12392 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐶 < 𝐷 ↔ ((𝐶 + 𝐷) / 2) < 𝐷))
562, 7, 55syl2anc 584 . . . . . . . . 9 (𝜑 → (𝐶 < 𝐷 ↔ ((𝐶 + 𝐷) / 2) < 𝐷))
5725, 56mpbid 231 . . . . . . . 8 (𝜑 → ((𝐶 + 𝐷) / 2) < 𝐷)
5814, 13, 7, 54, 57lelttrd 11313 . . . . . . 7 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
5958adantr 481 . . . . . 6 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
606, 9, 15, 37, 59eliood 43726 . . . . 5 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷))
611adantr 481 . . . . . . . 8 ((𝜑𝐶 < 𝐴) → 𝐴 ∈ ℝ)
6211adantr 481 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → ((𝐶 + 𝐴) / 2) ∈ ℝ)
6314adantr 481 . . . . . . . . . . . 12 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
6463, 38eqled 11258 . . . . . . . . . . 11 ((𝜑𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
6514adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
6611adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐴) / 2) ∈ ℝ)
67 simpr 485 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 𝐴𝐷) → ¬ 𝐴𝐷)
681adantr 481 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐴 ∈ ℝ)
6928, 68ltnled 11302 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ¬ 𝐴𝐷) → (𝐷 < 𝐴 ↔ ¬ 𝐴𝐷))
7067, 69mpbird 256 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐴𝐷) → 𝐷 < 𝐴)
7112adantr 481 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐷) ∈ ℝ)
7210adantr 481 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐴) ∈ ℝ)
7341a1i 11 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → 2 ∈ ℝ+)
747adantr 481 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐷 ∈ ℝ)
751adantr 481 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐴 ∈ ℝ)
762adantr 481 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐶 ∈ ℝ)
77 simpr 485 . . . . . . . . . . . . . . . 16 ((𝜑𝐷 < 𝐴) → 𝐷 < 𝐴)
7874, 75, 76, 77ltadd2dd 11314 . . . . . . . . . . . . . . 15 ((𝜑𝐷 < 𝐴) → (𝐶 + 𝐷) < (𝐶 + 𝐴))
7971, 72, 73, 78ltdiv1dd 13014 . . . . . . . . . . . . . 14 ((𝜑𝐷 < 𝐴) → ((𝐶 + 𝐷) / 2) < ((𝐶 + 𝐴) / 2))
8070, 79syldan 591 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐴𝐷) → ((𝐶 + 𝐷) / 2) < ((𝐶 + 𝐴) / 2))
8150, 80eqbrtrd 5127 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < ((𝐶 + 𝐴) / 2))
8265, 66, 81ltled 11303 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐴𝐷) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
8364, 82pm2.61dan 811 . . . . . . . . . 10 (𝜑 → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
8483adantr 481 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ≤ ((𝐶 + 𝐴) / 2))
85 simpr 485 . . . . . . . . . 10 ((𝜑𝐶 < 𝐴) → 𝐶 < 𝐴)
862adantr 481 . . . . . . . . . . 11 ((𝜑𝐶 < 𝐴) → 𝐶 ∈ ℝ)
87 avglt2 12392 . . . . . . . . . . 11 ((𝐶 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐶 < 𝐴 ↔ ((𝐶 + 𝐴) / 2) < 𝐴))
8886, 61, 87syl2anc 584 . . . . . . . . . 10 ((𝜑𝐶 < 𝐴) → (𝐶 < 𝐴 ↔ ((𝐶 + 𝐴) / 2) < 𝐴))
8985, 88mpbid 231 . . . . . . . . 9 ((𝜑𝐶 < 𝐴) → ((𝐶 + 𝐴) / 2) < 𝐴)
9015, 62, 61, 84, 89lelttrd 11313 . . . . . . . 8 ((𝜑𝐶 < 𝐴) → if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐴)
9115, 61, 90ltnsymd 11304 . . . . . . 7 ((𝜑𝐶 < 𝐴) → ¬ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)))
9291intn3an2d 1480 . . . . . 6 ((𝜑𝐶 < 𝐴) → ¬ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵))
931rexrd 11205 . . . . . . . 8 (𝜑𝐴 ∈ ℝ*)
9493adantr 481 . . . . . . 7 ((𝜑𝐶 < 𝐴) → 𝐴 ∈ ℝ*)
95 fourierdlem10.2 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
9695rexrd 11205 . . . . . . . 8 (𝜑𝐵 ∈ ℝ*)
9796adantr 481 . . . . . . 7 ((𝜑𝐶 < 𝐴) → 𝐵 ∈ ℝ*)
98 elioo2 13305 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
9994, 97, 98syl2anc 584 . . . . . 6 ((𝜑𝐶 < 𝐴) → (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
10092, 99mtbird 324 . . . . 5 ((𝜑𝐶 < 𝐴) → ¬ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵))
101 nelss 4007 . . . . 5 ((if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷) ∧ ¬ if(𝐴𝐷, ((𝐶 + 𝐴) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵)) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
10260, 100, 101syl2anc 584 . . . 4 ((𝜑𝐶 < 𝐴) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
1034, 102pm2.65da 815 . . 3 (𝜑 → ¬ 𝐶 < 𝐴)
1041, 2, 103nltled 11305 . 2 (𝜑𝐴𝐶)
1053adantr 481 . . . 4 ((𝜑𝐵 < 𝐷) → (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
1065adantr 481 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐶 ∈ ℝ*)
1078adantr 481 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐷 ∈ ℝ*)
10895, 7readdcld 11184 . . . . . . . . 9 (𝜑 → (𝐵 + 𝐷) ∈ ℝ)
109108rehalfcld 12400 . . . . . . . 8 (𝜑 → ((𝐵 + 𝐷) / 2) ∈ ℝ)
110109, 13ifcld 4532 . . . . . . 7 (𝜑 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
111110adantr 481 . . . . . 6 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1122adantr 481 . . . . . . . . 9 ((𝜑𝐶𝐵) → 𝐶 ∈ ℝ)
11313adantr 481 . . . . . . . . 9 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ∈ ℝ)
114110adantr 481 . . . . . . . . 9 ((𝜑𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ)
1152, 7, 29syl2anc 584 . . . . . . . . . . 11 (𝜑 → (𝐶 < 𝐷𝐶 < ((𝐶 + 𝐷) / 2)))
11625, 115mpbid 231 . . . . . . . . . 10 (𝜑𝐶 < ((𝐶 + 𝐷) / 2))
117116adantr 481 . . . . . . . . 9 ((𝜑𝐶𝐵) → 𝐶 < ((𝐶 + 𝐷) / 2))
11812adantr 481 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐶 + 𝐷) ∈ ℝ)
119108adantr 481 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐵 + 𝐷) ∈ ℝ)
12041a1i 11 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → 2 ∈ ℝ+)
12195adantr 481 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐵 ∈ ℝ)
1227adantr 481 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐷 ∈ ℝ)
123 simpr 485 . . . . . . . . . . . 12 ((𝜑𝐶𝐵) → 𝐶𝐵)
124112, 121, 122, 123leadd1dd 11769 . . . . . . . . . . 11 ((𝜑𝐶𝐵) → (𝐶 + 𝐷) ≤ (𝐵 + 𝐷))
125118, 119, 120, 124lediv1dd 13015 . . . . . . . . . 10 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ≤ ((𝐵 + 𝐷) / 2))
126 iftrue 4492 . . . . . . . . . . 11 (𝐶𝐵 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
127126adantl 482 . . . . . . . . . 10 ((𝜑𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
128125, 127breqtrrd 5133 . . . . . . . . 9 ((𝜑𝐶𝐵) → ((𝐶 + 𝐷) / 2) ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
129112, 113, 114, 117, 128ltletrd 11315 . . . . . . . 8 ((𝜑𝐶𝐵) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
130116adantr 481 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 < ((𝐶 + 𝐷) / 2))
131 iffalse 4495 . . . . . . . . . . 11 𝐶𝐵 → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
132131eqcomd 2742 . . . . . . . . . 10 𝐶𝐵 → ((𝐶 + 𝐷) / 2) = if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
133132adantl 482 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) = if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
134130, 133breqtrd 5131 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
135129, 134pm2.61dan 811 . . . . . . 7 (𝜑𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
136135adantr 481 . . . . . 6 ((𝜑𝐵 < 𝐷) → 𝐶 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
137126adantl 482 . . . . . . . 8 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐵 + 𝐷) / 2))
138 simpr 485 . . . . . . . . . 10 ((𝜑𝐵 < 𝐷) → 𝐵 < 𝐷)
13995adantr 481 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐵 ∈ ℝ)
1407adantr 481 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐷 ∈ ℝ)
141 avglt2 12392 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐵 < 𝐷 ↔ ((𝐵 + 𝐷) / 2) < 𝐷))
142139, 140, 141syl2anc 584 . . . . . . . . . 10 ((𝜑𝐵 < 𝐷) → (𝐵 < 𝐷 ↔ ((𝐵 + 𝐷) / 2) < 𝐷))
143138, 142mpbid 231 . . . . . . . . 9 ((𝜑𝐵 < 𝐷) → ((𝐵 + 𝐷) / 2) < 𝐷)
144143adantr 481 . . . . . . . 8 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → ((𝐵 + 𝐷) / 2) < 𝐷)
145137, 144eqbrtrd 5127 . . . . . . 7 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
146131adantl 482 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) = ((𝐶 + 𝐷) / 2))
14757adantr 481 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) < 𝐷)
148146, 147eqbrtrd 5127 . . . . . . . 8 ((𝜑 ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
149148adantlr 713 . . . . . . 7 (((𝜑𝐵 < 𝐷) ∧ ¬ 𝐶𝐵) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
150145, 149pm2.61dan 811 . . . . . 6 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐷)
151106, 107, 111, 136, 150eliood 43726 . . . . 5 ((𝜑𝐵 < 𝐷) → if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷))
152109adantr 481 . . . . . . . . . . . 12 ((𝜑𝐵 < 𝐷) → ((𝐵 + 𝐷) / 2) ∈ ℝ)
153 avglt1 12391 . . . . . . . . . . . . . 14 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ) → (𝐵 < 𝐷𝐵 < ((𝐵 + 𝐷) / 2)))
154139, 140, 153syl2anc 584 . . . . . . . . . . . . 13 ((𝜑𝐵 < 𝐷) → (𝐵 < 𝐷𝐵 < ((𝐵 + 𝐷) / 2)))
155138, 154mpbid 231 . . . . . . . . . . . 12 ((𝜑𝐵 < 𝐷) → 𝐵 < ((𝐵 + 𝐷) / 2))
156139, 152, 155ltled 11303 . . . . . . . . . . 11 ((𝜑𝐵 < 𝐷) → 𝐵 ≤ ((𝐵 + 𝐷) / 2))
157156adantr 481 . . . . . . . . . 10 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → 𝐵 ≤ ((𝐵 + 𝐷) / 2))
158157, 137breqtrrd 5133 . . . . . . . . 9 (((𝜑𝐵 < 𝐷) ∧ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
15995adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ∈ ℝ)
16013adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → ((𝐶 + 𝐷) / 2) ∈ ℝ)
1612adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐶 ∈ ℝ)
162 simpr 485 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐶𝐵) → ¬ 𝐶𝐵)
163159, 161ltnled 11302 . . . . . . . . . . . . . 14 ((𝜑 ∧ ¬ 𝐶𝐵) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
164162, 163mpbird 256 . . . . . . . . . . . . 13 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 < 𝐶)
165159, 161, 160, 164, 130lttrd 11316 . . . . . . . . . . . 12 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 < ((𝐶 + 𝐷) / 2))
166159, 160, 165ltled 11303 . . . . . . . . . . 11 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ≤ ((𝐶 + 𝐷) / 2))
167166, 133breqtrd 5131 . . . . . . . . . 10 ((𝜑 ∧ ¬ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
168167adantlr 713 . . . . . . . . 9 (((𝜑𝐵 < 𝐷) ∧ ¬ 𝐶𝐵) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
169158, 168pm2.61dan 811 . . . . . . . 8 ((𝜑𝐵 < 𝐷) → 𝐵 ≤ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)))
170139, 111, 169lensymd 11306 . . . . . . 7 ((𝜑𝐵 < 𝐷) → ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)
171170intn3an3d 1481 . . . . . 6 ((𝜑𝐵 < 𝐷) → ¬ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵))
17293adantr 481 . . . . . . 7 ((𝜑𝐵 < 𝐷) → 𝐴 ∈ ℝ*)
17396adantr 481 . . . . . . 7 ((𝜑𝐵 < 𝐷) → 𝐵 ∈ ℝ*)
174 elioo2 13305 . . . . . . 7 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
175172, 173, 174syl2anc 584 . . . . . 6 ((𝜑𝐵 < 𝐷) → (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵) ↔ (if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ ℝ ∧ 𝐴 < if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∧ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) < 𝐵)))
176171, 175mtbird 324 . . . . 5 ((𝜑𝐵 < 𝐷) → ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵))
177 nelss 4007 . . . . 5 ((if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐶(,)𝐷) ∧ ¬ if(𝐶𝐵, ((𝐵 + 𝐷) / 2), ((𝐶 + 𝐷) / 2)) ∈ (𝐴(,)𝐵)) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
178151, 176, 177syl2anc 584 . . . 4 ((𝜑𝐵 < 𝐷) → ¬ (𝐶(,)𝐷) ⊆ (𝐴(,)𝐵))
179105, 178pm2.65da 815 . . 3 (𝜑 → ¬ 𝐵 < 𝐷)
1807, 95, 179nltled 11305 . 2 (𝜑𝐷𝐵)
181104, 180jca 512 1 (𝜑 → (𝐴𝐶𝐷𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  wss 3910  ifcif 4486   class class class wbr 5105  (class class class)co 7357  cr 11050   + caddc 11054  *cxr 11188   < clt 11189  cle 11190   / cdiv 11812  2c2 12208  +crp 12915  (,)cioo 13264
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672  ax-cnex 11107  ax-resscn 11108  ax-1cn 11109  ax-icn 11110  ax-addcl 11111  ax-addrcl 11112  ax-mulcl 11113  ax-mulrcl 11114  ax-mulcom 11115  ax-addass 11116  ax-mulass 11117  ax-distr 11118  ax-i2m1 11119  ax-1ne0 11120  ax-1rid 11121  ax-rnegex 11122  ax-rrecex 11123  ax-cnre 11124  ax-pre-lttri 11125  ax-pre-lttrn 11126  ax-pre-ltadd 11127  ax-pre-mulgt0 11128
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-rmo 3353  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-id 5531  df-po 5545  df-so 5546  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-riota 7313  df-ov 7360  df-oprab 7361  df-mpo 7362  df-1st 7921  df-2nd 7922  df-er 8648  df-en 8884  df-dom 8885  df-sdom 8886  df-pnf 11191  df-mnf 11192  df-xr 11193  df-ltxr 11194  df-le 11195  df-sub 11387  df-neg 11388  df-div 11813  df-2 12216  df-rp 12916  df-ioo 13268
This theorem is referenced by:  fourierdlem32  44370  fourierdlem33  44371  fourierdlem46  44383  fourierdlem50  44387  fourierdlem72  44409  fourierdlem76  44413  fourierdlem89  44426  fourierdlem91  44428  fourierdlem103  44440  fourierdlem104  44441
  Copyright terms: Public domain W3C validator