macsyma on Sat, 27 Jul 2019 04:24:16 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: "pari-users@pari.math.u-bordeaux.fr" <pari-users@pari.math.u-bordeaux.fr>
- Subject: Re: nfgaloisconj
- From: macsyma <macsyma@yahoo.co.jp>
- Date: Sat, 27 Jul 2019 11:24:06 +0900 (JST)
- Delivery-date: Sat, 27 Jul 2019 04:24:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1564194247; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=1eR3IPjg4vM5rVrXDK410LksMqB+tZgjY4krmnqd0rI=; b=GQGJzaPRMPi4D8Ck/ySKUYoHrFv1SnOtd8NbZMGR79Dxz2W2sZ+Cp/BMbLl9BypC oqDuKUgw28Z0xuyfD5XpzFRzCvfSZlIKypjg2JGgYAdoWtgAbD8RLRezwOMubK7ObVs 0Mw301mq+LszWDg/0h1E3448y4ftwDwfAWggVwzs=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=re0ZwFeNVQM93LVPzQ/Hq7aZ+E7al4KLVPHnEkwwGj1TV5EzWrL9pX0tZOgDGwOF 7dTkiLcgPMbysjMSJWef9CTDVNfvwXhYkEJ+xqw5d7Odz+hd7xZXIWUmUqLHZMFdijV qulsRJ/VEYwI+tFqImiaA2YUNbWdyfR2RdUG6JHU=;
- References: <2026749007.1730098.1564194246996.JavaMail.yahoo.ref@jws702004.mail.kks.yahoo.co.jp>
- Reply-to: macsyma <macsyma@yahoo.co.jp>
Thank you, Bill.
> require knowing the Galois group
Yes. So I devised a numerical method as following.
G12(f) =
{
my(g = nfsplitting(f), d = poldegree(g),
R = nfisincl(f, g), v = variable(f), N, M, G1, K, G2);
localprec(max(200, floor(1.5*d)));
N = round(10^5*[subst(R, v, s)|s <- polroots(g)]);
/* These parameters are only heuristics. */
M = Map(Mat([N[1]~, [1..poldegree(f)]~]));
G1 = [Vecsmall([mapget(M, s)|s <- t])|t <- N];
K = matinverseimage(matconcat(vector(d, i, subst(R, v, i))~), [1..d]~);
G2 = [R*[K[s]|s <- Vec(t^(-1))]~|t <- G1];
return([G1, G2])};