MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ixxin Structured version   Visualization version   GIF version

Theorem ixxin 13096
Description: Intersection of two intervals of extended reals. (Contributed by Mario Carneiro, 3-Nov-2013.)
Hypotheses
Ref Expression
ixx.1 𝑂 = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ {𝑧 ∈ ℝ* ∣ (𝑥𝑅𝑧𝑧𝑆𝑦)})
ixxin.2 ((𝐴 ∈ ℝ*𝐶 ∈ ℝ*𝑧 ∈ ℝ*) → (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧 ↔ (𝐴𝑅𝑧𝐶𝑅𝑧)))
ixxin.3 ((𝑧 ∈ ℝ*𝐵 ∈ ℝ*𝐷 ∈ ℝ*) → (𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷) ↔ (𝑧𝑆𝐵𝑧𝑆𝐷)))
Assertion
Ref Expression
ixxin (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → ((𝐴𝑂𝐵) ∩ (𝐶𝑂𝐷)) = (if(𝐴𝐶, 𝐶, 𝐴)𝑂if(𝐵𝐷, 𝐵, 𝐷)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐶,𝑦,𝑧   𝑥,𝐷,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧   𝑥,𝑆,𝑦,𝑧
Allowed substitution hints:   𝑂(𝑥,𝑦,𝑧)

Proof of Theorem ixxin
StepHypRef Expression
1 inrab 4240 . . 3 ({𝑧 ∈ ℝ* ∣ (𝐴𝑅𝑧𝑧𝑆𝐵)} ∩ {𝑧 ∈ ℝ* ∣ (𝐶𝑅𝑧𝑧𝑆𝐷)}) = {𝑧 ∈ ℝ* ∣ ((𝐴𝑅𝑧𝑧𝑆𝐵) ∧ (𝐶𝑅𝑧𝑧𝑆𝐷))}
2 ixx.1 . . . . 5 𝑂 = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ {𝑧 ∈ ℝ* ∣ (𝑥𝑅𝑧𝑧𝑆𝑦)})
32ixxval 13087 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴𝑂𝐵) = {𝑧 ∈ ℝ* ∣ (𝐴𝑅𝑧𝑧𝑆𝐵)})
42ixxval 13087 . . . 4 ((𝐶 ∈ ℝ*𝐷 ∈ ℝ*) → (𝐶𝑂𝐷) = {𝑧 ∈ ℝ* ∣ (𝐶𝑅𝑧𝑧𝑆𝐷)})
53, 4ineqan12d 4148 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → ((𝐴𝑂𝐵) ∩ (𝐶𝑂𝐷)) = ({𝑧 ∈ ℝ* ∣ (𝐴𝑅𝑧𝑧𝑆𝐵)} ∩ {𝑧 ∈ ℝ* ∣ (𝐶𝑅𝑧𝑧𝑆𝐷)}))
6 ixxin.2 . . . . . . . 8 ((𝐴 ∈ ℝ*𝐶 ∈ ℝ*𝑧 ∈ ℝ*) → (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧 ↔ (𝐴𝑅𝑧𝐶𝑅𝑧)))
76ad4ant124 1172 . . . . . . 7 ((((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) ∧ 𝑧 ∈ ℝ*) → (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧 ↔ (𝐴𝑅𝑧𝐶𝑅𝑧)))
8 ixxin.3 . . . . . . . . . 10 ((𝑧 ∈ ℝ*𝐵 ∈ ℝ*𝐷 ∈ ℝ*) → (𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷) ↔ (𝑧𝑆𝐵𝑧𝑆𝐷)))
983expb 1119 . . . . . . . . 9 ((𝑧 ∈ ℝ* ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) → (𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷) ↔ (𝑧𝑆𝐵𝑧𝑆𝐷)))
109ancoms 459 . . . . . . . 8 (((𝐵 ∈ ℝ*𝐷 ∈ ℝ*) ∧ 𝑧 ∈ ℝ*) → (𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷) ↔ (𝑧𝑆𝐵𝑧𝑆𝐷)))
1110adantll 711 . . . . . . 7 ((((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) ∧ 𝑧 ∈ ℝ*) → (𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷) ↔ (𝑧𝑆𝐵𝑧𝑆𝐷)))
127, 11anbi12d 631 . . . . . 6 ((((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) ∧ 𝑧 ∈ ℝ*) → ((if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷)) ↔ ((𝐴𝑅𝑧𝐶𝑅𝑧) ∧ (𝑧𝑆𝐵𝑧𝑆𝐷))))
13 an4 653 . . . . . 6 (((𝐴𝑅𝑧𝑧𝑆𝐵) ∧ (𝐶𝑅𝑧𝑧𝑆𝐷)) ↔ ((𝐴𝑅𝑧𝐶𝑅𝑧) ∧ (𝑧𝑆𝐵𝑧𝑆𝐷)))
1412, 13bitr4di 289 . . . . 5 ((((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) ∧ 𝑧 ∈ ℝ*) → ((if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷)) ↔ ((𝐴𝑅𝑧𝑧𝑆𝐵) ∧ (𝐶𝑅𝑧𝑧𝑆𝐷))))
1514rabbidva 3413 . . . 4 (((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) → {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))} = {𝑧 ∈ ℝ* ∣ ((𝐴𝑅𝑧𝑧𝑆𝐵) ∧ (𝐶𝑅𝑧𝑧𝑆𝐷))})
1615an4s 657 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))} = {𝑧 ∈ ℝ* ∣ ((𝐴𝑅𝑧𝑧𝑆𝐵) ∧ (𝐶𝑅𝑧𝑧𝑆𝐷))})
171, 5, 163eqtr4a 2804 . 2 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → ((𝐴𝑂𝐵) ∩ (𝐶𝑂𝐷)) = {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))})
18 ifcl 4504 . . . . 5 ((𝐶 ∈ ℝ*𝐴 ∈ ℝ*) → if(𝐴𝐶, 𝐶, 𝐴) ∈ ℝ*)
1918ancoms 459 . . . 4 ((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) → if(𝐴𝐶, 𝐶, 𝐴) ∈ ℝ*)
20 ifcl 4504 . . . 4 ((𝐵 ∈ ℝ*𝐷 ∈ ℝ*) → if(𝐵𝐷, 𝐵, 𝐷) ∈ ℝ*)
212ixxval 13087 . . . 4 ((if(𝐴𝐶, 𝐶, 𝐴) ∈ ℝ* ∧ if(𝐵𝐷, 𝐵, 𝐷) ∈ ℝ*) → (if(𝐴𝐶, 𝐶, 𝐴)𝑂if(𝐵𝐷, 𝐵, 𝐷)) = {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))})
2219, 20, 21syl2an 596 . . 3 (((𝐴 ∈ ℝ*𝐶 ∈ ℝ*) ∧ (𝐵 ∈ ℝ*𝐷 ∈ ℝ*)) → (if(𝐴𝐶, 𝐶, 𝐴)𝑂if(𝐵𝐷, 𝐵, 𝐷)) = {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))})
2322an4s 657 . 2 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → (if(𝐴𝐶, 𝐶, 𝐴)𝑂if(𝐵𝐷, 𝐵, 𝐷)) = {𝑧 ∈ ℝ* ∣ (if(𝐴𝐶, 𝐶, 𝐴)𝑅𝑧𝑧𝑆if(𝐵𝐷, 𝐵, 𝐷))})
2417, 23eqtr4d 2781 1 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐶 ∈ ℝ*𝐷 ∈ ℝ*)) → ((𝐴𝑂𝐵) ∩ (𝐶𝑂𝐷)) = (if(𝐴𝐶, 𝐶, 𝐴)𝑂if(𝐵𝐷, 𝐵, 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  {crab 3068  cin 3886  ifcif 4459   class class class wbr 5074  (class class class)co 7275  cmpo 7277  *cxr 11008  cle 11010
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-xr 11013
This theorem is referenced by:  iooin  13113  itgspliticc  25001  cvmliftlem10  33256  iccin  46190
  Copyright terms: Public domain W3C validator