Bill Allombert on Mon, 09 Sep 2024 15:35:42 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Computing p-adic logarithm with precision two
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Computing p-adic logarithm with precision two
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 9 Sep 2024 15:35:37 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1725888938; c=relaxed/relaxed; bh=hFBbm7s46IFLyHKUFc4TSew8jWz1Gj/MQJ8obIeKkDo=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=vr0xyKcWbi/G8QyZuf90rX4Dasz3XKqx4y3Nn9+V+02l17TD3OR+UaC6rB61RX4NMNP59dgebFJhoJ0wvWTTSWjR3xLLqhQch3H6UepFg5Xbs+hTbbf963lvqW1oh8l5gCTth+6oLZOauQZjxR60qT9wavtUAQWpqpgGfJH4X8Ydm0rgMzYXSQK40ZsfIBx1j3clzuQkP+mIEJkr/7w+OSvchbVR9rnUYjL40v6cdBpmRk0nMYnVpFQbW6F/7G3Fi6C9QhjcEz/i+Csomx3TJEyMC0JN4wWKA5kxUnlhmExLjoquUsLCWLsiZUv5VvW5kHaJWJDeQS92BjgaFxeyVPu+aR5VG5LvA/Fq6+vSrt5ttD4Ow1JY15RFMwcODHvuozqWkjSjI0SbMPAsiEFLpZyytxdsFNxwuTlpoqBZEma0SQxH7Pa6GJusBDUtjbMLx9IFLkmZTt8r2Ei2C3jACgctbT9ANrYP8a5GG33mwY+vkUKepq9JO7rO8S5Rff3IjgPE6ZbO4RUV8QwL+APM0IiIbPbnsovVwVxYLnaHPILQYV3N7an4HMfHb/XXlbkCywklALi4yGVJfw6SuhfAkGCCZPxvcpp0TERRbYCAm6D9Nm9NrH2gmj5QPXCd6g49IuagaVg2Nln7w7fZBUNAv3QYkDPGO3km2p0/Qzue68Q=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1725888938; cv=none; b=H3Rf5l+oIo5eeubuL/fIkQL0b0JuoYfsM0Vq7Cfd3KgEFPcpmhl150Uv8uCp/TYo/Qp/N3SZXoYM1kSsDYGDQGp4gBsnjeI+Qb0G0+gsrJot6KXmqEUDqDezE6P/XnOpQb/gRgByVZwFV9adSTwWSRUBxkC7kH0LS8y+aPJHfzwNc3oCv/cKebOIqODqbxIWo5TnEsozOyrXJDxdbzj8iEEGpkJVJkiq4QP6QXrHamNK3PFXZU+732DwsmOOculcxr1EZzLOQT3YPFl4b2T1AqfPwL2W9tV2e9Ssm12R0QKnJLAvU3EGjd2Er0vNjpNIuJtUBGybmoVfK/LfcNUc2d8VNC+mnknNmgdYei5rhzDS8S978YPjHpgXM4f3eVv/1+Pugn5u27L8WMnt2iv4kGg9XwUgYZwIA9xbcXXDn8hbGVfWT3DMQ/TDdMGuK02Fz+vunmbGQk8e1Y82ZBv7sGqjLausDcRnOewXfkZigC1BwwjHGNxnKFla7eMA7NJ174K/MY342179NeDpal6z1g+ouCnHHNu+tL/100ubyo6lmaS4hWci8Az6f4VxjiowhMCPrCvWVC/E5nJv69AfLNKuMokQQjhocUYeK4Nr6Im84zsfQ8S4vsynsRd40uHVoiPuVdE+B3gTDXvr5aeZ/+pfkoiqx5wHxVrqZybpNZY=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Mon, 09 Sep 2024 15:35:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1725888938; bh=hFBbm7s46IFLyHKUFc4TSew8jWz1Gj/MQJ8obIeKkDo=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Jp4FJeeDDSCzLgDSJhBqw4Di6gwjnyXXwRD6VTnZBtK5aCysO6QqUiaP12ROJ8ZTu UnntomqogwO8+wrzDtHYOOBXDN7dGdlfm03Uv4AHZg+eV3O9qnVsjaS4q2xL/qtrvR 2RI5/p7selSbs60CtFm6m+uem4u8B9dJwsS88w/08akrpUTltWL4zst/MMbgXstjFM wxT1OEDBYGuOMRHvus98KnOZ/Bmqou6zQvx9l2tx5pJGH91AmD+buAmGmD+C+6YJUq 00nNzu2xXoD2pbtIoFX30bfvWnpbOiX1ezSWMNEeEMH/5z4h49sUxfZDjX8/PYFx5p cNuLuOs+NGoXYpkxNIQxqcJCUj1i3exoWrKS8vrc7N9gxZacUM7vX8KntDXUbLc5Xm hC7JN/LQh91R/VYTkKG0rqAP9i5RCXNKbGvX4g6KdsRoHHvnokHFTzcq/I4AW6sZFO PIbEs0VOiePTU7Ema65bq5Rd+WQ91RVRSkxSiTz6Qo7IH/hg6mtZpJAd3c4U2ve1PT 949m9eT+Q6F+lMTrNqLna4hzK/ucaaT1kgzbHpLJjKhmSxZlzPZ3b6BslXGGbfeVcH l1LdIxhqRzBLt/swy34MlNjAT/iD86vPYTWEm4MXuPeQb8goDFQgxXs7U7nA4CjRTB 1yZinWSDKR4IVmLKH9I9NndY=
- In-reply-to: <CAGUWgD8JBue=AwWVtz-b1XE-rexA7rtvxdQYLnMp5FrRqLgMnQ@mail.gmail.com>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <CAGUWgD8UzuZq=1fm7LLimE7BPbmpSxStXzoV8Fgov91qsEN5hw@mail.gmail.com> <6204850e-fc84-4c43-82b4-76e0d91dbad9@normalesup.org> <CAGUWgD8JBue=AwWVtz-b1XE-rexA7rtvxdQYLnMp5FrRqLgMnQ@mail.gmail.com>
On Mon, Sep 09, 2024 at 04:24:52PM +0300, Georgi Guninski wrote:
> On Mon, Sep 9, 2024 at 4:13 PM Aurel Page <aurel.page@normalesup.org> wrote:
> >
> > Dear Georgi,
> >
> >
> > By "precision 2", do you mean computing the result up to O(p^2) or
> > O(p^3)? I assume that B is assumed to be in Z_p?
> > If the former, then p*(p-a) is unnecessary, -a*p is sufficient. If the
> > latter, then you are missing one term.
> >
>
> Thanks.
> I mean with O(p^2) and my result is equal to pari's `log(B+O(p^2))`.
>
> Does pari use the same algorithm?
PARI does:
{ /* compute log(x^(p-1)) / (p-1) */
GEN q = gel(x,3), t = subiu(p, 1);
a = Fp_pow(a, t, q);
y = Fp_mul(Zp_log(a, p, e), diviiexact(subsi(1, q), t), q);
}
which is similar when q=p^2.
Cheers,
Bill.