Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iocinif Structured version   Visualization version   GIF version

Theorem iocinif 29428
Description: Relate intersection of two open-below, closed-above intervals with the same upper bound with a conditional construct. (Contributed by Thierry Arnoux, 7-Aug-2017.)
Assertion
Ref Expression
iocinif ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = if(𝐴 < 𝐵, (𝐵(,]𝐶), (𝐴(,]𝐶)))

Proof of Theorem iocinif
StepHypRef Expression
1 exmid 431 . . 3 (𝐴 < 𝐵 ∨ ¬ 𝐴 < 𝐵)
2 xrltle 11942 . . . . . . . . 9 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 < 𝐵𝐴𝐵))
32imp 445 . . . . . . . 8 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ 𝐴 < 𝐵) → 𝐴𝐵)
433adantl3 1217 . . . . . . 7 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐴 < 𝐵) → 𝐴𝐵)
5 iocinioc2 29426 . . . . . . 7 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐴𝐵) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶))
64, 5syldan 487 . . . . . 6 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐴 < 𝐵) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶))
76ex 450 . . . . 5 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → (𝐴 < 𝐵 → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶)))
87ancld 575 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → (𝐴 < 𝐵 → (𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶))))
9 simpl2 1063 . . . . . . . 8 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → 𝐵 ∈ ℝ*)
10 simpl1 1062 . . . . . . . 8 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → 𝐴 ∈ ℝ*)
11 simpr 477 . . . . . . . 8 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → ¬ 𝐴 < 𝐵)
12 xrlenlt 10063 . . . . . . . . 9 ((𝐵 ∈ ℝ*𝐴 ∈ ℝ*) → (𝐵𝐴 ↔ ¬ 𝐴 < 𝐵))
1312biimpar 502 . . . . . . . 8 (((𝐵 ∈ ℝ*𝐴 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → 𝐵𝐴)
149, 10, 11, 13syl21anc 1322 . . . . . . 7 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → 𝐵𝐴)
15 3ancoma 1043 . . . . . . . 8 ((𝐵 ∈ ℝ*𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ↔ (𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*))
16 incom 3789 . . . . . . . . 9 ((𝐵(,]𝐶) ∩ (𝐴(,]𝐶)) = ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶))
17 iocinioc2 29426 . . . . . . . . 9 (((𝐵 ∈ ℝ*𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐵𝐴) → ((𝐵(,]𝐶) ∩ (𝐴(,]𝐶)) = (𝐴(,]𝐶))
1816, 17syl5eqr 2669 . . . . . . . 8 (((𝐵 ∈ ℝ*𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐵𝐴) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))
1915, 18sylanbr 490 . . . . . . 7 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ 𝐵𝐴) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))
2014, 19syldan 487 . . . . . 6 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) ∧ ¬ 𝐴 < 𝐵) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))
2120ex 450 . . . . 5 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → (¬ 𝐴 < 𝐵 → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶)))
2221ancld 575 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → (¬ 𝐴 < 𝐵 → (¬ 𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))))
238, 22orim12d 882 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → ((𝐴 < 𝐵 ∨ ¬ 𝐴 < 𝐵) → ((𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶)) ∨ (¬ 𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶)))))
241, 23mpi 20 . 2 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → ((𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶)) ∨ (¬ 𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))))
25 eqif 4104 . 2 (((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = if(𝐴 < 𝐵, (𝐵(,]𝐶), (𝐴(,]𝐶)) ↔ ((𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐵(,]𝐶)) ∨ (¬ 𝐴 < 𝐵 ∧ ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = (𝐴(,]𝐶))))
2624, 25sylibr 224 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐶 ∈ ℝ*) → ((𝐴(,]𝐶) ∩ (𝐵(,]𝐶)) = if(𝐴 < 𝐵, (𝐵(,]𝐶), (𝐴(,]𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 383  wa 384  w3a 1036   = wceq 1480  wcel 1987  cin 3559  ifcif 4064   class class class wbr 4623  (class class class)co 6615  *cxr 10033   < clt 10034  cle 10035  (,]cioc 12134
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-cnex 9952  ax-resscn 9953  ax-pre-lttri 9970  ax-pre-lttrn 9971
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2913  df-rex 2914  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-op 4162  df-uni 4410  df-br 4624  df-opab 4684  df-mpt 4685  df-id 4999  df-po 5005  df-so 5006  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-er 7702  df-en 7916  df-dom 7917  df-sdom 7918  df-pnf 10036  df-mnf 10037  df-xr 10038  df-ltxr 10039  df-le 10040  df-ioc 12138
This theorem is referenced by:  pnfneige0  29821
  Copyright terms: Public domain W3C validator