Skip to Content.
Sympa Menu

ssreflect - [ssreflect] Universe inconsistency with coq 8.5

Subject: Ssreflect Users Discussion List

List archive

[ssreflect] Universe inconsistency with coq 8.5


Chronological Thread 
  • From: Florent Hivert <>
  • To: "" <>
  • Subject: [ssreflect] Universe inconsistency with coq 8.5
  • Date: Mon, 14 Mar 2016 18:13:55 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:VNwrrBN3r3trDN7TeVIl6mtUPXoX/o7sNwtQ0KIMzox0KPT4rarrMEGX3/hxlliBBdydsKIbzbuI+PG6EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxhr75qsebSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBO/hZL41Q7hVBygONnsvocztrxjKCwqJ/HoVFGsM2FIcGBPf4R/+U5ztmi7hrK983jObNIv3S6o1UHKs9fE4ZgXvjXIpMzkj/WfLwuxxkq9BvFr1iRh42YPSfMe1NeRzZL/1eckbA2RbCJUCHxddC5+xOtNcR9EKOvxV+tHw

Dear MathComp fans,

The following code which was perfectly working with Coq-8.4pl6 and
MathComp-1.6 is refused by switching to Coq-8.5 with a

Toplevel input, characters 15-105:
Error: Universe inconsistency. Cannot enforce Set =
mathcomp.ssreflect.ssrbool.517.

I've no idea what changed. Any suggestion or fix ?

Best,

Florent


Set Printing Universes.

Require Import mathcomp.ssreflect.ssreflect.
From mathcomp Require Import ssrbool ssrfun ssrnat eqtype fintype choice seq.

Set Implicit Arguments.
Unset Strict Implicit.


(** * Shapes *)
Definition is_in_shape sh r c := c < nth 0 sh r.

(** ** A finite type [finType] for coordinate of boxes inside a shape *)
Section BoxIn.

Variable sh : seq nat.

Definition is_box_in_shape b := is_in_shape sh b.1 b.2.

Structure box_in : predArgType :=
BoxIn {coord :> nat * nat; _ : is_box_in_shape coord}.




Archive powered by MHonArc 2.6.18.

Top of Page