Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] "Conversion raised an anomaly"

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] "Conversion raised an anomaly"


Chronological Thread 
  • From: Beta Ziliani <beta AT mpi-sws.org>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] "Conversion raised an anomaly"
  • Date: Thu, 7 Jul 2016 16:18:08 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=beta AT mpi-sws.org; spf=Pass smtp.mailfrom=beta AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
  • Ironport-phdr: 9a23:p6Oj1xQFH3W9DFPiTJJBcvBHddpsv+yvbD5Q0YIujvd0So/mwa64YR2N2/xhgRfzUJnB7Loc0qyN4vimAzxLv83JmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/mj6boq9aNOE1hv3mUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD89pozcNLUL37cqIkVvQYSW1+ayFmrPHs4DLEVEOk4mYWGjEdlQMNCAzY5jn7WI3wu230rLwu9jOdOJjcQKw9EQaj66ZiTh6g3C0KKzcR9XnWz9dvl+Rcuh339E83+JLdfIzAbKk2RajaZ95PADMZBss=


On Wed, Jul 6, 2016 at 1:46 PM, Matthieu Sozeau <mattam AT mattam.org> wrote:
Hi, 

  this is an indication that universes are not properly registered (or more rarely that you're giving the conversion function ill-typed terms or terms of different types). You are probably not threading the evar_map correctly in your tactic, or not calling the necessary Typing functions to compute universe constraints. There is documentation in dev/doc/univpoly.txt and the following slides that should answer your questions: 


Great!
 
  8.6 will have a GADT based interface that can enforce this by typing :) Also, this may be more appropriate for coqdev.


You're right.

Best,
Beta
 
Best,
-- Matthieu

On Wed, Jul 6, 2016 at 1:23 PM Beta Ziliani <beta AT mpi-sws.org> wrote:
This is primarly targeted to the devs in the list.

I have a tactic that produces a term that, apparently, makes some Reductionops function fail with the error message "Conversion raised an anomaly". Oddly enough, if I copy the (Set Printing All) term, and pose it, it works, so the term is well constructed (modulo universes). Does anyone have an idea what can be happening, or how can I get further information on the issue?

Thanks,
Beta




Archive powered by MHonArc 2.6.18.

Top of Page