Question: why random internal error Error, (in evala/Factors) the modular inverse does not exist?

in Maple 2025 on Linux, I see random Error, (in evala/Factors) the modular inverse does not exist from call to allvalues().

Sometimes it happens and sometimes not. Any explanation of this?

Not able to reproduce it on Maple 2024.2

 

It seems Maple uses random number generatror to decide when to generate an internal error as I am not able to see a pattern.

interface(version);

`Standard Worksheet Interface, Maple 2025.0, Linux, March 24 2025 Build ID 1909157`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1868. The version installed in this computer is 1866 created 2025, May 6, 10:52 hours Pacific Time, found in the directory /home/me/maple/toolbox/2025/Physics Updates/lib/`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 17 and is the same as the version installed in this computer, created May 5, 2025, 12:37 hours Eastern Time.`

restart;

kernelopts('assertlevel'=2):

sol:=[1/3*exp(RootOf(-5*I*Pi-ln(256/(x+1)^6/(exp(_Z)^81+9)*(exp(_Z)^81+3)^3)+162*_Z))^81+2];
allvalues(sol);

[(1/3)*(exp(RootOf(-(5*I)*Pi-ln(256*((exp(_Z))^81+3)^3/((x+1)^6*((exp(_Z))^81+9)))+162*_Z)))^81+2]

Error, (in evala/Factors) the modular inverse does not exist

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

Error, (in evala/Factors) the modular inverse does not exist

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

Error, (in evala/Factors) the modular inverse does not exist

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

 


 

Download why_fail_sometimes_may_11_2025_V2.mw

Update was able to produce this also in Maple 2024.2 on windows

interface(version);

`Standard Worksheet Interface, Maple 2024.2, Windows 10, October 29 2024 Build ID 1872373`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1868. The version installed in this computer is 1849 created 2025, March 12, 12:37 hours Pacific Time, found in the directory C:\Users\Owner\maple\toolbox\2024\Physics Updates\lib\`

restart;

kernelopts('assertlevel'=2):
sol:=[1/3*exp(RootOf(-5*I*Pi-ln(256/(x+1)^6/(exp(_Z)^81+9)*(exp(_Z)^81+3)^3)+162*_Z))^81+2];
allvalues(sol);

[(1/3)*(exp(RootOf(-(5*I)*Pi-ln(256*((exp(_Z))^81+3)^3/((x+1)^6*((exp(_Z))^81+9)))+162*_Z)))^81+2]

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

Error, (in evala/Factors) the modular inverse does not exist

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

Error, (in evala/Factors) the modular inverse does not exist

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

`[Length of output exceeds limit of 100000]`

allvalues(sol);

Error, (in evala/Factors) the modular inverse does not exist

 


 

Download modular_inverse_maple_2024_2.mw

 

Please Wait...