MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

ReplaceAll in Element[] Q

  • To: mathgroup at
  • Subject: [mg25599] ReplaceAll in Element[] Q
  • From: "Arturas Acus" <acus at>
  • Date: Wed, 11 Oct 2000 03:50:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Dear Group,

Could anybody help me in understanding this 
obviously strange behaviour


Out[22]="4.0 for Linux (April 21, 1999)"

In[23]:=ReplaceAll[Element[Alternatives[a, b], Reals], Alternatives -> List]

Out[23]=(a | b) \[Element] Reals

Why not replaced ??? Compare:

In[24]:=ReplaceAll[El[Alternatives[a, b], Reals], Alternatives -> List]

Out[24]=El[{a, b}, Reals]
 As expected
Dr. Arturas Acus
Institute of Theoretical
Physics and Astronomy
Gostauto 12, 2600,Vilnius

E-mail: acus at
   Fax: 370-2-225361
   Tel: 370-2-612906

  • Prev by Date: Unusual speedup of Table
  • Next by Date: RE: tracing lines on surface-graphics
  • Previous by thread: Re: Unusual speedup of Table
  • Next by thread: Re: ReplaceAll in Element[] Q