Bill Allombert on Wed, 15 Mar 2023 11:15:47 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Unexpected Mod(0,1) == Mod(x,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Unexpected Mod(0,1) == Mod(x,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Wed, 15 Mar 2023 11:14:13 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1678875247; c=relaxed/relaxed; bh=HUd8vrtSPnhXxfSJny7xzJ1nAT9R34YDJ6sprjn7/zc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=RgVNZTDUkQqlk58PRzqMCatyuSd8B2KhFDynT3dvs0eeVnRUad0PDxklx0UJQzJbjWhwdKTg/+W2z4PQ3S2tD4Z5ElgBYF0Vcwmn1xkO5vznY6/SVpGtrArgPTkBpKGavNBKqTqDmD4HsnzXCyQXpBNz+f5s/sEioewRfdeptl6+qa9nEtzHRuHCrAzLcnIi+CGaP357sAv3GHE2Ipr5Mxlk9a70kuRl81raRo4cu+TGa31NjCnhzXu1XIVlHj4rzZ0kSt20gGPJ9DzR45Km2mkY7lkHkxRPRmitbHB45jtU7HpTLfjCOIsAJsTYILUo10ePTtFMY7IUjWJFqg1F33k0ztUSFEaemIoWCFzuh4KEYiHnTk74KdDX3R1ooCoYO8b1hpnBDmJXecIG18hLNSEL69uhq4dTaQ99Ql94ku3oXyRTNLCy8clPwWjpJqv4+GKLFs/RdOBaVknD7XTPVJ06UHi3KCKWzbCvidN/TCCaZhbvVMpyx2cndu/qu9q3u4lp1fiXtaCbflZ94W6cv0cjPWN9T6jxMki4GsT7n8Lxgo4vYS603PRCAYesCMUzQmC0XxlnnBCaFpBn3G7EXGxEtoZmFs3UGC3jUVzHDknnSTy+BVzQT6sxJyg6G1H2Lsx21BHqo6SXRJEVOlCg14j35rHJDvHUWq3q3y3b1Cc=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1678875247; cv=none; b=dDupXznW5nB+xDomiMDYCAKtsgkFG6p08iott9cqya6MutnTIHf9QZtMh+Sh0sBhFvCpWCvbAJKBWnxyGXWjp1dbGXJYUy5RHVHUrnhIp0Fq/nGn3LINIt6+M1tHKPPAOPkTQQH/ZBO9x3AqmEw7AN0eSJp4/aE6vE2g+D1Hba4Y3a3xDmTmWob2Q1akjjtAQR1OQ0LcRbmfAMsXZEdS2JxJ3eJ2+Hb8qzZsLIZwXcR9WhrlW2xW1OOOeYEjzi9pB8jCH5LNTUJlPTGZtO/N96YyvuyZVBRd9p16qr6CbltDg8c252w/qJVr13r87WjMRw3bOvwtdafetmNOgcsbZmhaEtoNv1qKOZvAU7oC0/nG4Bg4GWbwBKjcDeqfBqpVCwc5UwQOomeZeXWvmPz59vLCuukcg2wrDcCYZUvExOCKxrVd+TQ3+FsA9BrXVtzwvb//DzGne96u0qnvpAo1NoCo0qw00isHwp9gusSKlrqdajvF0kapcxqpXO2klNfK5F3eBxzuig6qMChgBKovqufwfZdhaRZ8FgaPqlgMDrt7koxdxEK9CCc4FCqibBho2tZJtJr/0U+Vde1mNhtP3TLZ+sgCjIJ2qbEcJ6l5wX0jkZMHgRcAdHM53V+O3atzqa7XG1Izgi18mcPJmAiTcZi5jh2hTdiaWg5gcR+CLx8=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Wed, 15 Mar 2023 11:15:47 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1678875247; bh=HUd8vrtSPnhXxfSJny7xzJ1nAT9R34YDJ6sprjn7/zc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=VUrTHN8VsRYggip35sUKUypOBw9NKnlEHXdpatRhfnoK4mAumIwu5f7uLD2/KoFLo 68SvEewXmhdmSHrIWsHh4R/1LiSu7b4hlm5YkbpWkPB0CdyLh9/ftePoHJ2mTbjj2b 1qHnwyW9mtZEotqVf24NxAbNGbhg6aQW+Nbd9mw9WJpmnZSInhqCwMw1yyWBRNSH/i Zk1sOecci/Tqgv8cbexci+cI8y2oSwBEYUWLH0HvZJAYVkv1GWKy3nR5zWdVqUU1Cy EiLIfLiTQzapTHSbz9+4Ibio2McynNWju6h5y2LvpQ+k895ydt85thCs/g0fkA1fdR fSg8I1jusvU/Vp4m2oKXajH5E9+tXoVsWyZMXlLGJMBerAYg0rVEjJMbG/qyKlFTD9 1VaiRNuBjqgwf98FHEGhUIB5iqkN/09YNMJb6sPvM+rSEZVE8vH+nnft7D9SoOebEh QlP8hgV3b+W8i4pshXNtryF6lLj3e1jMDSNZ/+azfLz9mzPEyFEfpyYMRMvAxWoRQt EWrk2UPNaBK1Yt0uG0pNP39qp9XCqmSJFpODW53W4SR/u0PUDyZcL2isbI/EdsDAB3 s7xLpfvbjbPpN9UFIROZAObkF2BtdBdn30horFxO/gUJOQ6QZ6VB7d8/nsvqa1NGlh duUCn1LY99LaZJ7DGm5xbh3c=
- In-reply-to: <CAGUWgD8EXU25U21jE+ekOUj7XtZ60wG5fSpz0ogPfY1kPUepPQ@mail.gmail.com>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <CAGUWgD8EXU25U21jE+ekOUj7XtZ60wG5fSpz0ogPfY1kPUepPQ@mail.gmail.com>
On Wed, Mar 15, 2023 at 12:02:43PM +0200, Georgi Guninski wrote:
> I am experimenting with quotients of polynomial rings
> and get unexpected Mod(0,1):
>
> ? mo=Mod(1,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
> %1 = Mod(Mod(0, y^2 - y), 1)
> ? mo=Mod(x,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
> %2 = Mod(0, 1)
>
> In sagemath:
> sage: K.<x,y>=QQ[]
> sage: Kquo=K.quotient([x*(x-1),y*(y-1),x+y-1])
> sage: Kquo(x)
> -ybar + 1
K in sage is Q[X,Y].
In PARI/GP the ring is Q(y)[x], so y*(y-1) is invertible.
In GP polynomials are always univariate over a field.
Cheers,
Bill