MathGroup Archive 2010

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

Search the Archive

Re: More /.{I->-1} craziness, con brio

And, by the way, any claims to the effect that something like what you 
"explained" must be going on in the C source code in which Mathematica 
is written do not count for that would be at best pure speculation which 
something anyone else can do as well as you .

Andrzej Kozlowski

On 18 Jan 2010, at 18:22, Andrzej Kozlowski wrote:

> On 18 Jan 2010, at 17:18, Richard Fateman wrote:
>> Andrzej Kozlowski wrote:
>>> I is never evaluated and is seen as an object with Head Symbol.
>> Yes, so that explains why the "error" is not caught and the message 
given for that case, too.  In fact the "symbol" is converted to 
something like  I$1234, which was explained in my note. Explaining why a 
system behaves in a certain way is not equivalent to proving that it is 
correct.  At least in my book.
> Of course you did not explain anything at all, or rather what you 
explained is wrong. Or perhaps you can explain why there is no renaming 
in the first case but there is in the second:
> Trace[With[{I = -I}, 3 + 4 I]]
> {With[{I=-I},3+4 I],{{I,I},-I,-I},3+4 (-1) I,{4 (-1) I,-4 I},3-4 I,3-4 I}
> Trace[Module[{I = -I}, 3 + 4 I]]
> {Module[{I=-I},3+4 I],{{I,I},-I,-I},{I$4671=-I,-I},{{{I$4671,-I},4 (-1) I,-4 I},3-4 I,3-4 I},3-4 I}
> Guessing wrongly, particularly when one it is easy to check that the guess is wrong, is not the same as explaining.

  • Prev by Date: Re: More /.{I->-1} craziness, con brio
  • Next by Date: Re: Convert string list to number list
  • Previous by thread: Re: More /.{I->-1} craziness, con brio
  • Next by thread: Re: More /.{I->-1} craziness, con brio