Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] ring_simplify blowup

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] ring_simplify blowup


Chronological Thread 
  • From: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] ring_simplify blowup
  • Date: Tue, 5 Jan 2016 00:13:36 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=abhishek.anand.iitg AT gmail.com; spf=Pass smtp.mailfrom=abhishek.anand.iitg AT gmail.com; spf=None smtp.helo=postmaster AT mail-yk0-f175.google.com
  • Ironport-phdr: 9a23:mCPXHBRt4D1VqkgPJt6gw4Ce5tpsv+yvbD5Q0YIujvd0So/mwa64YRaN2/xhgRfzUJnB7Loc0qyN4/6mATRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niabqo9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86Fpy8kVWqLjOq88ULYQWD8hKiU+4NDhnRjFVwqGoHUGBDY4iB1NViHP7BDhXpry+gL8v+xxkH2TN833VrA5WnKr6a5tRFnpiTsIHzE8+WDTzMd3ifQI81qauxVjztuMM8muP/1kc/aFcA==

In your example in Rslow you want to simplify A into B.

What happens if you do directly

Goal A = B.
ring.
Is this immediate?


`ring` always works for me when it is expected to, and it always does so immediately.
Only `ring_simplify` gets stuck sometimes. 

(When dealing with horrendous As, `ring_simplify` is very useful as I usually have no idea what the corresponding Bs looks like.)

 
What about

Goal B = 0.
ring_simplify

does this get stuck too?


Yes, this gets stuck too. 
So does `ring_simplify` on `(0:Rslow) = 0`. 
I tried `compute`  on `(0:Rslow) = 0`.  It got stuck too.
Then I carefully made every constant opaque in `(0:Rslow) = 0`.
After that, `compute` on `(0:Rslow) = 0` returns immediately without changing the goal at all, as expected.
However,  `ring_simplify` still gets stuck on `(0:Rslow) = 0`.

Is there a flag to prevent `ring_simplify` from performing any computations (reductions)?
(I understand that doing computations is useful in many cases, as explained in the manual.)


Thanks,




Archive powered by MHonArc 2.6.18.

Top of Page