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

Theorem eliccnelico 43737
Description: An element of a closed interval that is not a member of the left-closed right-open interval, must be the upper bound. (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Hypotheses
Ref Expression
eliccnelico.1 (𝜑𝐴 ∈ ℝ*)
eliccnelico.b (𝜑𝐵 ∈ ℝ*)
eliccnelico.c (𝜑𝐶 ∈ (𝐴[,]𝐵))
eliccnelico.nel (𝜑 → ¬ 𝐶 ∈ (𝐴[,)𝐵))
Assertion
Ref Expression
eliccnelico (𝜑𝐶 = 𝐵)

Proof of Theorem eliccnelico
StepHypRef Expression
1 eliccnelico.c . . 3 (𝜑𝐶 ∈ (𝐴[,]𝐵))
2 eliccxr 13349 . . 3 (𝐶 ∈ (𝐴[,]𝐵) → 𝐶 ∈ ℝ*)
31, 2syl 17 . 2 (𝜑𝐶 ∈ ℝ*)
4 eliccnelico.b . 2 (𝜑𝐵 ∈ ℝ*)
5 eliccnelico.1 . . 3 (𝜑𝐴 ∈ ℝ*)
6 iccleub 13316 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ (𝐴[,]𝐵)) → 𝐶𝐵)
75, 4, 1, 6syl3anc 1371 . 2 (𝜑𝐶𝐵)
85adantr 481 . . . 4 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐴 ∈ ℝ*)
94adantr 481 . . . 4 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐵 ∈ ℝ*)
103adantr 481 . . . 4 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐶 ∈ ℝ*)
11 iccgelb 13317 . . . . . 6 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ (𝐴[,]𝐵)) → 𝐴𝐶)
125, 4, 1, 11syl3anc 1371 . . . . 5 (𝜑𝐴𝐶)
1312adantr 481 . . . 4 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐴𝐶)
14 simpr 485 . . . . 5 ((𝜑 ∧ ¬ 𝐵𝐶) → ¬ 𝐵𝐶)
15 xrltnle 11219 . . . . . . 7 ((𝐶 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
163, 4, 15syl2anc 584 . . . . . 6 (𝜑 → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1716adantr 481 . . . . 5 ((𝜑 ∧ ¬ 𝐵𝐶) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1814, 17mpbird 256 . . . 4 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐶 < 𝐵)
198, 9, 10, 13, 18elicod 13311 . . 3 ((𝜑 ∧ ¬ 𝐵𝐶) → 𝐶 ∈ (𝐴[,)𝐵))
20 eliccnelico.nel . . . 4 (𝜑 → ¬ 𝐶 ∈ (𝐴[,)𝐵))
2120adantr 481 . . 3 ((𝜑 ∧ ¬ 𝐵𝐶) → ¬ 𝐶 ∈ (𝐴[,)𝐵))
2219, 21condan 816 . 2 (𝜑𝐵𝐶)
233, 4, 7, 22xrletrid 13071 1 (𝜑𝐶 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106   class class class wbr 5104  (class class class)co 7354  *cxr 11185   < clt 11186  cle 11187  [,)cico 13263  [,]cicc 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 5255  ax-nul 5262  ax-pow 5319  ax-pr 5383  ax-un 7669  ax-cnex 11104  ax-resscn 11105  ax-pre-lttri 11122  ax-pre-lttrn 11123
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 2888  df-ne 2943  df-nel 3049  df-ral 3064  df-rex 3073  df-rab 3407  df-v 3446  df-sbc 3739  df-csb 3855  df-dif 3912  df-un 3914  df-in 3916  df-ss 3926  df-nul 4282  df-if 4486  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4865  df-iun 4955  df-br 5105  df-opab 5167  df-mpt 5188  df-id 5530  df-po 5544  df-so 5545  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6446  df-fun 6496  df-fn 6497  df-f 6498  df-f1 6499  df-fo 6500  df-f1o 6501  df-fv 6502  df-ov 7357  df-oprab 7358  df-mpo 7359  df-1st 7918  df-2nd 7919  df-er 8645  df-en 8881  df-dom 8882  df-sdom 8883  df-pnf 11188  df-mnf 11189  df-xr 11190  df-ltxr 11191  df-le 11192  df-ico 13267  df-icc 13268
This theorem is referenced by:  sge0f1o  44593
  Copyright terms: Public domain W3C validator