Re: Finding n mod p^(D-1) given A=g^n mod p^D

Bill Allombert <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <20210428112546.GA17999@yellowpig>
On Wed, Apr 28, 2021 at 01:54:01PM +0300, Georgi Guninski wrote:
> On Tue, Apr 27, 2021 at 12:56 PM Bill Allombert
> <[email protected]> wrote:
> 
> > > Conjecture 1: dlog(p,g,A,D) mod p^(D-1) = n mod p^(D-1)
> >
> > Your function is not defined for all (p,g,A,D).
> > Otherwise this follows from the definition of the Iwasawa logarithm.
> 
> Thanks for the answer.
> 
> We believe there are few counterexamples to the congruence
> if g is p-th power and dlog is successfully computed by pari:
> 
> ? p=113;D=3;X0=(p+2);g=Mod(2,p^D)^p;A=g^X0;X1=dlog1(p,g,A,D);

dlog(p,g,A,D) mod p^(D-1) is not defined in this case since
PARI only returns dlog(p,g,A,D) mod p^(D-2).

What happens is that the valuation of log(A) being positive,
one digit of relative precision is lost.

Cheers,
Bill.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.