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: Matthieu Sozeau <mattam AT mattam.org>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] "Conversion raised an anomaly"
  • Date: Wed, 06 Jul 2016 11:46:13 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mattam AT mattam.org; spf=Pass smtp.mailfrom=matthieu.sozeau AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f41.google.com
  • Ironport-phdr: 9a23:60VqUR8s7eyhU/9uRHKM819IXTAuvvDOBiVQ1KB91ekcTK2v8tzYMVDF4r011RmSDN2dsawP0LGempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47AblHf6ke/8SQVUk2mc1EkfqKvRMWJ1Iye7KObw9XreQJGhT6wM/tZDS6dikHvjPQQmpZoMa0ryxHE8TNicuVSwn50dxrIx06vru/5xpNo8jxRtvQ97IYAFPyiJ+VrBYBfWR8hKige4NDh/U3IShLK7X8BWE0XlABJCk7L9kepcI32t37fv/Zh2CiXIIXNSqI5UCnqu6JiVAPhjQ8CPiIl+WSRjdZ/2vEI6Cm9rgByltaHKLqeM+BzK+aEJYsX

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: 

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

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