On Sat, Feb 9, 2013 at 1:26 PM, Simon King <
simon...@uni-jena.de> wrote:
> Hi Robert,
>
> On 2013-02-09, Robert Bradshaw <
robe...@gmail.com> wrote:
>> Having a check=False parameter is useful when checking for primality
>> is expensive (say, for very large p). I think this is totally fine,
>> the contract is that p should be prime, and if you pass it a non-prime
>> and explicitly dissalow Sage from verifying this that for you, it
>> should just assume it's a prime even you lying to it results in
>> incorrect results.
>
> OK. This is how I understood the meaning of "check=False" - I was just
> worried whether breaking the contract (i.e., providing a non-prime p on
> purpose) was used somewhere.
I know faking GF(p) is handy for implementing a (prototype-level)
elliptic curve factoring. This can also be handy for working with
cryptographic-sized primes.
> BTW, my patch to make Zp(p), Qp(p) and power series rings using a
> smaller category and to make the FractionFields functor have
> IntegralDomains() and not Rings() as domain is almost finished, so,
> #14084 will soon be ready for review.
>
> Best regards,
> Simon
>