Diff of the two buildlogs: -- --- b1/build.log 2025-07-24 19:26:21.339203897 +0000 +++ b2/build.log 2025-07-24 19:31:22.627564051 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 26 13:47:46 -12 2026 -I: pbuilder-time-stamp: 1787795266 +I: Current time: Fri Jul 25 09:26:25 +14 2025 +I: pbuilder-time-stamp: 1753385185 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 0001-Increase-timeout-in-test-that-takes-a-bit-longer-on-.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3207077/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 24 19:26 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='f060c5c52437474f8fecb5363d2720c9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3207077' - PS1='# ' - PS2='> ' + INVOCATION_ID=be81d422f1e14d019e56d848a35bc7b5 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1175847 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.28ZLuKfA/pbuilderrc_8Iwe --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.28ZLuKfA/b1 --logfile b1/build.log coq-elpi_2.5.0-1.1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.28ZLuKfA/pbuilderrc_Vwae --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.28ZLuKfA/b2 --logfile b2/build.log coq-elpi_2.5.0-1.1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3207077/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -211,7 +243,7 @@ Get: 86 http://deb.debian.org/debian trixie/main arm64 libstdio-ocaml-dev arm64 0.17.0-1+b2 [115 kB] Get: 87 http://deb.debian.org/debian trixie/main arm64 libppx-optcomp-ocaml-dev arm64 1:0.17.0-1+b7 [325 kB] Get: 88 http://deb.debian.org/debian trixie/main arm64 ocaml-dune arm64 3.17.2-1+b1 [5585 kB] -Fetched 371 MB in 3s (110 MB/s) +Fetched 371 MB in 4s (97.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19964 files and directories currently installed.) @@ -506,8 +538,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Aug 27 01:48:22 UTC 2026. -Universal Time is now: Thu Aug 27 01:48:22 UTC 2026. +Local time is now: Thu Jul 24 19:27:58 UTC 2025. +Universal Time is now: Thu Jul 24 19:27:58 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -590,7 +622,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/coq-elpi-2.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../coq-elpi_2.5.0-1.1_source.changes +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/coq-elpi-2.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../coq-elpi_2.5.0-1.1_source.changes dpkg-buildpackage: info: source package coq-elpi dpkg-buildpackage: info: source version 2.5.0-1.1 dpkg-buildpackage: info: source distribution unstable @@ -604,7 +640,7 @@ dune clean Warning: Cache directories could not be created: Permission denied; disabling cache -Hint: Make sure the directory /nonexistent/first-build/.cache/dune/db/temp +Hint: Make sure the directory /nonexistent/second-build/.cache/dune/db/temp can be created make[1]: Leaving directory '/build/reproducible-path/coq-elpi-2.5.0' dh_ocamlclean @@ -622,7 +658,7 @@ dune build Warning: Cache directories could not be created: Permission denied; disabling cache -Hint: Make sure the directory /nonexistent/first-build/.cache/dune/db/temp +Hint: Make sure the directory /nonexistent/second-build/.cache/dune/db/temp can be created File "./elpi/dummy.v", line 1, characters 0-93: Warning: To avoid stack overflow, large numbers in nat are interpreted as @@ -663,23 +699,49 @@ File "./elpi/dummy.v", line 13, characters 0-70: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./theories-stdlib/Vector.v", line 1, characters 0-31: -Warning: Using Vector.t is known to be technically difficult, see -. -[warn-library-file-stdlib-vector,stdlib-vector,warn-library-file,user-warn,default] -File "./apps/NES/elpi/dummy.v", line 1, characters 0-99: +File "./apps/tc/elpi/dummy.v", line 1, characters 0-99: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/NES/elpi/dummy.v", line 2, characters 0-65: +File "./apps/tc/elpi/dummy.v", line 2, characters 0-60: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/NES/elpi/dummy.v", line 3, characters 0-66: +File "./apps/tc/elpi/dummy.v", line 3, characters 0-59: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/locker/elpi/dummy.v", line 1, characters 0-99: +File "./apps/tc/elpi/dummy.v", line 4, characters 0-64: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/locker/elpi/dummy.v", line 2, characters 0-61: +File "./apps/tc/elpi/dummy.v", line 5, characters 0-74: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 6, characters 0-65: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 7, characters 0-62: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 8, characters 0-68: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 9, characters 0-60: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 10, characters 0-74: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 11, characters 0-70: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 12, characters 0-61: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 13, characters 0-61: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 14, characters 0-68: +Warning: To avoid stack overflow, large numbers in nat are interpreted as +applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./apps/tc/elpi/dummy.v", line 15, characters 0-59: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] File "./apps/derive/elpi/dummy.v", line 1, characters 0-99: @@ -784,51 +846,25 @@ File "./apps/derive/elpi/dummy.v", line 34, characters 0-58: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 1, characters 0-99: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 2, characters 0-60: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 3, characters 0-59: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 4, characters 0-64: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 5, characters 0-74: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 6, characters 0-65: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 7, characters 0-62: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 8, characters 0-68: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 9, characters 0-60: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 10, characters 0-74: -Warning: To avoid stack overflow, large numbers in nat are interpreted as -applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 11, characters 0-70: +File "./apps/NES/elpi/dummy.v", line 1, characters 0-99: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 12, characters 0-61: +File "./apps/NES/elpi/dummy.v", line 2, characters 0-65: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 13, characters 0-61: +File "./apps/NES/elpi/dummy.v", line 3, characters 0-66: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 14, characters 0-68: +File "./apps/locker/elpi/dummy.v", line 1, characters 0-99: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] -File "./apps/tc/elpi/dummy.v", line 15, characters 0-59: +File "./apps/locker/elpi/dummy.v", line 2, characters 0-61: Warning: To avoid stack overflow, large numbers in nat are interpreted as applications of Nat.of_num_uint. [abstract-large-number,numbers,default] +File "./theories-stdlib/Vector.v", line 1, characters 0-31: +Warning: Using Vector.t is known to be technically difficult, see +. +[warn-library-file-stdlib-vector,stdlib-vector,warn-library-file,user-warn,default] File "src/rocq_elpi_HOAS.ml", line 1675, characters 33-58: 1675 | Global.body_of_constant_body Library.indirect_accessor (Environ.lookup_constant c x.global_env) ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -849,14 +885,31 @@ 2410 | type 'arg tactic_main = Solve of 'arg list | Custom of string ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 34 [unused-type-declaration]: unused type tactic_main. -The Db contains [phone_prefix USA 1] -Phone prefix for USA is 1 -The Db contains -[phone_prefix USA 1, phone_prefix France 33, phone_prefix Italy 39] -Phone prefix for France is 33 -sweet! -brr -yummy! +Notation p2 := (p2 nat 3 x) +example_import_projections.p1 nat 3 x : nat + : nat +p1 : forall (T : Type) (t : T), r T t -> nat + : forall (T : Type) (t : T), r T t -> nat +eq_refl +: +example_import_projections.p1 bool false (Build bool false 3 eq_refl eq_refl) = +3 + : example_import_projections.p1 bool false + (Build bool false 3 eq_refl eq_refl) = 3 +example_import_projections.f1 _ x + : bool +foo = +{f1 : Type & {f2 : f1 -> Type & forall t : f1, f2 t -> bool}} + : Type +mk_foo = +fun (f1 : Type) (f2 : f1 -> Type) (f3 : forall t : f1, f2 t -> bool) => +existT (fun f4 : Type => {f5 : f4 -> Type & forall t : f4, f5 t -> bool}) f1 + (existT (fun f4 : f1 -> Type => forall t : f1, f4 t -> bool) f2 f3) + : forall (f1 : Type) (f2 : f1 -> Type), + (forall t : f1, f2 t -> bool) -> foo + +Arguments mk_foo f1%type_scope (f2 f3)%function_scope +3 + 7 becomes fun (x : ?e) (x0 : ?e0) => S (S x0) + S (S (S (S (S (S x))))) DEBUG: attempt at fuzzing binary op: global (indc «PLUS») DEBUG: attempt at fuzzing binary op: global (const «Nat.add») DEBUG: attempt at fuzzing binary op: global (indc «AND») @@ -890,7 +943,6 @@ Arguments E_AND1 e1 e2 (b1 b2)%bool_scope _ _ Arguments E_OR1 e1 e2 (b1 b2)%bool_scope _ _ Arguments E_EQ1 e1 e2 (n1 n2)%nat_scope _ _ -3 + 7 becomes fun (x : ?e) (x0 : ?e0) => S (S x0) + S (S (S (S (S (S x))))) goal X0 c0 c1 c2 c3 is [decl c3 `H` (app [global (const «lt»), c0, c1]), @@ -901,2987 +953,14 @@ prod `_` (app [global (const «lt»), c1, c2]) c4 \ app [global (const «lt»), c0, c2] 3 -Notation p2 := (p2 nat 3 x) -example_import_projections.p1 nat 3 x : nat - : nat -p1 : forall (T : Type) (t : T), r T t -> nat - : forall (T : Type) (t : T), r T t -> nat -eq_refl -: -example_import_projections.p1 bool false (Build bool false 3 eq_refl eq_refl) = -3 - : example_import_projections.p1 bool false - (Build bool false 3 eq_refl eq_refl) = 3 -example_import_projections.f1 _ x - : bool -Query assignments: - BO = fix `add` 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) - [c2, - fun `p` (global (indt «nat»)) c3 \ - app [global (indc «S»), app [c0, c3, c2]]] - GR = «Nat.add» - TY = prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat») -fix X0 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 - (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ X1 c1 c2 c3) - [c2, fun `p` (X2 c1 c2) c3 \ app [c0, c3, c2]] -fix X0 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 - (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ - global (indt «nat»)) [c2, fun `p` (X3 c1 c2) c3 \ app [c0, c3, c2]] -Query assignments: - BO1 = fix X0 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 - (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ - global (indt «nat»)) [c2, fun `p` (X3 c1 c2) c3 \ app [c0, c3, c2]] - GR = «Nat.add» - TY = prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat») - X1_ = c0 \ c1 \ c2 \ -global (indt «nat») - X2_ = c0 \ c1 \ -X3 c0 c1 -Syntactic constraints: - {c0 c1} : - decl c1 `m` (global (indt «nat»)), decl c0 `n` (global (indt «nat»)) - ?- evar (X3 c0 c1) (sort (typ «elpi_tests_stdlib.test_quotation.2»)) - (X3 c0 c1) /* suspended on X3 */ -Universe constraints: -UNIVERSES: - {elpi_tests_stdlib.test_quotation.3 elpi_tests_stdlib.test_quotation.2 - elpi_tests_stdlib.test_quotation.1} |= - Set <= elpi_tests_stdlib.test_quotation.3 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - elpi_tests_stdlib.test_quotation.3 -SORTS: - α1 - α2 -WEAK CONSTRAINTS: - - -fun `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - c0 \ - match c0 - (fun `_` (X0 c0) c1 \ - fun `_elpi_renamed_v_1` (app [global (indt «Vector.t»), X1 c0, X2 c0]) - c2 \ X3 c0 c2) - [global (indc «O»), - fun `_` (X4 c0) c1 \ - fun `_` (X5 c0) c2 \ - fun `_` (X6 c0) c3 \ app [global (indc «S»), global (indc «O»)]] -fun `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - c0 \ - match c0 - (fun `_` (X7 c0) c1 \ - fun `_elpi_renamed_v_1` - (app [global (indt «Vector.t»), global (indt «nat»), X8 c0]) c2 \ - global (indt «nat»)) - [global (indc «O»), - fun `_` (X9 c0) c1 \ - fun `_` (X10 c0) c2 \ - fun `_` (X11 c0) c3 \ app [global (indc «S»), global (indc «O»)]] -Query assignments: - T = fun `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - c0 \ - match c0 - (fun `_` (X7 c0) c1 \ - fun `_elpi_renamed_v_1` - (app [global (indt «Vector.t»), global (indt «nat»), X8 c0]) c2 \ - global (indt «nat»)) - [global (indc «O»), - fun `_` (X9 c0) c1 \ - fun `_` (X10 c0) c2 \ - fun `_` (X11 c0) c3 \ app [global (indc «S»), global (indc «O»)]] - X3_ = c0 \ -X7 c0 - X4_ = c0 \ -global (indt «nat») - X5_ = c0 \ -X8 c0 - X6_ = c0 \ c1 \ -global (indt «nat») - X7_ = c0 \ -X9 c0 - X8_ = c0 \ -X10 c0 - X9_ = c0 \ -X11 c0 -Syntactic constraints: - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X11 c0) (sort (typ «elpi_tests_stdlib.test_quotation.10»)) - (X11 c0) /* suspended on X11 */ - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X10 c0) (sort (typ «elpi_tests_stdlib.test_quotation.9»)) - (X10 c0) /* suspended on X10 */ - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X9 c0) (sort (typ «elpi_tests_stdlib.test_quotation.8»)) - (X9 c0) /* suspended on X9 */ - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X8 c0) (X12 c0) (X8 c0) /* suspended on X8 */ - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X13 c0) (sort (typ «elpi_tests_stdlib.test_quotation.6»)) - (X12 c0) /* suspended on X13, X12 */ - {c0} : - decl c0 `v` - (app - [global (indt «Vector.t»), global (indt «nat»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) - ?- evar (X7 c0) (sort (typ «elpi_tests_stdlib.test_quotation.4»)) - (X7 c0) /* suspended on X7 */ -Universe constraints: -UNIVERSES: - {elpi_tests_stdlib.test_quotation.12 elpi_tests_stdlib.test_quotation.11 - elpi_tests_stdlib.test_quotation.10 elpi_tests_stdlib.test_quotation.9 - elpi_tests_stdlib.test_quotation.8 elpi_tests_stdlib.test_quotation.7 - elpi_tests_stdlib.test_quotation.6 elpi_tests_stdlib.test_quotation.5 - elpi_tests_stdlib.test_quotation.4} |= - elpi_tests_stdlib.test_quotation.11 < elpi_tests_stdlib.test_quotation.5 - Set <= Vector.t.u0 - Set <= elpi_tests_stdlib.test_quotation.11 - Set <= elpi_tests_stdlib.test_quotation.12 - elpi_tests_stdlib.test_quotation.11 <= Vector.t.u0 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - elpi_tests_stdlib.test_quotation.12 -SORTS: - α3 - α4 := Type - α5 - α6 - α7 - α8 - α9 -WEAK CONSTRAINTS: - - -3 -Query assignments: - X = 3 -fun `x` X0 c0 \ app [X1, c0] -Query assignments: - X = X1 - X10_ = X0 - Y = fun `x` X0 c0 \ app [X1, c0] -fun `r` (global (indt «nat»)) c0 \ - fun `p` - (prod `y` (global (indt «nat»)) c1 \ - app - [global (indt «eq»), global (indt «nat»), c1, global (indc «O»)]) - c1 \ - fun `q` (global (indt «bool»)) c2 \ - prod `y` (global (indt «nat»)) c3 \ - app - [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] -Query assignments: - %arg1 = c0 \ c1 \ c2 \ -prod `y` (global (indt «nat»)) c3 \ - app [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] - X = fun `r` (global (indt «nat»)) c0 \ - fun `p` - (prod `y` (global (indt «nat»)) c1 \ - app - [global (indt «eq»), global (indt «nat»), c1, global (indc «O»)]) - c1 \ - fun `q` (global (indt «bool»)) c2 \ - prod `y` (global (indt «nat»)) c3 \ - app - [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] -fun u : nat => -{| val := oval u; Sub := Ord u; Sub_rect := inlined_sub_rect |} - : forall u : nat, is_SUB nat (fun x : nat => leq x u) (ord u) -Debug: -[elpi] - gterm2lp: term=(fun u => - {| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |}) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term={| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |} -Debug: [elpi] gterm2lp: term=SubType -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(oval u) -Debug: [elpi] gterm2lp: term=oval -Debug: [elpi] gterm2lp: term=u -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=inlined_sub_rect -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(fun K_S u => - let (x, Px) as u0 return (K u0) := u in K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(fun u => let (x, Px) as u0 return (K u0) := u in K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(let (x, Px) as u0 return (K u0) := _elpi_renamed_u_3 in - K_S x Px) -Debug: [elpi] gterm2lp: term=_elpi_renamed_u_3 -Debug: [elpi] gterm2lp: term=(fun u0 => K u0) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(K u0) -Debug: [elpi] gterm2lp: term=K -Debug: [elpi] gterm2lp: term=u0 -Debug: [elpi] gterm2lp: term=(fun x Px => K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(fun Px => K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(K_S x Px) -Debug: [elpi] gterm2lp: term=K_S -Debug: [elpi] gterm2lp: term=x -Debug: [elpi] gterm2lp: term=Px -Debug: -[elpi] - gterm2lp: term=(fun u => - {| val := _; Sub := elpi_code:(K) u; Sub_rect := _ |}) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] gterm2lp: term={| val := _; Sub := elpi_code:(K) u; Sub_rect := _ |} -Debug: [elpi] gterm2lp: term=SubType -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(elpi_code:(K) u) -Debug: [elpi] gterm2lp: term=elpi_code:(K) -Debug: [elpi] gterm2lp: term=u -Debug: [elpi] gterm2lp: term=_ -XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -Debug: -[elpi] - elpi sigma -> coq sigma: before: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - elpi sigma -> coq sigma: synchronized: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - elpi sigma -> coq sigma: after: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - lp2term: depth=0 ctx=[] term=fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: -[elpi] - lp2term@0:fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: [elpi] lp2term@0:X0 -Debug: [elpi] lp2term: evar: calldepth:0 X0 RAW: -ELAB: - -Debug: -[elpi] - lp2term@1:app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: [elpi] lp2term@1:global (indc «SubType») -Debug: [elpi] lp2term@1:X1 c0 -Debug: [elpi] lp2term: evar: calldepth:0 X1 c0 RAW: -ELAB: - -Debug: [elpi] lp2term@1:X2 c0 -Debug: [elpi] lp2term: evar: calldepth:0 X2 c0 RAW: -ELAB: - -Debug: [elpi] lp2term@1:X3 c0 -Debug: [elpi] lp2term: evar: calldepth:0 X3 c0 RAW: -ELAB: - -Debug: [elpi] lp2term@1:app [global (const «oval»), c0] -Debug: [elpi] lp2term@1:global (const «oval») -Debug: [elpi] lp2term@1:c0 -Debug: [elpi] lp2term@1:X4 c0 -Debug: [elpi] lp2term: evar: calldepth:0 X4 c0 RAW: -ELAB: - -Debug: -[elpi] - lp2term@1:fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@1:X5 c0 -Debug: [elpi] lp2term: evar: calldepth:0 X5 c0 RAW: -ELAB: - -Debug: -[elpi] - lp2term@2:fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@2:X6 c0 c1 -Debug: [elpi] lp2term: evar: calldepth:0 X6 c0 c1 RAW: -ELAB: - -Debug: -[elpi] - lp2term@3:fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@3:X7 c0 c1 c2 -Debug: [elpi] lp2term: evar: calldepth:0 X7 c0 c1 c2 RAW: -ELAB: - -Debug: -[elpi] - lp2term@4:match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@4:c3 -Debug: [elpi] lp2term@4:fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4] -Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 -Debug: [elpi] lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 RAW: -ELAB: - -Debug: [elpi] lp2term@5:app [c1, c4] -Debug: [elpi] lp2term@5:c1 -Debug: [elpi] lp2term@5:c4 -Debug: -[elpi] - lp2term@4:fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] -Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 -Debug: [elpi] lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 RAW: -ELAB: - -Debug: [elpi] lp2term@5:fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] -Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 -Debug: [elpi] lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 RAW: -ELAB: - -Debug: [elpi] lp2term@6:app [c2, c4, c5] -Debug: [elpi] lp2term@6:c2 -Debug: [elpi] lp2term@6:c4 -Debug: [elpi] lp2term@6:c5 -Debug: -[elpi] - lp2term: out=(fun u : hole hole => - {| - val := oval u; - Sub := hole u hole; - Sub_rect := - fun (K : hole u hole) (K_S : hole K u hole) - (_elpi_renamed_u_3 : hole K_S K u hole) => - let - (x, Px) as u0 - return (hole u0 _elpi_renamed_u_3 K_S K hole) := - _elpi_renamed_u_3 in - K_S x Px - |}) - elpi2coq: - RAW: -ELAB: -SHELF: - - FUTURE GOALS STACK: - - -Debug: -[elpi] - detype: (fun u : hole hole => - {| - val := oval u; - Sub := hole u hole; - Sub_rect := - fun (K : hole u hole) (K_S : hole K u hole) - (_elpi_renamed_u_3 : hole K_S K u hole) => - let - (x, Px) as u0 - return (hole u0 _elpi_renamed_u_3 K_S K hole) := - _elpi_renamed_u_3 in - K_S x Px - |}) -Debug: [elpi] bringing updated sigma back to lp -Debug: -[elpi] - term2lp: depth=0 ctx= term=(forall u : nat, - is_SUB nat (fun x : nat => leq x u) (ord u)) -Debug: -[elpi] - term2lp (out): prod `u` (global (indt «nat»)) c0 \ - app - [global (indt «is_SUB»), global (indt «nat»), - fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], - app [global (indt «ord»), c0]] -Debug: -[elpi] - term2lp: depth=0 ctx= term=(fun u : nat => - {| - val := oval u; - Sub := Ord u; - Sub_rect := inlined_sub_rect - |}) -Debug: -[elpi] - term2lp (out): fun `u` (global (indt «nat»)) c0 \ - app - [global (indc «SubType»), global (indt «nat»), - fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], - app [global (indt «ord»), c0], app [global (const «oval»), c0], - app [global (indc «Ord»), c0], - fun `K` - (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) - c1 \ - fun `K_S` - (prod `x` (global (indt «nat»)) c2 \ - prod `Px` - (app - [global (indt «eq»), global (indt «bool»), - app - [fun `x` (global (indt «nat»)) c3 \ - app [global (const «leq»), c3, c0], c2], - global (indc «true»)]) c3 \ - app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ - fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ - match c3 - (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) - [fun `x` (global (indt «nat»)) c4 \ - fun `Px` - (app - [global (indt «eq»), global (indt «bool»), - app [global (const «leq»), c4, c0], global (indc «true»)]) - c5 \ app [c2, c4, c5]]] -Debug: -[elpi] - Elpi: query-compilation:0.0013 static-check:0.0000 optimization:0.0001 runtime:0.0030 (with success) - -Query assignments: - GR = indc «Ord» - K = global (indc «Ord») - T = fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] - T1 = fun `u` (global (indt «nat»)) c0 \ - app - [global (indc «SubType»), global (indt «nat»), - fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], - app [global (indt «ord»), c0], app [global (const «oval»), c0], - app [global (indc «Ord»), c0], - fun `K` - (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) - c1 \ - fun `K_S` - (prod `x` (global (indt «nat»)) c2 \ - prod `Px` - (app - [global (indt «eq»), global (indt «bool»), - app - [fun `x` (global (indt «nat»)) c3 \ - app [global (const «leq»), c3, c0], c2], - global (indc «true»)]) c3 \ - app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ - fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ - match c3 - (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) - [fun `x` (global (indt «nat»)) c4 \ - fun `Px` - (app - [global (indt «eq»), global (indt «bool»), - app [global (const «leq»), c4, c0], global (indc «true»)]) - c5 \ app [c2, c4, c5]]] - X11_ = X0 - X12_ = X1 - X13_ = X2 - X14_ = X3 - X15_ = X4 - X16_ = X5 - X17_ = X6 - X18_ = X7 - X19_ = X8 - X20_ = X9 - X21_ = X10 - X22_ = global (indt «nat») - X23_ = c0 \ -global (indt «nat») - X24_ = c0 \ -fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0] - X25_ = c0 \ -app [global (indt «ord»), c0] - X26_ = c0 \ -app [global (const «oval»), c0] - X27_ = c0 \ -fun `K` - (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) - c1 \ - fun `K_S` - (prod `x` (global (indt «nat»)) c2 \ - prod `Px` - (app - [global (indt «eq»), global (indt «bool»), - app - [fun `x` (global (indt «nat»)) c3 \ - app [global (const «leq»), c3, c0], c2], global (indc «true»)]) - c3 \ app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ - fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ - match c3 (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) - [fun `x` (global (indt «nat»)) c4 \ - fun `Px` - (app - [global (indt «eq»), global (indt «bool»), - app [global (const «leq»), c4, c0], global (indc «true»)]) c5 \ - app [c2, c4, c5]] -Universe constraints: -UNIVERSES: - {elpi_tests_stdlib.test_quotation.28 elpi_tests_stdlib.test_quotation.27} |= - Set <= is_SUB.u0 - Set <= is_SUB.u1 - Set <= elpi_tests_stdlib.test_quotation.27 - is_SUB.u2 <= elpi_tests_stdlib.test_quotation.28 -ALGEBRAIC UNIVERSES: - {elpi_tests_stdlib.test_quotation.28 elpi_tests_stdlib.test_quotation.27} -FLEXIBLE UNIVERSES: - elpi_tests_stdlib.test_quotation.28 - elpi_tests_stdlib.test_quotation.27 -SORTS: - α24 := Type - α25 := Type -WEAK CONSTRAINTS: - - -Debug: -[elpi] - gterm2lp: term=(fun u => - {| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |}) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term={| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |} -Debug: [elpi] gterm2lp: term=SubType -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(oval u) -Debug: [elpi] gterm2lp: term=oval -Debug: [elpi] gterm2lp: term=u -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=inlined_sub_rect -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(fun K_S u => - let (x, Px) as u0 return (K u0) := u in K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(fun u => let (x, Px) as u0 return (K u0) := u in K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: -[elpi] - gterm2lp: term=(let (x, Px) as u0 return (K u0) := _elpi_renamed_u_3 in - K_S x Px) -Debug: [elpi] gterm2lp: term=_elpi_renamed_u_3 -Debug: [elpi] gterm2lp: term=(fun u0 => K u0) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(K u0) -Debug: [elpi] gterm2lp: term=K -Debug: [elpi] gterm2lp: term=u0 -Debug: [elpi] gterm2lp: term=(fun x Px => K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(fun Px => K_S x Px) -Debug: [elpi] gterm2lp: term=_ -Debug: [elpi] gterm2lp: term=(K_S x Px) -Debug: [elpi] gterm2lp: term=K_S -Debug: [elpi] gterm2lp: term=x -Debug: [elpi] gterm2lp: term=Px -Debug: -[elpi] - elpi sigma -> coq sigma: before: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - elpi sigma -> coq sigma: synchronized: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - elpi sigma -> coq sigma: after: -SHELF: -FUTURE GOALS STACK: - - -Rocq-Elpi mapping: -RAW: -ELAB: - -Debug: -[elpi] - lp2term: depth=0 ctx=[] term=fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: -[elpi] - lp2term@0:fun `u` X0 c0 \ - app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: [elpi] lp2term@0:X0 -Debug: [elpi] lp2term: evar: calldepth:0 X0 RAW: -ELAB: - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X0 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; -Debug: [elpi] lp2term: evar: create_unknown: visible ctx: -Debug: [elpi] restrict_coq_context: named: -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx: -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X41 - EVARS: - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK: - ?X41 - -Debug: [elpi] lp2term@0:X0 -Debug: -[elpi] lp2term: evar: calldepth:0 X0 RAW: -?X41 <-> X0 -ELAB: -?X41 <-> X0 - -Debug: [elpi] lp2term: evar: already in Coq: ?X41 -Debug: -[elpi] - lp2term@1:app - [global (indc «SubType»), X1 c0, X2 c0, X3 c0, - app [global (const «oval»), c0], X4 c0, - fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] -Debug: [elpi] lp2term@1:global (indc «SubType») -Debug: [elpi] lp2term@1:X1 c0 -Debug: -[elpi] lp2term: evar: calldepth:0 X1 c0 RAW: -?X41 <-> X0 -ELAB: -?X41 <-> X0 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X1 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) -Debug: [elpi] in_elpi_evar:?X42 -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X43 - EVARS: - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@1:X1 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X1 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 - -Debug: [elpi] lp2term: evar: already in Coq: ?X43 -Debug: [elpi] lp2term@1:c0 -Debug: [elpi] lp2term@1:X2 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X2 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X2 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) -Debug: [elpi] in_elpi_evar:?X44 -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X45 - EVARS: - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@1:X2 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X2 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 - -Debug: [elpi] lp2term: evar: already in Coq: ?X45 -Debug: [elpi] lp2term@1:c0 -Debug: [elpi] lp2term@1:X3 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X3 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X3 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) -Debug: [elpi] in_elpi_evar:?X46 -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X47 - EVARS: - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 - elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= - -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X47 ?X46 ?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@1:X3 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X3 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 - -Debug: [elpi] lp2term: evar: already in Coq: ?X47 -Debug: [elpi] lp2term@1:c0 -Debug: [elpi] lp2term@1:app [global (const «oval»), c0] -Debug: [elpi] lp2term@1:global (const «oval») -Debug: [elpi] lp2term@1:c0 -Debug: [elpi] lp2term@1:X4 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X4 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X4 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) -Debug: [elpi] in_elpi_evar:?X48 -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X49 - EVARS: - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 - elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@1:X4 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X4 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 - -Debug: [elpi] lp2term: evar: already in Coq: ?X49 -Debug: [elpi] lp2term@1:c0 -Debug: -[elpi] - lp2term@1:fun `K` (X5 c0) c1 \ - fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@1:X5 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X5 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X5 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X50 - EVARS: - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 - elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 - elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= - -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@1:X5 c0 -Debug: -[elpi] - lp2term: evar: calldepth:0 X5 c0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 - -Debug: [elpi] lp2term: evar: already in Coq: ?X50 -Debug: [elpi] lp2term@1:c0 -Debug: -[elpi] - lp2term@2:fun `K_S` (X6 c0 c1) c2 \ - fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@2:X6 c0 c1 -Debug: -[elpi] - lp2term: evar: calldepth:0 X6 c0 c1 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X6 -Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) (K : ?e8) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 -c1 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - restrict_coq_context: cur subst: u - restrict_coq_context: looking at K(dbl 1) -Debug: [elpi] ?e8--0->?e8 -Debug: -[elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) (K : ?e8) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X51 - EVARS: - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 - elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 - elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@2:X6 c0 c1 -Debug: -[elpi] - lp2term: evar: calldepth:0 X6 c0 c1 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 - -Debug: [elpi] lp2term: evar: already in Coq: ?X51 -Debug: [elpi] lp2term@2:c0 -Debug: [elpi] lp2term@2:c1 -Debug: -[elpi] - lp2term@3:fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ - match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@3:X7 c0 c1 c2 -Debug: -[elpi] - lp2term: evar: calldepth:0 X7 c0 c1 c2 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X7 -Debug: -[elpi] - lp2term: evar: create_unknown: whole ctx: ; (u : ?e) - (K : ?e8) - (K_S : ?e9) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 -c2 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - restrict_coq_context: cur subst: u - restrict_coq_context: looking at K(dbl 1) -Debug: [elpi] ?e8--0->?e8 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - restrict_coq_context: cur subst: K - u - restrict_coq_context: looking at K_S(dbl 2) -Debug: [elpi] ?e9--0->?e9 -Debug: -[elpi] - lp2term: evar: create_unknown: restricted ctx:(u : ?e) - (K : ?e8) - (K_S : ?e9) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X52 - EVARS: - ?X52==[u K K_S |- Type] (internal placeholder) {?e10} - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.36 elpi_tests_stdlib.test_quotation.35 - elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 - elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 - elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= - -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 - α33 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@3:X7 c0 c1 c2 -Debug: -[elpi] - lp2term: evar: calldepth:0 X7 c0 c1 c2 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 - -Debug: [elpi] lp2term: evar: already in Coq: ?X52 -Debug: [elpi] lp2term@3:c0 -Debug: [elpi] lp2term@3:c1 -Debug: [elpi] lp2term@3:c2 -Debug: -[elpi] - lp2term@4:match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) - [fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] -Debug: [elpi] lp2term@4:c3 -Debug: [elpi] lp2term@4:fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4] -Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 -Debug: -[elpi] - lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X8 -Debug: -[elpi] - lp2term: evar: create_unknown: whole ctx: ; (u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 -c3 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - restrict_coq_context: cur subst: u - restrict_coq_context: looking at K(dbl 1) -Debug: [elpi] ?e8--0->?e8 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - restrict_coq_context: cur subst: K - u - restrict_coq_context: looking at K_S(dbl 2) -Debug: [elpi] ?e9--0->?e9 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - (K_S : ?e9) - restrict_coq_context: cur subst: K_S - K - u - restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) -Debug: [elpi] ?e10--0->?e10 -Debug: -[elpi] - lp2term: evar: create_unknown: restricted ctx:(u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X53 - EVARS: - ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} - ?X52==[u K K_S |- Type] (internal placeholder) {?e10} - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 - elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 - elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 - elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 - α33 - α34 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 -?X42 -?X41 - -Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 -Debug: -[elpi] - lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 - -Debug: [elpi] lp2term: evar: already in Coq: ?X53 -Debug: [elpi] lp2term@4:c0 -Debug: [elpi] lp2term@4:c1 -Debug: [elpi] lp2term@4:c2 -Debug: [elpi] lp2term@4:c3 -Debug: [elpi] lp2term@5:app [c1, c4] -Debug: [elpi] lp2term@5:c1 -Debug: [elpi] lp2term@5:c4 -Debug: -[elpi] - lp2term@4:fun `x` (X9 c0 c1 c2 c3) c4 \ - fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] -Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 -Debug: -[elpi] - lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X9 -Debug: -[elpi] - lp2term: evar: create_unknown: whole ctx: ; (u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 -c3 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - restrict_coq_context: cur subst: u - restrict_coq_context: looking at K(dbl 1) -Debug: [elpi] ?e8--0->?e8 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - restrict_coq_context: cur subst: K - u - restrict_coq_context: looking at K_S(dbl 2) -Debug: [elpi] ?e9--0->?e9 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - (K_S : ?e9) - restrict_coq_context: cur subst: K_S - K - u - restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) -Debug: [elpi] ?e10--0->?e10 -Debug: -[elpi] - lp2term: evar: create_unknown: restricted ctx:(u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X54 - EVARS: - ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} - ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} - ?X52==[u K K_S |- Type] (internal placeholder) {?e10} - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.38 elpi_tests_stdlib.test_quotation.37 - elpi_tests_stdlib.test_quotation.36 elpi_tests_stdlib.test_quotation.35 - elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 - elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 - elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= - -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 - α33 - α34 - α35 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X54 ?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 -?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 -Debug: -[elpi] - lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 - -Debug: [elpi] lp2term: evar: already in Coq: ?X54 -Debug: [elpi] lp2term@4:c0 -Debug: [elpi] lp2term@4:c1 -Debug: [elpi] lp2term@4:c2 -Debug: [elpi] lp2term@4:c3 -Debug: [elpi] lp2term@5:fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] -Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 -Debug: -[elpi] - lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 - -Debug: [elpi] lp2term: evar: unknown: calldepth:0 X10 -Debug: -[elpi] - lp2term: evar: create_unknown: whole ctx: ; (u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) - (x : ?e12) -Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 c3 -c4 -Debug: [elpi] restrict_coq_context: named: -Debug: -[elpi] - restrict_coq_context: cur rel ctx: - restrict_coq_context: cur subst: - restrict_coq_context: looking at u(dbl 0) -Debug: [elpi] ?e--0->?e -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - restrict_coq_context: cur subst: u - restrict_coq_context: looking at K(dbl 1) -Debug: [elpi] ?e8--0->?e8 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - restrict_coq_context: cur subst: K - u - restrict_coq_context: looking at K_S(dbl 2) -Debug: [elpi] ?e9--0->?e9 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - (K_S : ?e9) - restrict_coq_context: cur subst: K_S - K - u - restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) -Debug: [elpi] ?e10--0->?e10 -Debug: -[elpi] - restrict_coq_context: cur rel ctx: (u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) - restrict_coq_context: cur subst: _elpi_renamed_u_3 - K_S - K - u - restrict_coq_context: looking at x(dbl 4) -Debug: [elpi] ?e12--0->?e12 -Debug: -[elpi] - lp2term: evar: create_unknown: restricted ctx:(u : ?e) - (K : ?e8) - (K_S : ?e9) - (_elpi_renamed_u_3 : ?e10) - (x : ?e12) -Debug: -[elpi] - lp2term: evar: create_unknown: new link: ? |> |- ? = ?X55 - EVARS: - ?X55==[u K K_S _elpi_renamed_u_3 x |- Type] (internal placeholder) {?e13} - ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} - ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} - ?X52==[u K K_S |- Type] (internal placeholder) {?e10} - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - -UNIVERSES: - {elpi_tests_stdlib.test_quotation.39 elpi_tests_stdlib.test_quotation.38 - elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 - elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 - elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 - elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 - α33 - α34 - α35 - α36 -WEAK CONSTRAINTS: - -SHELF: -FUTURE GOALS STACK:?X55 ?X54 ?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 -?X44 ?X43 ?X42 -?X41 - -Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 -Debug: -[elpi] - lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] lp2term: evar: already in Coq: ?X55 -Debug: [elpi] lp2term@5:c0 -Debug: [elpi] lp2term@5:c1 -Debug: [elpi] lp2term@5:c2 -Debug: [elpi] lp2term@5:c3 -Debug: [elpi] lp2term@5:c4 -Debug: [elpi] lp2term@6:app [c2, c4, c5] -Debug: [elpi] lp2term@6:c2 -Debug: [elpi] lp2term@6:c4 -Debug: [elpi] lp2term@6:c5 -Debug: -[elpi] - lp2term: out=(fun u : ?e => - {| - val := oval u; - Sub := ?e7; - Sub_rect := - fun (K : ?e8) (K_S : ?e9) (_elpi_renamed_u_3 : ?e10) => - let - (x, Px) as u0 - return - ?e11@{u:=K; K:=K_S; K_S:=_elpi_renamed_u_3; - _elpi_renamed_u_3:=u0} := _elpi_renamed_u_3 in - K_S x Px - |}) - elpi2coq: - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -EVARS: - ?X55==[u K K_S _elpi_renamed_u_3 x |- Type] (internal placeholder) {?e13} - ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} - ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} - ?X52==[u K K_S |- Type] (internal placeholder) {?e10} - ?X51==[u K |- Type] (internal placeholder) {?e9} - ?X50==[u |- Type] (internal placeholder) {?e8} - ?X49==[u |- ?e6] (internal placeholder) {?e7} - ?X48==[u |- Type] (internal placeholder) {?e6} - ?X47==[u |- ?e4] (internal placeholder) {?e5} - ?X46==[u |- Type] (internal placeholder) {?e4} - ?X45==[u |- ?e2] (internal placeholder) {?e3} - ?X44==[u |- Type] (internal placeholder) {?e2} - ?X43==[u |- ?e0] (internal placeholder) {?e1} - ?X42==[u |- Type] (internal placeholder) {?e0} - ?X41==[ |- Type] (internal placeholder) {?e} - - UNIVERSES: - {elpi_tests_stdlib.test_quotation.39 elpi_tests_stdlib.test_quotation.38 - elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 - elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 - elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 - elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 - elpi_tests_stdlib.test_quotation.29} |= - ALGEBRAIC UNIVERSES: - {} - FLEXIBLE UNIVERSES: - - SORTS: - α26 - α27 - α28 - α29 - α30 - α31 - α32 - α33 - α34 - α35 - α36 - WEAK CONSTRAINTS: - - SHELF: - - FUTURE GOALS STACK: - ?X55 - ?X54 - ?X53 - ?X52 - ?X51 - ?X50 - ?X49 - ?X48 - ?X47 - ?X46 - ?X45 - ?X44 - ?X43 - ?X42 - ?X41 - -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X41 <-> X0 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=0 ctx= term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.29») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to0 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X41 <-> X0 - declare-evar [] (X0) (sort (typ «elpi_tests_stdlib.test_quotation.29»)) - (X0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X42 <-> X12 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.30») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X42 <-> X12 - pi c0 \ - declare-evar [decl c0 `u` (X0)] (X12 c0) - (sort (typ «elpi_tests_stdlib.test_quotation.30»)) (X11 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X43 <-> X1 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e0 -Debug: [elpi] in_elpi_evar:?X42 -Debug: [elpi] in_elpi_evar: known ?X42 as X11 -Debug: [elpi] term2lp (out): X11 c0 -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X43 <-> X1 - pi c0 \ declare-evar [decl c0 `u` (X0)] (X1 c0) (X11 c0) (X1 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X44 <-> X14 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.31») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X44 <-> X14 - pi c0 \ - declare-evar [decl c0 `u` (X0)] (X14 c0) - (sort (typ «elpi_tests_stdlib.test_quotation.31»)) (X13 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X45 <-> X2 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e2 -Debug: [elpi] in_elpi_evar:?X44 -Debug: [elpi] in_elpi_evar: known ?X44 as X13 -Debug: [elpi] term2lp (out): X13 c0 -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X45 <-> X2 - pi c0 \ declare-evar [decl c0 `u` (X0)] (X2 c0) (X13 c0) (X2 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X46 <-> X16 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.32») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X46 <-> X16 - pi c0 \ - declare-evar [decl c0 `u` (X0)] (X16 c0) - (sort (typ «elpi_tests_stdlib.test_quotation.32»)) (X15 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X47 <-> X3 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e4 -Debug: [elpi] in_elpi_evar:?X46 -Debug: [elpi] in_elpi_evar: known ?X46 as X15 -Debug: [elpi] term2lp (out): X15 c0 -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X47 <-> X3 - pi c0 \ declare-evar [decl c0 `u` (X0)] (X3 c0) (X15 c0) (X3 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X48 <-> X18 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.33») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X48 <-> X18 - pi c0 \ - declare-evar [decl c0 `u` (X0)] (X18 c0) - (sort (typ «elpi_tests_stdlib.test_quotation.33»)) (X17 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X49 <-> X4 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e6 -Debug: [elpi] in_elpi_evar:?X48 -Debug: [elpi] in_elpi_evar: known ?X48 as X17 -Debug: [elpi] term2lp (out): X17 c0 -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X49 <-> X4 - pi c0 \ declare-evar [decl c0 `u` (X0)] (X4 c0) (X17 c0) (X4 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X50 <-> X5 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.34») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X50 <-> X5 - pi c0 \ - declare-evar [decl c0 `u` (X0)] (X5 c0) - (sort (typ «elpi_tests_stdlib.test_quotation.34»)) (X5 c0) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X51 <-> X6 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 -Debug: [elpi] in_elpi_evar:?X50 -Debug: [elpi] in_elpi_evar: known ?X50 as X5 -Debug: [elpi] term2lp (out): X5 c0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e K : ?e8 term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.35») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to2 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X51 <-> X6 - pi c0 \ - pi c1 \ - declare-evar [decl c1 `K` (X5 c0), decl c0 `u` X0] (X6 c0 c1) - (sort (typ «elpi_tests_stdlib.test_quotation.35»)) (X6 c0 c1) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X52 <-> X7 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 -Debug: [elpi] in_elpi_evar:?X50 -Debug: [elpi] in_elpi_evar: known ?X50 as X5 -Debug: [elpi] term2lp (out): X5 c0 -Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 -Debug: [elpi] in_elpi_evar:?X51 -Debug: [elpi] in_elpi_evar: known ?X51 as X6 -Debug: [elpi] term2lp (out): X6 c0 c1 -Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 K_S : ?e9 term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.36») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to3 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X52 <-> X7 - pi c0 \ - pi c1 \ - pi c2 \ - declare-evar - [decl c2 `K_S` (X6 c0 c1), decl c1 `K` (X5 c0), decl c0 `u` X0] - (X7 c0 c1 c2) (sort (typ «elpi_tests_stdlib.test_quotation.36»)) - (X7 c0 c1 c2) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X53 <-> X8 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 -Debug: [elpi] in_elpi_evar:?X50 -Debug: [elpi] in_elpi_evar: known ?X50 as X5 -Debug: [elpi] term2lp (out): X5 c0 -Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 -Debug: [elpi] in_elpi_evar:?X51 -Debug: [elpi] in_elpi_evar: known ?X51 as X6 -Debug: [elpi] term2lp (out): X6 c0 c1 -Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 -Debug: [elpi] in_elpi_evar:?X52 -Debug: [elpi] in_elpi_evar: known ?X52 as X7 -Debug: [elpi] term2lp (out): X7 c0 c1 c2 -Debug: -[elpi] - term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.37») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to4 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X53 <-> X8 - pi c0 \ - pi c1 \ - pi c2 \ - pi c3 \ - declare-evar - [decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), - decl c1 `K` (X5 c0), decl c0 `u` X0] (X8 c0 c1 c2 c3) - (sort (typ «elpi_tests_stdlib.test_quotation.37»)) (X8 c0 c1 c2 c3) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X54 <-> X9 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 -Debug: [elpi] in_elpi_evar:?X50 -Debug: [elpi] in_elpi_evar: known ?X50 as X5 -Debug: [elpi] term2lp (out): X5 c0 -Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 -Debug: [elpi] in_elpi_evar:?X51 -Debug: [elpi] in_elpi_evar: known ?X51 as X6 -Debug: [elpi] term2lp (out): X6 c0 c1 -Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 -Debug: [elpi] in_elpi_evar:?X52 -Debug: [elpi] in_elpi_evar: known ?X52 as X7 -Debug: [elpi] term2lp (out): X7 c0 c1 c2 -Debug: -[elpi] - term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.38») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to4 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X54 <-> X9 - pi c0 \ - pi c1 \ - pi c2 \ - pi c3 \ - declare-evar - [decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), - decl c1 `K` (X5 c0), decl c0 `u` X0] (X9 c0 c1 c2 c3) - (sort (typ «elpi_tests_stdlib.test_quotation.38»)) (X9 c0 c1 c2 c3) -Debug: -[elpi] - in_elpi_fresh_evar: unknown ?X55 <-> X10 - RAW: -?X41 <-> X0 -?X42 <-> X12 -?X43 <-> X1 -?X44 <-> X14 -?X45 <-> X2 -?X46 <-> X16 -?X47 <-> X3 -?X48 <-> X18 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 -ELAB: -?X41 <-> X0 -?X42 <-> X11 -?X43 <-> X1 -?X44 <-> X13 -?X45 <-> X2 -?X46 <-> X15 -?X47 <-> X3 -?X48 <-> X17 -?X49 <-> X4 -?X50 <-> X5 -?X51 <-> X6 -?X52 <-> X7 -?X53 <-> X8 -?X54 <-> X9 -?X55 <-> X10 - -Debug: [elpi] term2lp: depth=1 ctx= term=?e -Debug: [elpi] in_elpi_evar:?X41 -Debug: [elpi] in_elpi_evar: known ?X41 as X0 -Debug: [elpi] term2lp (out): X0 -Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 -Debug: [elpi] in_elpi_evar:?X50 -Debug: [elpi] in_elpi_evar: known ?X50 as X5 -Debug: [elpi] term2lp (out): X5 c0 -Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 -Debug: [elpi] in_elpi_evar:?X51 -Debug: [elpi] in_elpi_evar: known ?X51 as X6 -Debug: [elpi] term2lp (out): X6 c0 c1 -Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 -Debug: [elpi] in_elpi_evar:?X52 -Debug: [elpi] in_elpi_evar: known ?X52 as X7 -Debug: [elpi] term2lp (out): X7 c0 c1 c2 -Debug: -[elpi] - term2lp: depth=5 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term= - ?e12 -Debug: [elpi] in_elpi_evar:?X54 -Debug: [elpi] in_elpi_evar: known ?X54 as X9 -Debug: [elpi] term2lp (out): X9 c0 c1 c2 c3 -Debug: -[elpi] - term2lp: depth=5 ctx=u : ?e - K : ?e8 - K_S : ?e9 - _elpi_renamed_u_3 : ?e10 - x : ?e12 term=Type -Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.39») -Debug: [elpi] in_elpi_evar_concl: moving Ctx down to5 -Debug: -[elpi] - in_elpi_fresh_evar: new decl at depth:0 for ?X55 <-> X10 - pi c0 \ - pi c1 \ - pi c2 \ - pi c3 \ - pi c4 \ - declare-evar - [decl c4 `x` (X9 c0 c1 c2 c3), - decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), - decl c1 `K` (X5 c0), decl c0 `u` X0] (X10 c0 c1 c2 c3 c4) - (sort (typ «elpi_tests_stdlib.test_quotation.39»)) - (X10 c0 c1 c2 c3 c4) -Debug: -[elpi] - Elpi: query-compilation:0.0009 static-check:0.0000 optimization:0.0001 runtime:0.0099 (with error) - -hd - : forall A : Type, A -> list A -> A -Debug: [elpi] gterm2lp: term=hd -Debug: [elpi] Compiler cache: lookups=8, hits=6 - -Debug: [elpi] Compiler cache: lookups=0, hits=0 - -File "./tests-stdlib/test_quotation.v", line 47, characters 32-33: -Warning: -File "./tests-stdlib/test_quotation.v", line 47, characters 32-33 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] +The Db contains [phone_prefix USA 1] +Phone prefix for USA is 1 +The Db contains +[phone_prefix USA 1, phone_prefix France 33, phone_prefix Italy 39] +Phone prefix for France is 33 +sweet! +brr +yummy! (eq_refl : 2 = (let z := 1 in S z)) Query assignments: GRnat = indt «nat» @@ -4316,17 +1395,6 @@ File "./examples/tutorial_coq_elpi_HOAS.v", line 754, characters 12-14 Ty is linear: name it _Ty (discard) or Ty_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -foo = -{f1 : Type & {f2 : f1 -> Type & forall t : f1, f2 t -> bool}} - : Type -mk_foo = -fun (f1 : Type) (f2 : f1 -> Type) (f3 : forall t : f1, f2 t -> bool) => -existT (fun f4 : Type => {f5 : f4 -> Type & forall t : f4, f5 t -> bool}) f1 - (existT (fun f4 : f1 -> Type => forall t : f1, f4 t -> bool) f2 f3) - : forall (f1 : Type) (f2 : f1 -> Type), - (forall t : f1, f2 t -> bool) -> foo - -Arguments mk_foo f1%type_scope (f2 f3)%function_scope The age of alice is 20 Query assignments: A = 20 @@ -4911,7 +1979,7 @@ Debug: rid:2 step:8 gid:29 user:rule:backchain:candidates = File "(context step_id:4)", line 1, column 0, characters 0-0: -Debug: }}} -> (0.000s) +Debug: }}} -> (0.017s) Debug: select 5 {{{ Debug: @@ -5175,6 +2243,18 @@ File "./examples/tutorial_elpi_lang.v", line 1518, characters 28-29 C is linear: name it _C (discard) or C_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] +File "./apps/eltac/theories/apply.v", line 15, characters 16-19: +Warning: +File "./apps/eltac/theories/apply.v", line 15, characters 16-19 +Ctx is linear: name it _Ctx (discard) or Ctx_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./apps/NES/theories/NES.v", line 39, characters 0-42: +Warning: +Undeclared globals: +- File "/build/reproducible-path/coq-elpi-2.5.0/apps/NES/elpi/nes_interp.elpi", line 6, column 24, characters 152-161: ns. +Please add the following text to your program: +type ns list string -> modpath -> prop. +[elpi.missing-types,elpi.typecheck,elpi,default] Hello [str world!] Hello [int 46] Hello [str there] @@ -5246,7 +2326,7 @@ interp x := some (app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]) -The module is «elpi_examples.tutorial_coq_elpi_command.Module13» +The module is «elpi_examples.tutorial_coq_elpi_command.Module75» Box.Box.Box.Box.foo = fun n : nat => n + 2 : nat -> nat @@ -5276,464 +2356,6 @@ File "./tests/perf_calls.v", line 13, characters 7-8 N is linear: name it _N (discard) or N_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -Coq version: 8.20.1 = 8 . 20 . 1 -Query assignments: - MA = 8 - MI = 20 - P = 1 - V = 8.20.1 -hello world -A -B -Query assignments: - GR = «nat» -Query assignments: - GR = «Nat.add» - MP = «Coq.Init.Datatypes» -Query assignments: - A = «elpi.tests.test_API.succ» - GR = «Nat.add» - MP = «Coq.Init.Datatypes» - X1 = [loc-gref (const «Nat.add»)] - X2 = [loc-gref (const «Nat.add»)] - X3 = [loc-abbreviation «elpi.tests.test_API.succ»] - X4 = [loc-modpath «Coq.Init.Datatypes»] -Universe constraints: -Query assignments: - X = «elpi.tests.test_API.1» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API.1} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - X = typ «elpi.tests.test_API.2» - Y = typ «elpi.tests.test_API.3» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API.3 elpi.tests.test_API.2} |= - elpi.tests.test_API.2 <= elpi.tests.test_API.3 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - X = typ «elpi.tests.test_API.4» - Y = typ «elpi.tests.test_API.5» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API.5 elpi.tests.test_API.4} |= - elpi.tests.test_API.4 <= elpi.tests.test_API.5 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - X = typ «elpi.tests.test_API.6» - Y = typ «elpi.tests.test_API.7» - Z = typ «elpi.tests.test_API.8» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API.8 elpi.tests.test_API.7 elpi.tests.test_API.6} |= - elpi.tests.test_API.6 <= elpi.tests.test_API.8 - elpi.tests.test_API.7 <= elpi.tests.test_API.8 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - X = typ «elpi.tests.test_API.9» - Y = typ «elpi.tests.test_API.10» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API.10 elpi.tests.test_API.9} |= - elpi.tests.test_API.9 < elpi.tests.test_API.10 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -[foo (const «X»), foo (indt «nat»), foo (indt «bool»)] -[foo (indt «nat»), foo (indt «bool»)] -[] -[foo (indt «nat»)] -hello [int 1, int 2, trm (global (indt «nat»)), str x] -coq.pp.box (coq.pp.hv 2) - [coq.pp.str Module, coq.pp.spc, coq.pp.str Foo, coq.pp.spc, coq.pp.str :=, - coq.pp.brk 1 0, coq.pp.str body, coq.pp.spc, coq.pp.str End Foo.] -Module - Foo - := - body - End Foo. -fix foo (x : ?e3) (y : ?e4) {struct x} : ?e2 := - match x as _elpi_renamed_x_3 return ?e6 with - | true => S (S (S O)) - | false => y - end -fix foo x y {struct x} := if x as _elpi_renamed_x_3 then 3 else y -File "./tests/test_API.v", line 73, characters 37-39: -Warning: -File "./tests/test_API.v", line 73, characters 37-39 -MP is linear: name it _MP (discard) or MP_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 81, characters 54-55: -Warning: -File "./tests/test_API.v", line 81, characters 54-55 -A is linear: name it _A (discard) or A_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 82, characters 56-58: -Warning: -File "./tests/test_API.v", line 82, characters 56-58 -MP is linear: name it _MP (discard) or MP_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 91, characters 29-30: -Warning: -File "./tests/test_API.v", line 91, characters 29-30 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 92, characters 29-30: -Warning: -File "./tests/test_API.v", line 92, characters 29-30 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 92, characters 31-32: -Warning: -File "./tests/test_API.v", line 92, characters 31-32 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 93, characters 28-29: -Warning: -File "./tests/test_API.v", line 93, characters 28-29 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 93, characters 30-31: -Warning: -File "./tests/test_API.v", line 93, characters 30-31 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 94, characters 36-37: -Warning: -File "./tests/test_API.v", line 94, characters 36-37 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 94, characters 38-39: -Warning: -File "./tests/test_API.v", line 94, characters 38-39 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 94, characters 40-41: -Warning: -File "./tests/test_API.v", line 94, characters 40-41 -Z is linear: name it _Z (discard) or Z_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 95, characters 29-30: -Warning: -File "./tests/test_API.v", line 95, characters 29-30 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API.v", line 95, characters 31-32: -Warning: -File "./tests/test_API.v", line 95, characters 31-32 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -Query assignments: - I = const «imp» -X2.imp : forall (T : Type) (x : T), x = x -> Prop - -X2.imp is not universe polymorphic -Arguments X2.imp T%type_scope x _ -Expands to: Constant elpi.tests.test_API_arguments.X2.imp -Query assignments: - %arg1 = const «foo» -foo 3 - : nat -Query assignments: - %arg1 = const «f» - %arg2 = const «f» - %arg3 = const «f» - %arg4 = const «f» - %arg5 = const «f» -f : forall [S : Type], S -> Prop - -f is not universe polymorphic -Arguments f [S]%type_scope _ - (where some original arguments have been renamed) -f is transparent -Expands to: Constant elpi.tests.test_API_arguments.f -f (S:=bool * bool) - : bool * bool -> Prop -Query assignments: - %arg1 = const «f» -f : forall [S : Type], S -> Prop - -f is not universe polymorphic -Arguments f [S]%type_scope / _ - (where some original arguments have been renamed) -The reduction tactics unfold f when applied to 1 argument -f is transparent -Expands to: Constant elpi.tests.test_API_arguments.f -f (S:=bool * bool) - : bool * bool -> Prop - = fun x : bool => x = x - : bool -> Prop -Query assignments: - GR = const «myi» -Query assignments: - GR = const «myi» -myi : Reflexive R - : Reflexive R -Query assignments: - GR = const «myi» -Query assignments: - L = [tc-instance (const «relation_equivalence_rewrite_relation») 0, - tc-instance (const «iff_rewrite_relation») 2, - tc-instance (const «impl_rewrite_relation») 3, - tc-instance (const «inverse_impl_rewrite_relation») 3, - tc-instance (const «Equivalence_PER») 10, - tc-instance (const «relation_equivalence_equivalence») 0, - tc-instance (const «predicate_equivalence_equivalence») 0, - tc-instance (const «iff_equivalence») 0, - tc-instance (const «eq_equivalence») 10, - tc-instance (const «relation_implication_preorder») 0, - tc-instance (const «predicate_implication_preorder») 0, - tc-instance (const «Equivalence_PreOrder») 10, - tc-instance (const «Bool.Decidable_eq_bool») 0, - tc-instance (const «DecidableClass.Decidable_not») 1, - tc-instance (const «subrelation_partial_order») 0, - tc-instance (const «iff_Transitive») 0, - tc-instance (const «impl_Transitive») 0, - tc-instance (const «eq_Transitive») 0, - tc-instance (const «Equivalence_Transitive») 1, - tc-instance (const «StrictOrder_Transitive») 1, - tc-instance (const «PreOrder_Transitive») 2, - tc-instance (const «PER_Transitive») 3, - tc-instance (const «StrictOrder_Irreflexive») 1, - tc-instance (const «StrictOrder_Asymmetric») 1, - tc-instance (const «iff_Reflexive») 0, - tc-instance (const «impl_Reflexive») 0, - tc-instance (const «eq_Reflexive») 0, - tc-instance (const «Equivalence_Reflexive») 1, - tc-instance (const «PreOrder_Reflexive») 2, - tc-instance (const «myi») 10, - tc-instance (const «partial_order_antisym») 2, - tc-instance (const «iff_Symmetric») 0, - tc-instance (const «neq_Symmetric») 0, - tc-instance (const «eq_Symmetric») 0, - tc-instance (const «Equivalence_Symmetric») 1, - tc-instance (const «PER_Symmetric») 3] -Query assignments: - GR = indt «RewriteRelation» - L = [tc-instance (const «relation_equivalence_rewrite_relation») 0, - tc-instance (const «iff_rewrite_relation») 2, - tc-instance (const «impl_rewrite_relation») 3, - tc-instance (const «inverse_impl_rewrite_relation») 3] -Query assignments: - GR = indt «RewriteRelation» -Query assignments: - GR = indt «True» -Query assignments: - Check = c0 \ -sigma c1 \ - c0 = expected c1 , - std.mem - [tc-instance (const «hint_c») 0, tc-instance (const «instance_c») 0, - tc-instance (const «instance_g») 4, tc-instance (const «hint_g») 5] - c1 - Exp = [expected (tc-instance (const «hint_c») 0), - expected (tc-instance (const «instance_c») 0), - expected (tc-instance (const «instance_g») 4), - expected (tc-instance (const «hint_g») 5)] - L = [tc-instance (const «hint_c») 0, tc-instance (const «instance_c») 0, - tc-instance (const «instance_g») 4, tc-instance (const «hint_g») 5] -Query assignments: - GR = const «myc» -eq_op myc t t - : bool -Query assignments: - L = [cs-instance (const «carrier») (cs-gref (const «W»)) (const «myc»), - cs-instance (const «eq_op») (cs-gref (const «Z»)) (const «myc»)] -Query assignments: - I = «eq» - P1 = «carrier» - P2 = «eq_op» -Query assignments: - GR = const «myc1» -eq_op myc1 t1 t1 - : bool -Query assignments: - P = const «eq_op» -Query assignments: - W = const «W» -[cs-instance (const «eq_op») (cs-gref (const «Z1»)) (const «myc1»)] -Query assignments: - L = [cs-instance (const «eq_op») (cs-gref (const «Z1»)) (const «myc1»)] - P = const «eq_op» - W = const «Z1» -Query assignments: - P = const «eq_op» - W = indt «nat» -Query assignments: - C1 = const «C1» - GR1 = const «c12» - GR2 = const «c1t» - GR3 = const «c1f» -fun x : C1 => x : C2 - : C1 -> C2 -fun (x : C1) (_ : x) => true - : forall x : C1, x -> bool -fun x : C1 => x 3 - : C1 -> nat -Query assignments: - L = [coercion (const «c1t») 0 (const «C1») sortclass, - coercion (const «c1f») 0 (const «C1») funclass, - coercion (const «c12») 0 (const «C1») (grefclass (const «C2»)), - coercion (const «reverse_coercion») 3 (const «ReverseCoercionSource») - (grefclass (const «ReverseCoercionTarget»))] -Query assignments: - %arg1 = const «nuc» -nuc : forall x : nat, C1 -> C3 x - -nuc is not universe polymorphic -Arguments nuc x%nat_scope _ -nuc is a reversible coercion -Expands to: Constant elpi.tests.test_API_TC_CS.nuc -File "./tests/test_API_TC_CS.v", line 42, characters 26-27: -Warning: -File "./tests/test_API_TC_CS.v", line 42, characters 26-27 -L is linear: name it _L (discard) or L_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (equiv_rewrite_relation R) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_StrictOrder) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_PreOrder) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @PartialOrder_inverse) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @subrelation_symmetric) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Transitive) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Irreflexive) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @complement_Irreflexive) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Asymmetric) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @irreflexivity) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (apply flip_Reflexive) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) unconvertible -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Antisymmetric) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Symmetric) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 42, characters 0-30: -Warning: -There is an hint extern in the typeclass db: -(*external*) (class_apply @complement_Symmetric) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 43, characters 66-67: -Warning: -File "./tests/test_API_TC_CS.v", line 43, characters 66-67 -L is linear: name it _L (discard) or L_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API_TC_CS.v", line 43, characters 0-70: -Warning: -There is an hint extern in the typeclass db: -(*external*) (equiv_rewrite_relation R) -[elpi.TC.hints,elpi,default] -File "./tests/test_API_TC_CS.v", line 102, characters 27-28: -Warning: -File "./tests/test_API_TC_CS.v", line 102, characters 27-28 -L is linear: name it _L (discard) or L_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API_TC_CS.v", line 159, characters 32-33: -Warning: -File "./tests/test_API_TC_CS.v", line 159, characters 32-33 -L is linear: name it _L (discard) or L_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -eq_refl : d = 3 - : d = 3 -eq_refl : e = 4 - : e = 4 -foo = fun a b c : nat => a + b + c + d + e - : nat -> nat -> nat -> nat - -Arguments foo a%nat_scope [b]%nat_scope {c}%nat_scope -Query assignments: - %arg1 = const «foo» Debug: run 1 {{{ Debug: @@ -5761,7 +2383,7 @@ Debug: rid:0 step:1 gid:5 user:rule:implication = success -Debug: }}} -> (0.000s) +Debug: }}} -> (0.001s) Debug: run 2 {{{ Debug: @@ -6164,7 +2786,7 @@ rid:0 step:13 gid:19 user:rule:backchain:candidates = File "elpi-builtin.elpi", line 34, column 0, characters 373-385: File "elpi-builtin.elpi", line 36, column 0, characters 388-400: -Debug: }}} -> (0.000s) +Debug: }}} -> (0.017s) Debug: select 10 {{{ Debug: @@ -6738,7 +3360,7 @@ c1, c6, c8], app [c3, c7, c9]]]]) -Debug: }}} -> (0.001s) +Debug: }}} -> (0.025s) Debug: run 28 {{{ Debug: @@ -6872,7 +3494,7 @@ Debug: rid:1 step:356 gid:1042 user:rule:eq = success -Debug: }}} -> (0.000s) +Debug: }}} -> (0.029s) Debug: run 357 {{{ Debug: @@ -7299,7 +3921,7 @@ Debug: rid:1 step:364 gid:1048 user:newgoal = X8 = «expanded_g» -Debug: }}} -> (0.001s) +Debug: }}} -> (0.009s) Debug: run 365 {{{ Debug: @@ -7682,399 +4304,3931 @@ c1, c2])]) Debug: - rid:1 step:371 gid:692 user:subgoal = 1052 - + rid:1 step:371 gid:692 user:subgoal = 1052 + +Debug: + rid:1 step:371 gid:1052 user:newgoal = coq.elpi.accumulate-clauses X213 + record.expand.db + [clause _ (before expand:start) + (pi c0 \ + pi c1 \ + pi c2 \ + pi c3 \ + pi c4 \ + pi c5 \ + pi c6 \ + pi c7 \ + pi c8 \ + pi c9 \ + pi c10 \ + expand + (app + [global + (const «g»), + c0, c3, c5, c7 | c9]) + (app + [global + (const + «expanded_g»), + c1, c2, c4, c6, c8 | c10]) + :- + [!, + std.map c9 expand c10, + expand c7 c8, + expand c5 c6, + expand c3 c4, + expand c0 + (app + [global + (indc + «Build_r»), + c1, c2])])] + +Debug: + rid:1 step:371 gid:1052 user:rule:backchain = success + +Debug: }}} -> (0.000s) +Debug: run 372 {{{ + +Debug: + rid:1 step:372 gid:1052 user:curgoal = coq.elpi.accumulate-clauses + coq.elpi.accumulate-clauses X213 + record.expand.db + [clause _ (before expand:start) + (pi c0 \ + pi c1 \ + pi c2 \ + pi c3 \ + pi c4 \ + pi c5 \ + pi c6 \ + pi c7 \ + pi c8 \ + pi c9 \ + pi c10 \ + expand + (app + [global + (const «g»), + c0, c3, c5, c7 | c9]) + (app + [global + (const + «expanded_g»), + c1, c2, c4, c6, c8 | c10]) + :- + [!, + std.map c9 expand c10, + expand c7 c8, + expand c5 c6, + expand c3 c4, + expand c0 + (app + [global + (indc + «Build_r»), + c1, c2])])] + +Debug: + rid:1 step:372 gid:1052 user:rule = builtin + +Debug: + rid:1 step:372 gid:1052 user:rule:builtin:name = coq.elpi.accumulate-clauses + +Debug: + rid:1 step:372 gid:1052 user:rule:builtin = success + +Debug: }}} -> (0.000s) +expanded_g = +fun T : Type => +let X := T in +fun (op : T -> X -> bool) (l s : list T) (h : bool) => +(forall (x : T) (y : X), op x y = false) /\ expanded_f true T op l s = h + : forall T : Type, (T -> T -> bool) -> list T -> list T -> bool -> Prop + +Arguments expanded_g T%type_scope op%function_scope + (l s)%list_scope h%bool_scope +Goal: +[decl c1 `y` (global (indt «nat»)), decl c0 `x` (global (indt «nat»))] +|- X0 c0 c1 : +app + [global (indt «eq»), global (indt «nat»), + app + [global (const «Nat.add»), c0, + app [global (indc «S»), global (indc «O»)]], c1] +(I, 0) +conj : forall [A B : Prop], A -> B -> A /\ B + +conj is not universe polymorphic +Arguments conj [A B]%type_scope _ _ +Expands to: Constructor Coq.Init.Logic.conj +(ex_intro (fun t : Prop => True /\ True /\ t) True (conj I (conj I I))) +[int 1, str x, str a b, + trm + (app + [global (indt «eq»), X0, + app [global (indc «S»), global (indc «O»)], global (indc «O»)])] +Using H ?p of type Q +Using H ?p of type Q +Using p of type P +[trm c0, trm c3, trm (app [c2, c3])] +found P +found P /\ P +Goal: [decl c0 `x` (global (indt «nat»))] |- X0 c0 : +app + [global (indt «eq»), global (indt «nat»), + app + [global (const «Nat.add»), c0, + app [global (indc «S»), global (indc «O»)]], global (indc «O»)] +Proof state: + {c0} : decl c0 `x` (global (indt «nat»)) + ?- evar (X1 c0) + (app + [global (indt «eq»), global (indt «nat»), + app + [global (const «Nat.add»), c0, + app [global (indc «S»), global (indc «O»)]], + global (indc «O»)]) (X0 c0) /* suspended on X1, X0 */ +EVARS: + ?X57==[x |- x + 1 = 0] (goal evar) {?Goal} + ?X56==[ |- => fun x : nat => ?Goal] (goal evar) + ?X55==[x |- => nat] (parameter A of eq) + ?X54==[ |- => nat] (type of x) + +SHELF:|| +FUTURE GOALS STACK: + || + +Rocq-Elpi mapping: +RAW: +?X57 <-> c0 \ X1 c0 +ELAB: +?X57 <-> X0 + +#goals = 2 +[nabla c0 \ + nabla c1 \ + seal + (goal [decl c1 `Q` (sort prop), decl c0 `P` (sort prop)] (X0 c0 c1) c0 + (X1 c0 c1) []), + nabla c0 \ + nabla c1 \ + seal + (goal [decl c1 `Q` (sort prop), decl c0 `P` (sort prop)] (X2 c0 c1) c1 + (X3 c0 c1) [])] +(fun (P Q : Prop) (p : P) (q : Q) => conj ?Goal (conj ?Goal0 ?Goal1)) +(fun (P Q : Prop) (p : P) (q : Q) => conj ?Goal0 (conj ?Goal ?Goal0)) +foo = 46 + : nat +bar = (false :: nil)%list + : list bool +baz = (46%nat :: nil)%list + : list nat +File "./examples/tutorial_coq_elpi_tactic.v", line 632, characters 0-22: +Warning: x is already taken, Elpi will make a name up [lib,elpi,default] +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 32-33: +Warning: +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 32-33 +A is linear: name it _A (discard) or A_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 40-41: +Warning: +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 40-41 +B is linear: name it _B (discard) or B_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 14-17: +Warning: +File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 14-17 +Ctx is linear: name it _Ctx (discard) or Ctx_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./examples/tutorial_coq_elpi_tactic.v", line 843, characters 44-46: +Warning: +File "./examples/tutorial_coq_elpi_tactic.v", line 843, characters 44-46 +G1 is linear: name it _G1 (discard) or G1_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./examples/tutorial_coq_elpi_tactic.v", line 844, characters 44-46: +Warning: +File "./examples/tutorial_coq_elpi_tactic.v", line 844, characters 44-46 +G2 is linear: name it _G2 (discard) or G2_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +Query assignments: + I = const «imp» +X2.imp : forall (T : Type) (x : T), x = x -> Prop + +X2.imp is not universe polymorphic +Arguments X2.imp T%type_scope x _ +Expands to: Constant elpi.tests.test_API_arguments.X2.imp +Query assignments: + %arg1 = const «foo» +foo 3 + : nat +Query assignments: + %arg1 = const «f» + %arg2 = const «f» + %arg3 = const «f» + %arg4 = const «f» + %arg5 = const «f» +f : forall [S : Type], S -> Prop + +f is not universe polymorphic +Arguments f [S]%type_scope _ + (where some original arguments have been renamed) +f is transparent +Expands to: Constant elpi.tests.test_API_arguments.f +f (S:=bool * bool) + : bool * bool -> Prop +Query assignments: + %arg1 = const «f» +f : forall [S : Type], S -> Prop + +f is not universe polymorphic +Arguments f [S]%type_scope / _ + (where some original arguments have been renamed) +The reduction tactics unfold f when applied to 1 argument +f is transparent +Expands to: Constant elpi.tests.test_API_arguments.f +f (S:=bool * bool) + : bool * bool -> Prop + = fun x : bool => x = x + : bool -> Prop +Query assignments: + GR = const «myi» +Query assignments: + GR = const «myi» +myi : Reflexive R + : Reflexive R +Query assignments: + GR = const «myi» +Query assignments: + L = [tc-instance (const «relation_equivalence_rewrite_relation») 0, + tc-instance (const «iff_rewrite_relation») 2, + tc-instance (const «impl_rewrite_relation») 3, + tc-instance (const «inverse_impl_rewrite_relation») 3, + tc-instance (const «Equivalence_PER») 10, + tc-instance (const «relation_equivalence_equivalence») 0, + tc-instance (const «predicate_equivalence_equivalence») 0, + tc-instance (const «iff_equivalence») 0, + tc-instance (const «eq_equivalence») 10, + tc-instance (const «relation_implication_preorder») 0, + tc-instance (const «predicate_implication_preorder») 0, + tc-instance (const «Equivalence_PreOrder») 10, + tc-instance (const «Bool.Decidable_eq_bool») 0, + tc-instance (const «DecidableClass.Decidable_not») 1, + tc-instance (const «subrelation_partial_order») 0, + tc-instance (const «iff_Transitive») 0, + tc-instance (const «impl_Transitive») 0, + tc-instance (const «eq_Transitive») 0, + tc-instance (const «Equivalence_Transitive») 1, + tc-instance (const «StrictOrder_Transitive») 1, + tc-instance (const «PreOrder_Transitive») 2, + tc-instance (const «PER_Transitive») 3, + tc-instance (const «StrictOrder_Irreflexive») 1, + tc-instance (const «StrictOrder_Asymmetric») 1, + tc-instance (const «iff_Reflexive») 0, + tc-instance (const «impl_Reflexive») 0, + tc-instance (const «eq_Reflexive») 0, + tc-instance (const «Equivalence_Reflexive») 1, + tc-instance (const «PreOrder_Reflexive») 2, + tc-instance (const «myi») 10, + tc-instance (const «partial_order_antisym») 2, + tc-instance (const «iff_Symmetric») 0, + tc-instance (const «neq_Symmetric») 0, + tc-instance (const «eq_Symmetric») 0, + tc-instance (const «Equivalence_Symmetric») 1, + tc-instance (const «PER_Symmetric») 3] +Query assignments: + GR = indt «RewriteRelation» + L = [tc-instance (const «relation_equivalence_rewrite_relation») 0, + tc-instance (const «iff_rewrite_relation») 2, + tc-instance (const «impl_rewrite_relation») 3, + tc-instance (const «inverse_impl_rewrite_relation») 3] +Query assignments: + GR = indt «RewriteRelation» +Query assignments: + GR = indt «True» +Query assignments: + Check = c0 \ +sigma c1 \ + c0 = expected c1 , + std.mem + [tc-instance (const «hint_c») 0, tc-instance (const «instance_c») 0, + tc-instance (const «instance_g») 4, tc-instance (const «hint_g») 5] + c1 + Exp = [expected (tc-instance (const «hint_c») 0), + expected (tc-instance (const «instance_c») 0), + expected (tc-instance (const «instance_g») 4), + expected (tc-instance (const «hint_g») 5)] + L = [tc-instance (const «hint_c») 0, tc-instance (const «instance_c») 0, + tc-instance (const «instance_g») 4, tc-instance (const «hint_g») 5] +Query assignments: + GR = const «myc» +eq_op myc t t + : bool +Query assignments: + L = [cs-instance (const «carrier») (cs-gref (const «W»)) (const «myc»), + cs-instance (const «eq_op») (cs-gref (const «Z»)) (const «myc»)] +Query assignments: + I = «eq» + P1 = «carrier» + P2 = «eq_op» +Query assignments: + GR = const «myc1» +eq_op myc1 t1 t1 + : bool +Query assignments: + P = const «eq_op» +Query assignments: + W = const «W» +[cs-instance (const «eq_op») (cs-gref (const «Z1»)) (const «myc1»)] +Query assignments: + L = [cs-instance (const «eq_op») (cs-gref (const «Z1»)) (const «myc1»)] + P = const «eq_op» + W = const «Z1» +Query assignments: + P = const «eq_op» + W = indt «nat» +Query assignments: + C1 = const «C1» + GR1 = const «c12» + GR2 = const «c1t» + GR3 = const «c1f» +fun x : C1 => x : C2 + : C1 -> C2 +fun (x : C1) (_ : x) => true + : forall x : C1, x -> bool +fun x : C1 => x 3 + : C1 -> nat +Query assignments: + L = [coercion (const «c1t») 0 (const «C1») sortclass, + coercion (const «c1f») 0 (const «C1») funclass, + coercion (const «c12») 0 (const «C1») (grefclass (const «C2»)), + coercion (const «reverse_coercion») 3 (const «ReverseCoercionSource») + (grefclass (const «ReverseCoercionTarget»))] +Query assignments: + %arg1 = const «nuc» +nuc : forall x : nat, C1 -> C3 x + +nuc is not universe polymorphic +Arguments nuc x%nat_scope _ +nuc is a reversible coercion +Expands to: Constant elpi.tests.test_API_TC_CS.nuc +File "./tests/test_API_TC_CS.v", line 42, characters 26-27: +Warning: +File "./tests/test_API_TC_CS.v", line 42, characters 26-27 +L is linear: name it _L (discard) or L_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (equiv_rewrite_relation R) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_StrictOrder) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_PreOrder) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @PartialOrder_inverse) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @subrelation_symmetric) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_Transitive) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_Irreflexive) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @complement_Irreflexive) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_Asymmetric) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @irreflexivity) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (apply flip_Reflexive) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) unconvertible +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_Antisymmetric) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @flip_Symmetric) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 42, characters 0-30: +Warning: +There is an hint extern in the typeclass db: +(*external*) (class_apply @complement_Symmetric) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 43, characters 66-67: +Warning: +File "./tests/test_API_TC_CS.v", line 43, characters 66-67 +L is linear: name it _L (discard) or L_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API_TC_CS.v", line 43, characters 0-70: +Warning: +There is an hint extern in the typeclass db: +(*external*) (equiv_rewrite_relation R) +[elpi.TC.hints,elpi,default] +File "./tests/test_API_TC_CS.v", line 102, characters 27-28: +Warning: +File "./tests/test_API_TC_CS.v", line 102, characters 27-28 +L is linear: name it _L (discard) or L_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API_TC_CS.v", line 159, characters 32-33: +Warning: +File "./tests/test_API_TC_CS.v", line 159, characters 32-33 +L is linear: name it _L (discard) or L_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +Coq version: 8.20.1 = 8 . 20 . 1 +Query assignments: + MA = 8 + MI = 20 + P = 1 + V = 8.20.1 +hello world +A +B +Query assignments: + GR = «nat» +Query assignments: + GR = «Nat.add» + MP = «Coq.Init.Datatypes» +Query assignments: + A = «elpi.tests.test_API.succ» + GR = «Nat.add» + MP = «Coq.Init.Datatypes» + X1 = [loc-gref (const «Nat.add»)] + X2 = [loc-gref (const «Nat.add»)] + X3 = [loc-abbreviation «elpi.tests.test_API.succ»] + X4 = [loc-modpath «Coq.Init.Datatypes»] +Universe constraints: +Query assignments: + X = «elpi.tests.test_API.1» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API.1} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + X = typ «elpi.tests.test_API.2» + Y = typ «elpi.tests.test_API.3» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API.3 elpi.tests.test_API.2} |= + elpi.tests.test_API.2 <= elpi.tests.test_API.3 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + X = typ «elpi.tests.test_API.4» + Y = typ «elpi.tests.test_API.5» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API.5 elpi.tests.test_API.4} |= + elpi.tests.test_API.4 <= elpi.tests.test_API.5 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + X = typ «elpi.tests.test_API.6» + Y = typ «elpi.tests.test_API.7» + Z = typ «elpi.tests.test_API.8» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API.8 elpi.tests.test_API.7 elpi.tests.test_API.6} |= + elpi.tests.test_API.6 <= elpi.tests.test_API.8 + elpi.tests.test_API.7 <= elpi.tests.test_API.8 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + X = typ «elpi.tests.test_API.9» + Y = typ «elpi.tests.test_API.10» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API.10 elpi.tests.test_API.9} |= + elpi.tests.test_API.9 < elpi.tests.test_API.10 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +[foo (const «X»), foo (indt «nat»), foo (indt «bool»)] +[foo (indt «nat»), foo (indt «bool»)] +[] +[foo (indt «nat»)] +hello [int 1, int 2, trm (global (indt «nat»)), str x] +coq.pp.box (coq.pp.hv 2) + [coq.pp.str Module, coq.pp.spc, coq.pp.str Foo, coq.pp.spc, coq.pp.str :=, + coq.pp.brk 1 0, coq.pp.str body, coq.pp.spc, coq.pp.str End Foo.] +Module + Foo + := + body + End Foo. +fix foo (x : ?e3) (y : ?e4) {struct x} : ?e2 := + match x as _elpi_renamed_x_3 return ?e6 with + | true => S (S (S O)) + | false => y + end +fix foo x y {struct x} := if x as _elpi_renamed_x_3 then 3 else y +File "./tests/test_API.v", line 73, characters 37-39: +Warning: +File "./tests/test_API.v", line 73, characters 37-39 +MP is linear: name it _MP (discard) or MP_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 81, characters 54-55: +Warning: +File "./tests/test_API.v", line 81, characters 54-55 +A is linear: name it _A (discard) or A_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 82, characters 56-58: +Warning: +File "./tests/test_API.v", line 82, characters 56-58 +MP is linear: name it _MP (discard) or MP_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 91, characters 29-30: +Warning: +File "./tests/test_API.v", line 91, characters 29-30 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 92, characters 29-30: +Warning: +File "./tests/test_API.v", line 92, characters 29-30 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 92, characters 31-32: +Warning: +File "./tests/test_API.v", line 92, characters 31-32 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 93, characters 28-29: +Warning: +File "./tests/test_API.v", line 93, characters 28-29 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 93, characters 30-31: +Warning: +File "./tests/test_API.v", line 93, characters 30-31 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 94, characters 36-37: +Warning: +File "./tests/test_API.v", line 94, characters 36-37 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 94, characters 38-39: +Warning: +File "./tests/test_API.v", line 94, characters 38-39 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 94, characters 40-41: +Warning: +File "./tests/test_API.v", line 94, characters 40-41 +Z is linear: name it _Z (discard) or Z_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 95, characters 29-30: +Warning: +File "./tests/test_API.v", line 95, characters 29-30 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API.v", line 95, characters 31-32: +Warning: +File "./tests/test_API.v", line 95, characters 31-32 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +eq_refl : d = 3 + : d = 3 +eq_refl : e = 4 + : e = 4 +foo = fun a b c : nat => a + b + c + d + e + : nat -> nat -> nat -> nat + +Arguments foo a%nat_scope [b]%nat_scope {c}%nat_scope +Query assignments: + %arg1 = const «foo» +Query assignments: + E = fun `n` (global (indt «nat»)) c0 \ + fun `t` (app [global (const «T2»), c0]) c1 \ + fun `x` + (app [global (const «f3»), c0, app [global (const «h»), c0, c1]]) c2 \ + app + [global (const «g3»), c0, app [global (const «h»), c0, c1], + app + [global (indc «S»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] + TY = prod `n` (global (indt «nat»)) c0 \ + prod `t` (app [global (const «T2»), c0]) c1 \ + prod `x` + (app [global (const «f3»), c0, app [global (const «h»), c0, c1]]) c2 \ + global (indt «nat») + X1_ = X0 +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_elaborate.13 elpi.tests.test_API_elaborate.10 + elpi.tests.test_API_elaborate.9} |= + elpi.tests.test_API_elaborate.13 < elpi.tests.test_API_elaborate.9 + Set <= elpi.tests.test_API_elaborate.10 + Set <= elpi.tests.test_API_elaborate.13 + T2.u0 <= elpi.tests.test_API_elaborate.13 + f3.u0 <= elpi.tests.test_API_elaborate.13 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_API_elaborate.10} +FLEXIBLE UNIVERSES: + elpi.tests.test_API_elaborate.10 +SORTS: + α4 := Type + α5 := Type +WEAK CONSTRAINTS: + + +Query assignments: + E = app + [global (const «bar»), + app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]], + global (const «xxx»)] + TY = prop + X2_ = X0 + X3_ = X1 +Query assignments: + E = app + [global (const «op»), global (const «c»), + app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] + TY = app [global (const «field»), global (const «c»)] + X4_ = X0 +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_elaborate.19 elpi.tests.test_API_elaborate.18} |= + elpi.tests.test_API_elaborate.19 < elpi.tests.test_API_elaborate.18 + s.u0 <= elpi.tests.test_API_elaborate.19 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α11 := Type +WEAK CONSTRAINTS: + + +raw: +parameter A explicit (global (const «T1»)) c0 \ + inductive ind1 tt + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) + c1 \ arity (sort (typ «elpi.tests.test_API_elaborate.22»))) c1 \ + [constructor K1 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) + c2 \ arity (prod `_` (app [c1, c2]) c3 \ app [c1, c2])), + constructor K2 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) + c2 \ + arity (prod `_` (app [global (const «f1»), c0]) c3 \ app [c1, c2])), + constructor K3 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) + c2 \ + arity (prod `a` (app [global (const «f1»), c0]) c3 \ app [c1, c2]))] +elab1: +parameter A explicit (global (const «T1»)) c0 \ + inductive ind1 tt + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.23»)) + c1 \ arity (sort (typ «elpi.tests.test_API_elaborate.25»))) c1 \ + [constructor K1 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.28»)) + c2 \ arity (prod `_` (app [c1, c2]) c3 \ app [c1, c2])), + constructor K2 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.30»)) + c2 \ + arity (prod `_` (app [global (const «f1»), c0]) c3 \ app [c1, c2])), + constructor K3 + (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.33»)) + c2 \ + arity (prod `a` (app [global (const «f1»), c0]) c3 \ app [c1, c2]))] +elab2: +parameter A explicit (global (const «T1»)) c0 \ + parameter B explicit (sort (typ «ind1.u0»)) c1 \ + inductive ind1 tt (arity (sort (typ «ind1.u1»))) c2 \ + [constructor K1 (arity (prod `_` c2 c3 \ c2)), + constructor K2 + (arity (prod `_` (app [global (const «f1»), c0]) c3 \ c2)), + constructor K3 + (arity (prod `a` (app [global (const «f1»), c0]) c3 \ c2))] +raw: +parameter A explicit (global (const «T1»)) c0 \ + record ind2 (sort (typ «f1.u0»)) Build_ind2 + (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) + c1 \ + field [coercion off, canonical tt] fld2 + (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) + c2 \ end-record) +elab1: +parameter A explicit (global (const «T1»)) c0 \ + record ind2 (sort (typ «elpi.tests.test_API_elaborate.38»)) Build_ind2 + (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) + c1 \ + field [coercion off, canonical tt] fld2 + (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) + c2 \ end-record) +elab2: +parameter A explicit (global (const «T1»)) c0 \ + record ind2 (sort (typ «ind2.u0»)) Build_ind2 + (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) + c1 \ + field [coercion off, canonical tt] fld2 + (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) + c2 \ end-record) +raw: +record ind3 (sort (typ «elpi.tests.test_API_elaborate.41»)) Build_ind3 + (field [coercion reversible, canonical tt] fld3 + (sort (typ «elpi.tests.test_API_elaborate.40»)) c0 \ + field [coercion off, canonical tt] fld4 + (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) +elab1: +record ind3 (sort (typ «elpi.tests.test_API_elaborate.42»)) Build_ind3 + (field [coercion reversible, canonical tt] fld3 + (sort (typ «elpi.tests.test_API_elaborate.43»)) c0 \ + field [coercion off, canonical tt] fld4 + (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) +elab2: +record ind3 (sort (typ «ind3.u0»)) Build_ind3 + (field [coercion reversible, canonical tt] fld3 (sort (typ «ind3.u1»)) + c0 \ + field [coercion off, canonical tt] fld4 + (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) +forall x : ind3, x -> Prop + : Type +Query assignments: + E = app + [global (const «op»), global (const «c»), + app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] + TY = app [global (const «field»), global (const «c»)] +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_elaborate.50 elpi.tests.test_API_elaborate.49} |= + elpi.tests.test_API_elaborate.50 < elpi.tests.test_API_elaborate.49 + s.u0 <= elpi.tests.test_API_elaborate.50 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α21 := Type +WEAK CONSTRAINTS: + + +unknown_gref +«elpi.tests.test_API_elaborate.52» «elpi.tests.test_API_elaborate.52» +File "./tests/test_API_elaborate.v", line 160, characters 19-20: +Warning: +File "./tests/test_API_elaborate.v", line 160, characters 19-20 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_API_elaborate.v", line 170, characters 33-34: +Warning: +File "./tests/test_API_elaborate.v", line 170, characters 33-34 +Y is linear: name it _Y (discard) or Y_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +Query assignments: + BO = fix `add` 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) + [c2, + fun `p` (global (indt «nat»)) c3 \ + app [global (indc «S»), app [c0, c3, c2]]] + GR = «Nat.add» + TY = prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat») +fix X0 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 + (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ X1 c1 c2 c3) + [c2, fun `p` (X2 c1 c2) c3 \ app [c0, c3, c2]] +fix X0 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 + (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ + global (indt «nat»)) [c2, fun `p` (X3 c1 c2) c3 \ app [c0, c3, c2]] +Query assignments: + BO1 = fix X0 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 + (fun `_elpi_renamed_n_2` (global (indt «nat»)) c3 \ + global (indt «nat»)) [c2, fun `p` (X3 c1 c2) c3 \ app [c0, c3, c2]] + GR = «Nat.add» + TY = prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat») + X1_ = c0 \ c1 \ c2 \ +global (indt «nat») + X2_ = c0 \ c1 \ +X3 c0 c1 +Syntactic constraints: + {c0 c1} : + decl c1 `m` (global (indt «nat»)), decl c0 `n` (global (indt «nat»)) + ?- evar (X3 c0 c1) (sort (typ «elpi_tests_stdlib.test_quotation.2»)) + (X3 c0 c1) /* suspended on X3 */ +Universe constraints: +UNIVERSES: + {elpi_tests_stdlib.test_quotation.3 elpi_tests_stdlib.test_quotation.2 + elpi_tests_stdlib.test_quotation.1} |= + Set <= elpi_tests_stdlib.test_quotation.3 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + elpi_tests_stdlib.test_quotation.3 +SORTS: + α1 + α2 +WEAK CONSTRAINTS: + + +fun `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + c0 \ + match c0 + (fun `_` (X0 c0) c1 \ + fun `_elpi_renamed_v_1` (app [global (indt «Vector.t»), X1 c0, X2 c0]) + c2 \ X3 c0 c2) + [global (indc «O»), + fun `_` (X4 c0) c1 \ + fun `_` (X5 c0) c2 \ + fun `_` (X6 c0) c3 \ app [global (indc «S»), global (indc «O»)]] +fun `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + c0 \ + match c0 + (fun `_` (X7 c0) c1 \ + fun `_elpi_renamed_v_1` + (app [global (indt «Vector.t»), global (indt «nat»), X8 c0]) c2 \ + global (indt «nat»)) + [global (indc «O»), + fun `_` (X9 c0) c1 \ + fun `_` (X10 c0) c2 \ + fun `_` (X11 c0) c3 \ app [global (indc «S»), global (indc «O»)]] +Query assignments: + T = fun `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + c0 \ + match c0 + (fun `_` (X7 c0) c1 \ + fun `_elpi_renamed_v_1` + (app [global (indt «Vector.t»), global (indt «nat»), X8 c0]) c2 \ + global (indt «nat»)) + [global (indc «O»), + fun `_` (X9 c0) c1 \ + fun `_` (X10 c0) c2 \ + fun `_` (X11 c0) c3 \ app [global (indc «S»), global (indc «O»)]] + X3_ = c0 \ +X7 c0 + X4_ = c0 \ +global (indt «nat») + X5_ = c0 \ +X8 c0 + X6_ = c0 \ c1 \ +global (indt «nat») + X7_ = c0 \ +X9 c0 + X8_ = c0 \ +X10 c0 + X9_ = c0 \ +X11 c0 +Syntactic constraints: + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X11 c0) (sort (typ «elpi_tests_stdlib.test_quotation.10»)) + (X11 c0) /* suspended on X11 */ + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X10 c0) (sort (typ «elpi_tests_stdlib.test_quotation.9»)) + (X10 c0) /* suspended on X10 */ + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X9 c0) (sort (typ «elpi_tests_stdlib.test_quotation.8»)) + (X9 c0) /* suspended on X9 */ + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X8 c0) (X12 c0) (X8 c0) /* suspended on X8 */ + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X13 c0) (sort (typ «elpi_tests_stdlib.test_quotation.6»)) + (X12 c0) /* suspended on X13, X12 */ + {c0} : + decl c0 `v` + (app + [global (indt «Vector.t»), global (indt «nat»), + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]) + ?- evar (X7 c0) (sort (typ «elpi_tests_stdlib.test_quotation.4»)) + (X7 c0) /* suspended on X7 */ +Universe constraints: +UNIVERSES: + {elpi_tests_stdlib.test_quotation.12 elpi_tests_stdlib.test_quotation.11 + elpi_tests_stdlib.test_quotation.10 elpi_tests_stdlib.test_quotation.9 + elpi_tests_stdlib.test_quotation.8 elpi_tests_stdlib.test_quotation.7 + elpi_tests_stdlib.test_quotation.6 elpi_tests_stdlib.test_quotation.5 + elpi_tests_stdlib.test_quotation.4} |= + elpi_tests_stdlib.test_quotation.11 < elpi_tests_stdlib.test_quotation.5 + Set <= Vector.t.u0 + Set <= elpi_tests_stdlib.test_quotation.11 + Set <= elpi_tests_stdlib.test_quotation.12 + elpi_tests_stdlib.test_quotation.11 <= Vector.t.u0 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + elpi_tests_stdlib.test_quotation.12 +SORTS: + α3 + α4 := Type + α5 + α6 + α7 + α8 + α9 +WEAK CONSTRAINTS: + + +3 +Query assignments: + X = 3 +fun `x` X0 c0 \ app [X1, c0] +Query assignments: + X = X1 + X10_ = X0 + Y = fun `x` X0 c0 \ app [X1, c0] +fun `r` (global (indt «nat»)) c0 \ + fun `p` + (prod `y` (global (indt «nat»)) c1 \ + app + [global (indt «eq»), global (indt «nat»), c1, global (indc «O»)]) + c1 \ + fun `q` (global (indt «bool»)) c2 \ + prod `y` (global (indt «nat»)) c3 \ + app + [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] +Query assignments: + %arg1 = c0 \ c1 \ c2 \ +prod `y` (global (indt «nat»)) c3 \ + app [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] + X = fun `r` (global (indt «nat»)) c0 \ + fun `p` + (prod `y` (global (indt «nat»)) c1 \ + app + [global (indt «eq»), global (indt «nat»), c1, global (indc «O»)]) + c1 \ + fun `q` (global (indt «bool»)) c2 \ + prod `y` (global (indt «nat»)) c3 \ + app + [global (indt «eq»), global (indt «nat»), c3, global (indc «O»)] +fun u : nat => +{| val := oval u; Sub := Ord u; Sub_rect := inlined_sub_rect |} + : forall u : nat, is_SUB nat (fun x : nat => leq x u) (ord u) +Debug: +[elpi] + gterm2lp: term=(fun u => + {| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |}) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term={| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |} +Debug: [elpi] gterm2lp: term=SubType +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(oval u) +Debug: [elpi] gterm2lp: term=oval +Debug: [elpi] gterm2lp: term=u +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=inlined_sub_rect +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(fun K_S u => + let (x, Px) as u0 return (K u0) := u in K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(fun u => let (x, Px) as u0 return (K u0) := u in K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(let (x, Px) as u0 return (K u0) := _elpi_renamed_u_3 in + K_S x Px) +Debug: [elpi] gterm2lp: term=_elpi_renamed_u_3 +Debug: [elpi] gterm2lp: term=(fun u0 => K u0) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(K u0) +Debug: [elpi] gterm2lp: term=K +Debug: [elpi] gterm2lp: term=u0 +Debug: [elpi] gterm2lp: term=(fun x Px => K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(fun Px => K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(K_S x Px) +Debug: [elpi] gterm2lp: term=K_S +Debug: [elpi] gterm2lp: term=x +Debug: [elpi] gterm2lp: term=Px +Debug: +[elpi] + gterm2lp: term=(fun u => + {| val := _; Sub := elpi_code:(K) u; Sub_rect := _ |}) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] gterm2lp: term={| val := _; Sub := elpi_code:(K) u; Sub_rect := _ |} +Debug: [elpi] gterm2lp: term=SubType +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(elpi_code:(K) u) +Debug: [elpi] gterm2lp: term=elpi_code:(K) +Debug: [elpi] gterm2lp: term=u +Debug: [elpi] gterm2lp: term=_ +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +Debug: +[elpi] + elpi sigma -> coq sigma: before: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + elpi sigma -> coq sigma: synchronized: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + elpi sigma -> coq sigma: after: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + lp2term: depth=0 ctx=[] term=fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: +[elpi] + lp2term@0:fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: [elpi] lp2term@0:X0 +Debug: [elpi] lp2term: evar: calldepth:0 X0 RAW: +ELAB: + +Debug: +[elpi] + lp2term@1:app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: [elpi] lp2term@1:global (indc «SubType») +Debug: [elpi] lp2term@1:X1 c0 +Debug: [elpi] lp2term: evar: calldepth:0 X1 c0 RAW: +ELAB: + +Debug: [elpi] lp2term@1:X2 c0 +Debug: [elpi] lp2term: evar: calldepth:0 X2 c0 RAW: +ELAB: + +Debug: [elpi] lp2term@1:X3 c0 +Debug: [elpi] lp2term: evar: calldepth:0 X3 c0 RAW: +ELAB: + +Debug: [elpi] lp2term@1:app [global (const «oval»), c0] +Debug: [elpi] lp2term@1:global (const «oval») +Debug: [elpi] lp2term@1:c0 +Debug: [elpi] lp2term@1:X4 c0 +Debug: [elpi] lp2term: evar: calldepth:0 X4 c0 RAW: +ELAB: + +Debug: +[elpi] + lp2term@1:fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@1:X5 c0 +Debug: [elpi] lp2term: evar: calldepth:0 X5 c0 RAW: +ELAB: + +Debug: +[elpi] + lp2term@2:fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@2:X6 c0 c1 +Debug: [elpi] lp2term: evar: calldepth:0 X6 c0 c1 RAW: +ELAB: + +Debug: +[elpi] + lp2term@3:fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@3:X7 c0 c1 c2 +Debug: [elpi] lp2term: evar: calldepth:0 X7 c0 c1 c2 RAW: +ELAB: + +Debug: +[elpi] + lp2term@4:match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@4:c3 +Debug: [elpi] lp2term@4:fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4] +Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 +Debug: [elpi] lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 RAW: +ELAB: + +Debug: [elpi] lp2term@5:app [c1, c4] +Debug: [elpi] lp2term@5:c1 +Debug: [elpi] lp2term@5:c4 +Debug: +[elpi] + lp2term@4:fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] +Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 +Debug: [elpi] lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 RAW: +ELAB: + +Debug: [elpi] lp2term@5:fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] +Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 +Debug: [elpi] lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 RAW: +ELAB: + +Debug: [elpi] lp2term@6:app [c2, c4, c5] +Debug: [elpi] lp2term@6:c2 +Debug: [elpi] lp2term@6:c4 +Debug: [elpi] lp2term@6:c5 +Debug: +[elpi] + lp2term: out=(fun u : hole hole => + {| + val := oval u; + Sub := hole u hole; + Sub_rect := + fun (K : hole u hole) (K_S : hole K u hole) + (_elpi_renamed_u_3 : hole K_S K u hole) => + let + (x, Px) as u0 + return (hole u0 _elpi_renamed_u_3 K_S K hole) := + _elpi_renamed_u_3 in + K_S x Px + |}) + elpi2coq: + RAW: +ELAB: +SHELF: + + FUTURE GOALS STACK: + + +Debug: +[elpi] + detype: (fun u : hole hole => + {| + val := oval u; + Sub := hole u hole; + Sub_rect := + fun (K : hole u hole) (K_S : hole K u hole) + (_elpi_renamed_u_3 : hole K_S K u hole) => + let + (x, Px) as u0 + return (hole u0 _elpi_renamed_u_3 K_S K hole) := + _elpi_renamed_u_3 in + K_S x Px + |}) +Debug: [elpi] bringing updated sigma back to lp +Debug: +[elpi] + term2lp: depth=0 ctx= term=(forall u : nat, + is_SUB nat (fun x : nat => leq x u) (ord u)) +Debug: +[elpi] + term2lp (out): prod `u` (global (indt «nat»)) c0 \ + app + [global (indt «is_SUB»), global (indt «nat»), + fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], + app [global (indt «ord»), c0]] +Debug: +[elpi] + term2lp: depth=0 ctx= term=(fun u : nat => + {| + val := oval u; + Sub := Ord u; + Sub_rect := inlined_sub_rect + |}) +Debug: +[elpi] + term2lp (out): fun `u` (global (indt «nat»)) c0 \ + app + [global (indc «SubType»), global (indt «nat»), + fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], + app [global (indt «ord»), c0], app [global (const «oval»), c0], + app [global (indc «Ord»), c0], + fun `K` + (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) + c1 \ + fun `K_S` + (prod `x` (global (indt «nat»)) c2 \ + prod `Px` + (app + [global (indt «eq»), global (indt «bool»), + app + [fun `x` (global (indt «nat»)) c3 \ + app [global (const «leq»), c3, c0], c2], + global (indc «true»)]) c3 \ + app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ + fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ + match c3 + (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) + [fun `x` (global (indt «nat»)) c4 \ + fun `Px` + (app + [global (indt «eq»), global (indt «bool»), + app [global (const «leq»), c4, c0], global (indc «true»)]) + c5 \ app [c2, c4, c5]]] +Debug: +[elpi] + Elpi: query-compilation:0.0214 static-check:0.0000 optimization:0.0001 runtime:0.0031 (with success) + +Query assignments: + GR = indc «Ord» + K = global (indc «Ord») + T = fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] + T1 = fun `u` (global (indt «nat»)) c0 \ + app + [global (indc «SubType»), global (indt «nat»), + fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0], + app [global (indt «ord»), c0], app [global (const «oval»), c0], + app [global (indc «Ord»), c0], + fun `K` + (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) + c1 \ + fun `K_S` + (prod `x` (global (indt «nat»)) c2 \ + prod `Px` + (app + [global (indt «eq»), global (indt «bool»), + app + [fun `x` (global (indt «nat»)) c3 \ + app [global (const «leq»), c3, c0], c2], + global (indc «true»)]) c3 \ + app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ + fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ + match c3 + (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) + [fun `x` (global (indt «nat»)) c4 \ + fun `Px` + (app + [global (indt «eq»), global (indt «bool»), + app [global (const «leq»), c4, c0], global (indc «true»)]) + c5 \ app [c2, c4, c5]]] + X11_ = X0 + X12_ = X1 + X13_ = X2 + X14_ = X3 + X15_ = X4 + X16_ = X5 + X17_ = X6 + X18_ = X7 + X19_ = X8 + X20_ = X9 + X21_ = X10 + X22_ = global (indt «nat») + X23_ = c0 \ +global (indt «nat») + X24_ = c0 \ +fun `x` (global (indt «nat»)) c1 \ app [global (const «leq»), c1, c0] + X25_ = c0 \ +app [global (indt «ord»), c0] + X26_ = c0 \ +app [global (const «oval»), c0] + X27_ = c0 \ +fun `K` + (prod `x` (app [global (indt «ord»), c0]) c1 \ sort (typ «is_SUB.u2»)) + c1 \ + fun `K_S` + (prod `x` (global (indt «nat»)) c2 \ + prod `Px` + (app + [global (indt «eq»), global (indt «bool»), + app + [fun `x` (global (indt «nat»)) c3 \ + app [global (const «leq»), c3, c0], c2], global (indc «true»)]) + c3 \ app [c1, app [global (indc «Ord»), c0, c2, c3]]) c2 \ + fun `_elpi_renamed_u_3` (app [global (indt «ord»), c0]) c3 \ + match c3 (fun `xxx` (app [global (indt «ord»), c0]) c4 \ app [c1, c4]) + [fun `x` (global (indt «nat»)) c4 \ + fun `Px` + (app + [global (indt «eq»), global (indt «bool»), + app [global (const «leq»), c4, c0], global (indc «true»)]) c5 \ + app [c2, c4, c5]] +Universe constraints: +UNIVERSES: + {elpi_tests_stdlib.test_quotation.28 elpi_tests_stdlib.test_quotation.27} |= + Set <= is_SUB.u0 + Set <= is_SUB.u1 + Set <= elpi_tests_stdlib.test_quotation.27 + is_SUB.u2 <= elpi_tests_stdlib.test_quotation.28 +ALGEBRAIC UNIVERSES: + {elpi_tests_stdlib.test_quotation.28 elpi_tests_stdlib.test_quotation.27} +FLEXIBLE UNIVERSES: + elpi_tests_stdlib.test_quotation.28 + elpi_tests_stdlib.test_quotation.27 +SORTS: + α24 := Type + α25 := Type +WEAK CONSTRAINTS: + + +Debug: +[elpi] + gterm2lp: term=(fun u => + {| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |}) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term={| val := oval u; Sub := _; Sub_rect := inlined_sub_rect |} +Debug: [elpi] gterm2lp: term=SubType +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(oval u) +Debug: [elpi] gterm2lp: term=oval +Debug: [elpi] gterm2lp: term=u +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=inlined_sub_rect +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(fun K_S u => + let (x, Px) as u0 return (K u0) := u in K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(fun u => let (x, Px) as u0 return (K u0) := u in K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: +[elpi] + gterm2lp: term=(let (x, Px) as u0 return (K u0) := _elpi_renamed_u_3 in + K_S x Px) +Debug: [elpi] gterm2lp: term=_elpi_renamed_u_3 +Debug: [elpi] gterm2lp: term=(fun u0 => K u0) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(K u0) +Debug: [elpi] gterm2lp: term=K +Debug: [elpi] gterm2lp: term=u0 +Debug: [elpi] gterm2lp: term=(fun x Px => K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(fun Px => K_S x Px) +Debug: [elpi] gterm2lp: term=_ +Debug: [elpi] gterm2lp: term=(K_S x Px) +Debug: [elpi] gterm2lp: term=K_S +Debug: [elpi] gterm2lp: term=x +Debug: [elpi] gterm2lp: term=Px +Debug: +[elpi] + elpi sigma -> coq sigma: before: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + elpi sigma -> coq sigma: synchronized: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + elpi sigma -> coq sigma: after: +SHELF: +FUTURE GOALS STACK: + + +Rocq-Elpi mapping: +RAW: +ELAB: + +Debug: +[elpi] + lp2term: depth=0 ctx=[] term=fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: +[elpi] + lp2term@0:fun `u` X0 c0 \ + app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: [elpi] lp2term@0:X0 +Debug: [elpi] lp2term: evar: calldepth:0 X0 RAW: +ELAB: + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X0 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; +Debug: [elpi] lp2term: evar: create_unknown: visible ctx: +Debug: [elpi] restrict_coq_context: named: +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx: +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X41 + EVARS: + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK: + ?X41 + +Debug: [elpi] lp2term@0:X0 +Debug: +[elpi] lp2term: evar: calldepth:0 X0 RAW: +?X41 <-> X0 +ELAB: +?X41 <-> X0 + +Debug: [elpi] lp2term: evar: already in Coq: ?X41 +Debug: +[elpi] + lp2term@1:app + [global (indc «SubType»), X1 c0, X2 c0, X3 c0, + app [global (const «oval»), c0], X4 c0, + fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]]] +Debug: [elpi] lp2term@1:global (indc «SubType») +Debug: [elpi] lp2term@1:X1 c0 +Debug: +[elpi] lp2term: evar: calldepth:0 X1 c0 RAW: +?X41 <-> X0 +ELAB: +?X41 <-> X0 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X1 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) +Debug: [elpi] in_elpi_evar:?X42 +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X43 + EVARS: + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@1:X1 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X1 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 + +Debug: [elpi] lp2term: evar: already in Coq: ?X43 +Debug: [elpi] lp2term@1:c0 +Debug: [elpi] lp2term@1:X2 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X2 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X2 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) +Debug: [elpi] in_elpi_evar:?X44 +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X45 + EVARS: + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@1:X2 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X2 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 + +Debug: [elpi] lp2term: evar: already in Coq: ?X45 +Debug: [elpi] lp2term@1:c0 +Debug: [elpi] lp2term@1:X3 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X3 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X3 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) +Debug: [elpi] in_elpi_evar:?X46 +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X47 + EVARS: + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 + elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= + +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X47 ?X46 ?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@1:X3 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X3 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 + +Debug: [elpi] lp2term: evar: already in Coq: ?X47 +Debug: [elpi] lp2term@1:c0 +Debug: [elpi] lp2term@1:app [global (const «oval»), c0] +Debug: [elpi] lp2term@1:global (const «oval») +Debug: [elpi] lp2term@1:c0 +Debug: [elpi] lp2term@1:X4 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X4 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X4 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) +Debug: [elpi] in_elpi_evar:?X48 +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X49 + EVARS: + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 + elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@1:X4 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X4 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 + +Debug: [elpi] lp2term: evar: already in Coq: ?X49 +Debug: [elpi] lp2term@1:c0 +Debug: +[elpi] + lp2term@1:fun `K` (X5 c0) c1 \ + fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@1:X5 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X5 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X5 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: [elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X50 + EVARS: + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 + elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 + elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= + +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@1:X5 c0 +Debug: +[elpi] + lp2term: evar: calldepth:0 X5 c0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 + +Debug: [elpi] lp2term: evar: already in Coq: ?X50 +Debug: [elpi] lp2term@1:c0 +Debug: +[elpi] + lp2term@2:fun `K_S` (X6 c0 c1) c2 \ + fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@2:X6 c0 c1 +Debug: +[elpi] + lp2term: evar: calldepth:0 X6 c0 c1 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X6 +Debug: [elpi] lp2term: evar: create_unknown: whole ctx: ; (u : ?e) (K : ?e8) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 +c1 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + restrict_coq_context: cur subst: u + restrict_coq_context: looking at K(dbl 1) +Debug: [elpi] ?e8--0->?e8 +Debug: +[elpi] lp2term: evar: create_unknown: restricted ctx:(u : ?e) (K : ?e8) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X51 + EVARS: + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 + elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 + elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@2:X6 c0 c1 +Debug: +[elpi] + lp2term: evar: calldepth:0 X6 c0 c1 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 + +Debug: [elpi] lp2term: evar: already in Coq: ?X51 +Debug: [elpi] lp2term@2:c0 +Debug: [elpi] lp2term@2:c1 +Debug: +[elpi] + lp2term@3:fun `_elpi_renamed_u_3` (X7 c0 c1 c2) c3 \ + match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@3:X7 c0 c1 c2 +Debug: +[elpi] + lp2term: evar: calldepth:0 X7 c0 c1 c2 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X7 +Debug: +[elpi] + lp2term: evar: create_unknown: whole ctx: ; (u : ?e) + (K : ?e8) + (K_S : ?e9) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 +c2 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + restrict_coq_context: cur subst: u + restrict_coq_context: looking at K(dbl 1) +Debug: [elpi] ?e8--0->?e8 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + restrict_coq_context: cur subst: K + u + restrict_coq_context: looking at K_S(dbl 2) +Debug: [elpi] ?e9--0->?e9 +Debug: +[elpi] + lp2term: evar: create_unknown: restricted ctx:(u : ?e) + (K : ?e8) + (K_S : ?e9) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X52 + EVARS: + ?X52==[u K K_S |- Type] (internal placeholder) {?e10} + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.36 elpi_tests_stdlib.test_quotation.35 + elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 + elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 + elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= + +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 + α33 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@3:X7 c0 c1 c2 +Debug: +[elpi] + lp2term: evar: calldepth:0 X7 c0 c1 c2 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 + +Debug: [elpi] lp2term: evar: already in Coq: ?X52 +Debug: [elpi] lp2term@3:c0 +Debug: [elpi] lp2term@3:c1 +Debug: [elpi] lp2term@3:c2 +Debug: +[elpi] + lp2term@4:match c3 (fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4]) + [fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5]] +Debug: [elpi] lp2term@4:c3 +Debug: [elpi] lp2term@4:fun `u0` (X8 c0 c1 c2 c3) c4 \ app [c1, c4] +Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 +Debug: +[elpi] + lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X8 +Debug: +[elpi] + lp2term: evar: create_unknown: whole ctx: ; (u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 +c3 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + restrict_coq_context: cur subst: u + restrict_coq_context: looking at K(dbl 1) +Debug: [elpi] ?e8--0->?e8 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + restrict_coq_context: cur subst: K + u + restrict_coq_context: looking at K_S(dbl 2) +Debug: [elpi] ?e9--0->?e9 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + (K_S : ?e9) + restrict_coq_context: cur subst: K_S + K + u + restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) +Debug: [elpi] ?e10--0->?e10 +Debug: +[elpi] + lp2term: evar: create_unknown: restricted ctx:(u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X53 + EVARS: + ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} + ?X52==[u K K_S |- Type] (internal placeholder) {?e10} + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 + elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 + elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 + elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 + α33 + α34 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 ?X43 +?X42 +?X41 + +Debug: [elpi] lp2term@4:X8 c0 c1 c2 c3 +Debug: +[elpi] + lp2term: evar: calldepth:0 X8 c0 c1 c2 c3 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 + +Debug: [elpi] lp2term: evar: already in Coq: ?X53 +Debug: [elpi] lp2term@4:c0 +Debug: [elpi] lp2term@4:c1 +Debug: [elpi] lp2term@4:c2 +Debug: [elpi] lp2term@4:c3 +Debug: [elpi] lp2term@5:app [c1, c4] +Debug: [elpi] lp2term@5:c1 +Debug: [elpi] lp2term@5:c4 +Debug: +[elpi] + lp2term@4:fun `x` (X9 c0 c1 c2 c3) c4 \ + fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] +Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 +Debug: +[elpi] + lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X9 +Debug: +[elpi] + lp2term: evar: create_unknown: whole ctx: ; (u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 +c3 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + restrict_coq_context: cur subst: u + restrict_coq_context: looking at K(dbl 1) +Debug: [elpi] ?e8--0->?e8 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + restrict_coq_context: cur subst: K + u + restrict_coq_context: looking at K_S(dbl 2) +Debug: [elpi] ?e9--0->?e9 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + (K_S : ?e9) + restrict_coq_context: cur subst: K_S + K + u + restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) +Debug: [elpi] ?e10--0->?e10 +Debug: +[elpi] + lp2term: evar: create_unknown: restricted ctx:(u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X54 + EVARS: + ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} + ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} + ?X52==[u K K_S |- Type] (internal placeholder) {?e10} + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.38 elpi_tests_stdlib.test_quotation.37 + elpi_tests_stdlib.test_quotation.36 elpi_tests_stdlib.test_quotation.35 + elpi_tests_stdlib.test_quotation.34 elpi_tests_stdlib.test_quotation.33 + elpi_tests_stdlib.test_quotation.32 elpi_tests_stdlib.test_quotation.31 + elpi_tests_stdlib.test_quotation.30 elpi_tests_stdlib.test_quotation.29} |= + +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 + α33 + α34 + α35 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X54 ?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 ?X44 +?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@4:X9 c0 c1 c2 c3 +Debug: +[elpi] + lp2term: evar: calldepth:0 X9 c0 c1 c2 c3 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 + +Debug: [elpi] lp2term: evar: already in Coq: ?X54 +Debug: [elpi] lp2term@4:c0 +Debug: [elpi] lp2term@4:c1 +Debug: [elpi] lp2term@4:c2 +Debug: [elpi] lp2term@4:c3 +Debug: [elpi] lp2term@5:fun `Px` (X10 c0 c1 c2 c3 c4) c5 \ app [c2, c4, c5] +Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 +Debug: +[elpi] + lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 + +Debug: [elpi] lp2term: evar: unknown: calldepth:0 X10 +Debug: +[elpi] + lp2term: evar: create_unknown: whole ctx: ; (u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) + (x : ?e12) +Debug: [elpi] lp2term: evar: create_unknown: visible ctx:c0 c1 c2 c3 +c4 +Debug: [elpi] restrict_coq_context: named: +Debug: +[elpi] + restrict_coq_context: cur rel ctx: + restrict_coq_context: cur subst: + restrict_coq_context: looking at u(dbl 0) +Debug: [elpi] ?e--0->?e +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + restrict_coq_context: cur subst: u + restrict_coq_context: looking at K(dbl 1) +Debug: [elpi] ?e8--0->?e8 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + restrict_coq_context: cur subst: K + u + restrict_coq_context: looking at K_S(dbl 2) +Debug: [elpi] ?e9--0->?e9 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + (K_S : ?e9) + restrict_coq_context: cur subst: K_S + K + u + restrict_coq_context: looking at _elpi_renamed_u_3(dbl 3) +Debug: [elpi] ?e10--0->?e10 +Debug: +[elpi] + restrict_coq_context: cur rel ctx: (u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) + restrict_coq_context: cur subst: _elpi_renamed_u_3 + K_S + K + u + restrict_coq_context: looking at x(dbl 4) +Debug: [elpi] ?e12--0->?e12 +Debug: +[elpi] + lp2term: evar: create_unknown: restricted ctx:(u : ?e) + (K : ?e8) + (K_S : ?e9) + (_elpi_renamed_u_3 : ?e10) + (x : ?e12) +Debug: +[elpi] + lp2term: evar: create_unknown: new link: ? |> |- ? = ?X55 + EVARS: + ?X55==[u K K_S _elpi_renamed_u_3 x |- Type] (internal placeholder) {?e13} + ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} + ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} + ?X52==[u K K_S |- Type] (internal placeholder) {?e10} + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + +UNIVERSES: + {elpi_tests_stdlib.test_quotation.39 elpi_tests_stdlib.test_quotation.38 + elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 + elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 + elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 + elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 + α33 + α34 + α35 + α36 +WEAK CONSTRAINTS: + +SHELF: +FUTURE GOALS STACK:?X55 ?X54 ?X53 ?X52 ?X51 ?X50 ?X49 ?X48 ?X47 ?X46 ?X45 +?X44 ?X43 ?X42 +?X41 + +Debug: [elpi] lp2term@5:X10 c0 c1 c2 c3 c4 +Debug: +[elpi] + lp2term: evar: calldepth:0 X10 c0 c1 c2 c3 c4 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] lp2term: evar: already in Coq: ?X55 +Debug: [elpi] lp2term@5:c0 +Debug: [elpi] lp2term@5:c1 +Debug: [elpi] lp2term@5:c2 +Debug: [elpi] lp2term@5:c3 +Debug: [elpi] lp2term@5:c4 +Debug: [elpi] lp2term@6:app [c2, c4, c5] +Debug: [elpi] lp2term@6:c2 +Debug: [elpi] lp2term@6:c4 +Debug: [elpi] lp2term@6:c5 +Debug: +[elpi] + lp2term: out=(fun u : ?e => + {| + val := oval u; + Sub := ?e7; + Sub_rect := + fun (K : ?e8) (K_S : ?e9) (_elpi_renamed_u_3 : ?e10) => + let + (x, Px) as u0 + return + ?e11@{u:=K; K:=K_S; K_S:=_elpi_renamed_u_3; + _elpi_renamed_u_3:=u0} := _elpi_renamed_u_3 in + K_S x Px + |}) + elpi2coq: + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +EVARS: + ?X55==[u K K_S _elpi_renamed_u_3 x |- Type] (internal placeholder) {?e13} + ?X54==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e12} + ?X53==[u K K_S _elpi_renamed_u_3 |- Type] (internal placeholder) {?e11} + ?X52==[u K K_S |- Type] (internal placeholder) {?e10} + ?X51==[u K |- Type] (internal placeholder) {?e9} + ?X50==[u |- Type] (internal placeholder) {?e8} + ?X49==[u |- ?e6] (internal placeholder) {?e7} + ?X48==[u |- Type] (internal placeholder) {?e6} + ?X47==[u |- ?e4] (internal placeholder) {?e5} + ?X46==[u |- Type] (internal placeholder) {?e4} + ?X45==[u |- ?e2] (internal placeholder) {?e3} + ?X44==[u |- Type] (internal placeholder) {?e2} + ?X43==[u |- ?e0] (internal placeholder) {?e1} + ?X42==[u |- Type] (internal placeholder) {?e0} + ?X41==[ |- Type] (internal placeholder) {?e} + + UNIVERSES: + {elpi_tests_stdlib.test_quotation.39 elpi_tests_stdlib.test_quotation.38 + elpi_tests_stdlib.test_quotation.37 elpi_tests_stdlib.test_quotation.36 + elpi_tests_stdlib.test_quotation.35 elpi_tests_stdlib.test_quotation.34 + elpi_tests_stdlib.test_quotation.33 elpi_tests_stdlib.test_quotation.32 + elpi_tests_stdlib.test_quotation.31 elpi_tests_stdlib.test_quotation.30 + elpi_tests_stdlib.test_quotation.29} |= + ALGEBRAIC UNIVERSES: + {} + FLEXIBLE UNIVERSES: + + SORTS: + α26 + α27 + α28 + α29 + α30 + α31 + α32 + α33 + α34 + α35 + α36 + WEAK CONSTRAINTS: + + SHELF: + + FUTURE GOALS STACK: + ?X55 + ?X54 + ?X53 + ?X52 + ?X51 + ?X50 + ?X49 + ?X48 + ?X47 + ?X46 + ?X45 + ?X44 + ?X43 + ?X42 + ?X41 + +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X41 <-> X0 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=0 ctx= term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.29») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to0 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X41 <-> X0 + declare-evar [] (X0) (sort (typ «elpi_tests_stdlib.test_quotation.29»)) + (X0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X42 <-> X12 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.30») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X42 <-> X12 + pi c0 \ + declare-evar [decl c0 `u` (X0)] (X12 c0) + (sort (typ «elpi_tests_stdlib.test_quotation.30»)) (X11 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X43 <-> X1 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e0 +Debug: [elpi] in_elpi_evar:?X42 +Debug: [elpi] in_elpi_evar: known ?X42 as X11 +Debug: [elpi] term2lp (out): X11 c0 +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X43 <-> X1 + pi c0 \ declare-evar [decl c0 `u` (X0)] (X1 c0) (X11 c0) (X1 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X44 <-> X14 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.31») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X44 <-> X14 + pi c0 \ + declare-evar [decl c0 `u` (X0)] (X14 c0) + (sort (typ «elpi_tests_stdlib.test_quotation.31»)) (X13 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X45 <-> X2 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e2 +Debug: [elpi] in_elpi_evar:?X44 +Debug: [elpi] in_elpi_evar: known ?X44 as X13 +Debug: [elpi] term2lp (out): X13 c0 +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X45 <-> X2 + pi c0 \ declare-evar [decl c0 `u` (X0)] (X2 c0) (X13 c0) (X2 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X46 <-> X16 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.32») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X46 <-> X16 + pi c0 \ + declare-evar [decl c0 `u` (X0)] (X16 c0) + (sort (typ «elpi_tests_stdlib.test_quotation.32»)) (X15 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X47 <-> X3 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e4 +Debug: [elpi] in_elpi_evar:?X46 +Debug: [elpi] in_elpi_evar: known ?X46 as X15 +Debug: [elpi] term2lp (out): X15 c0 +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X47 <-> X3 + pi c0 \ declare-evar [decl c0 `u` (X0)] (X3 c0) (X15 c0) (X3 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X48 <-> X18 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.33») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X48 <-> X18 + pi c0 \ + declare-evar [decl c0 `u` (X0)] (X18 c0) + (sort (typ «elpi_tests_stdlib.test_quotation.33»)) (X17 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X49 <-> X4 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=?e6 +Debug: [elpi] in_elpi_evar:?X48 +Debug: [elpi] in_elpi_evar: known ?X48 as X17 +Debug: [elpi] term2lp (out): X17 c0 +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X49 <-> X4 + pi c0 \ declare-evar [decl c0 `u` (X0)] (X4 c0) (X17 c0) (X4 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X50 <-> X5 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=1 ctx=u : ?e term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.34») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to1 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X50 <-> X5 + pi c0 \ + declare-evar [decl c0 `u` (X0)] (X5 c0) + (sort (typ «elpi_tests_stdlib.test_quotation.34»)) (X5 c0) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X51 <-> X6 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 +Debug: [elpi] in_elpi_evar:?X50 +Debug: [elpi] in_elpi_evar: known ?X50 as X5 +Debug: [elpi] term2lp (out): X5 c0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e K : ?e8 term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.35») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to2 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X51 <-> X6 + pi c0 \ + pi c1 \ + declare-evar [decl c1 `K` (X5 c0), decl c0 `u` X0] (X6 c0 c1) + (sort (typ «elpi_tests_stdlib.test_quotation.35»)) (X6 c0 c1) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X52 <-> X7 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 +Debug: [elpi] in_elpi_evar:?X50 +Debug: [elpi] in_elpi_evar: known ?X50 as X5 +Debug: [elpi] term2lp (out): X5 c0 +Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 +Debug: [elpi] in_elpi_evar:?X51 +Debug: [elpi] in_elpi_evar: known ?X51 as X6 +Debug: [elpi] term2lp (out): X6 c0 c1 +Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 K_S : ?e9 term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.36») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to3 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X52 <-> X7 + pi c0 \ + pi c1 \ + pi c2 \ + declare-evar + [decl c2 `K_S` (X6 c0 c1), decl c1 `K` (X5 c0), decl c0 `u` X0] + (X7 c0 c1 c2) (sort (typ «elpi_tests_stdlib.test_quotation.36»)) + (X7 c0 c1 c2) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X53 <-> X8 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 +Debug: [elpi] in_elpi_evar:?X50 +Debug: [elpi] in_elpi_evar: known ?X50 as X5 +Debug: [elpi] term2lp (out): X5 c0 +Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 +Debug: [elpi] in_elpi_evar:?X51 +Debug: [elpi] in_elpi_evar: known ?X51 as X6 +Debug: [elpi] term2lp (out): X6 c0 c1 +Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 +Debug: [elpi] in_elpi_evar:?X52 +Debug: [elpi] in_elpi_evar: known ?X52 as X7 +Debug: [elpi] term2lp (out): X7 c0 c1 c2 +Debug: +[elpi] + term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.37») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to4 +Debug: +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X53 <-> X8 + pi c0 \ + pi c1 \ + pi c2 \ + pi c3 \ + declare-evar + [decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), + decl c1 `K` (X5 c0), decl c0 `u` X0] (X8 c0 c1 c2 c3) + (sort (typ «elpi_tests_stdlib.test_quotation.37»)) (X8 c0 c1 c2 c3) +Debug: +[elpi] + in_elpi_fresh_evar: unknown ?X54 <-> X9 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 +Debug: [elpi] in_elpi_evar:?X50 +Debug: [elpi] in_elpi_evar: known ?X50 as X5 +Debug: [elpi] term2lp (out): X5 c0 +Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 +Debug: [elpi] in_elpi_evar:?X51 +Debug: [elpi] in_elpi_evar: known ?X51 as X6 +Debug: [elpi] term2lp (out): X6 c0 c1 +Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 +Debug: [elpi] in_elpi_evar:?X52 +Debug: [elpi] in_elpi_evar: known ?X52 as X7 +Debug: [elpi] term2lp (out): X7 c0 c1 c2 +Debug: +[elpi] + term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.38») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to4 Debug: - rid:1 step:371 gid:1052 user:newgoal = coq.elpi.accumulate-clauses X213 - record.expand.db - [clause _ (before expand:start) - (pi c0 \ - pi c1 \ - pi c2 \ - pi c3 \ - pi c4 \ - pi c5 \ - pi c6 \ - pi c7 \ - pi c8 \ - pi c9 \ - pi c10 \ - expand - (app - [global - (const «g»), - c0, c3, c5, c7 | c9]) - (app - [global - (const - «expanded_g»), - c1, c2, c4, c6, c8 | c10]) - :- - [!, - std.map c9 expand c10, - expand c7 c8, - expand c5 c6, - expand c3 c4, - expand c0 - (app - [global - (indc - «Build_r»), - c1, c2])])] - +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X54 <-> X9 + pi c0 \ + pi c1 \ + pi c2 \ + pi c3 \ + declare-evar + [decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), + decl c1 `K` (X5 c0), decl c0 `u` X0] (X9 c0 c1 c2 c3) + (sort (typ «elpi_tests_stdlib.test_quotation.38»)) (X9 c0 c1 c2 c3) Debug: - rid:1 step:371 gid:1052 user:rule:backchain = success - -Debug: }}} -> (0.000s) -Debug: run 372 {{{ - +[elpi] + in_elpi_fresh_evar: unknown ?X55 <-> X10 + RAW: +?X41 <-> X0 +?X42 <-> X12 +?X43 <-> X1 +?X44 <-> X14 +?X45 <-> X2 +?X46 <-> X16 +?X47 <-> X3 +?X48 <-> X18 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 +ELAB: +?X41 <-> X0 +?X42 <-> X11 +?X43 <-> X1 +?X44 <-> X13 +?X45 <-> X2 +?X46 <-> X15 +?X47 <-> X3 +?X48 <-> X17 +?X49 <-> X4 +?X50 <-> X5 +?X51 <-> X6 +?X52 <-> X7 +?X53 <-> X8 +?X54 <-> X9 +?X55 <-> X10 + +Debug: [elpi] term2lp: depth=1 ctx= term=?e +Debug: [elpi] in_elpi_evar:?X41 +Debug: [elpi] in_elpi_evar: known ?X41 as X0 +Debug: [elpi] term2lp (out): X0 +Debug: [elpi] term2lp: depth=2 ctx=u : ?e term=?e8 +Debug: [elpi] in_elpi_evar:?X50 +Debug: [elpi] in_elpi_evar: known ?X50 as X5 +Debug: [elpi] term2lp (out): X5 c0 +Debug: [elpi] term2lp: depth=3 ctx=u : ?e K : ?e8 term=?e9 +Debug: [elpi] in_elpi_evar:?X51 +Debug: [elpi] in_elpi_evar: known ?X51 as X6 +Debug: [elpi] term2lp (out): X6 c0 c1 +Debug: [elpi] term2lp: depth=4 ctx=u : ?e K : ?e8 K_S : ?e9 term=?e10 +Debug: [elpi] in_elpi_evar:?X52 +Debug: [elpi] in_elpi_evar: known ?X52 as X7 +Debug: [elpi] term2lp (out): X7 c0 c1 c2 Debug: - rid:1 step:372 gid:1052 user:curgoal = coq.elpi.accumulate-clauses - coq.elpi.accumulate-clauses X213 - record.expand.db - [clause _ (before expand:start) - (pi c0 \ - pi c1 \ - pi c2 \ - pi c3 \ - pi c4 \ - pi c5 \ - pi c6 \ - pi c7 \ - pi c8 \ - pi c9 \ - pi c10 \ - expand - (app - [global - (const «g»), - c0, c3, c5, c7 | c9]) - (app - [global - (const - «expanded_g»), - c1, c2, c4, c6, c8 | c10]) - :- - [!, - std.map c9 expand c10, - expand c7 c8, - expand c5 c6, - expand c3 c4, - expand c0 - (app - [global - (indc - «Build_r»), - c1, c2])])] - +[elpi] + term2lp: depth=5 ctx=u : ?e K : ?e8 K_S : ?e9 _elpi_renamed_u_3 : ?e10 term= + ?e12 +Debug: [elpi] in_elpi_evar:?X54 +Debug: [elpi] in_elpi_evar: known ?X54 as X9 +Debug: [elpi] term2lp (out): X9 c0 c1 c2 c3 Debug: - rid:1 step:372 gid:1052 user:rule = builtin - +[elpi] + term2lp: depth=5 ctx=u : ?e + K : ?e8 + K_S : ?e9 + _elpi_renamed_u_3 : ?e10 + x : ?e12 term=Type +Debug: [elpi] term2lp (out): sort (typ «elpi_tests_stdlib.test_quotation.39») +Debug: [elpi] in_elpi_evar_concl: moving Ctx down to5 Debug: - rid:1 step:372 gid:1052 user:rule:builtin:name = coq.elpi.accumulate-clauses - +[elpi] + in_elpi_fresh_evar: new decl at depth:0 for ?X55 <-> X10 + pi c0 \ + pi c1 \ + pi c2 \ + pi c3 \ + pi c4 \ + declare-evar + [decl c4 `x` (X9 c0 c1 c2 c3), + decl c3 `_elpi_renamed_u_3` (X7 c0 c1 c2), decl c2 `K_S` (X6 c0 c1), + decl c1 `K` (X5 c0), decl c0 `u` X0] (X10 c0 c1 c2 c3 c4) + (sort (typ «elpi_tests_stdlib.test_quotation.39»)) + (X10 c0 c1 c2 c3 c4) Debug: - rid:1 step:372 gid:1052 user:rule:builtin = success - -Debug: }}} -> (0.000s) -expanded_g = -fun T : Type => -let X := T in -fun (op : T -> X -> bool) (l s : list T) (h : bool) => -(forall (x : T) (y : X), op x y = false) /\ expanded_f true T op l s = h - : forall T : Type, (T -> T -> bool) -> list T -> list T -> bool -> Prop +[elpi] + Elpi: query-compilation:0.0010 static-check:0.0000 optimization:0.0001 runtime:0.0826 (with error) -Arguments expanded_g T%type_scope op%function_scope - (l s)%list_scope h%bool_scope -Query assignments: - E = fun `n` (global (indt «nat»)) c0 \ - fun `t` (app [global (const «T2»), c0]) c1 \ - fun `x` - (app [global (const «f3»), c0, app [global (const «h»), c0, c1]]) c2 \ - app - [global (const «g3»), c0, app [global (const «h»), c0, c1], - app - [global (indc «S»), - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] - TY = prod `n` (global (indt «nat»)) c0 \ - prod `t` (app [global (const «T2»), c0]) c1 \ - prod `x` - (app [global (const «f3»), c0, app [global (const «h»), c0, c1]]) c2 \ - global (indt «nat») - X1_ = X0 -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_elaborate.13 elpi.tests.test_API_elaborate.10 - elpi.tests.test_API_elaborate.9} |= - elpi.tests.test_API_elaborate.13 < elpi.tests.test_API_elaborate.9 - Set <= elpi.tests.test_API_elaborate.10 - Set <= elpi.tests.test_API_elaborate.13 - T2.u0 <= elpi.tests.test_API_elaborate.13 - f3.u0 <= elpi.tests.test_API_elaborate.13 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_API_elaborate.10} -FLEXIBLE UNIVERSES: - elpi.tests.test_API_elaborate.10 -SORTS: - α4 := Type - α5 := Type -WEAK CONSTRAINTS: - +hd + : forall A : Type, A -> list A -> A +Debug: [elpi] gterm2lp: term=hd +Debug: [elpi] Compiler cache: lookups=8, hits=6 +Debug: [elpi] Compiler cache: lookups=0, hits=0 + +File "./tests-stdlib/test_quotation.v", line 47, characters 32-33: +Warning: +File "./tests-stdlib/test_quotation.v", line 47, characters 32-33 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_File3.v", line 18, characters 2-16: +Warning: This command does not support this attribute: phase. +[unsupported-attributes,parsing,default] +Query q X0 +Query r X0 +Result r 1 +«elpi.tests.test_API_notations.abbr» Query assignments: - E = app - [global (const «bar»), - app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]], - global (const «xxx»)] - TY = prop - X2_ = X0 - X3_ = X1 -Query assignments: - E = app - [global (const «op»), global (const «c»), - app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] - TY = app [global (const «field»), global (const «c»)] - X4_ = X0 + A = «elpi.tests.test_API_notations.abbr» + X1_ = X0 + X2_ = c0 \ +X1 c0 + X3_ = c0 \ +X2 c0 +Syntactic constraints: + {c0} : decl c0 `x` X0 ?- evar (X2 c0) (X3 c0) (X2 c0) /* suspended on X2 */ + {c0} : decl c0 `x` X0 + ?- evar (X4 c0) (sort (typ «elpi.tests.test_API_notations.3»)) (X3 c0) /* suspended on X4, X3 */ + {c0} : decl c0 `x` X0 + ?- evar (X1 c0) (sort (typ «elpi.tests.test_API_notations.2»)) (X1 c0) /* suspended on X1 */ + evar (X0) (sort (typ «elpi.tests.test_API_notations.1»)) (X0) /* suspended on X0 */ Universe constraints: UNIVERSES: - {elpi.tests.test_API_elaborate.19 elpi.tests.test_API_elaborate.18} |= - elpi.tests.test_API_elaborate.19 < elpi.tests.test_API_elaborate.18 - s.u0 <= elpi.tests.test_API_elaborate.19 + {elpi.tests.test_API_notations.3 elpi.tests.test_API_notations.2 + elpi.tests.test_API_notations.1} |= ALGEBRAIC UNIVERSES: {} FLEXIBLE UNIVERSES: SORTS: - α11 := Type + α1 + α2 + α3 WEAK CONSTRAINTS: -raw: -parameter A explicit (global (const «T1»)) c0 \ - inductive ind1 tt - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) - c1 \ arity (sort (typ «elpi.tests.test_API_elaborate.22»))) c1 \ - [constructor K1 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) - c2 \ arity (prod `_` (app [c1, c2]) c3 \ app [c1, c2])), - constructor K2 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) - c2 \ - arity (prod `_` (app [global (const «f1»), c0]) c3 \ app [c1, c2])), - constructor K3 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.20»)) - c2 \ - arity (prod `a` (app [global (const «f1»), c0]) c3 \ app [c1, c2]))] -elab1: -parameter A explicit (global (const «T1»)) c0 \ - inductive ind1 tt - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.23»)) - c1 \ arity (sort (typ «elpi.tests.test_API_elaborate.25»))) c1 \ - [constructor K1 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.28»)) - c2 \ arity (prod `_` (app [c1, c2]) c3 \ app [c1, c2])), - constructor K2 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.30»)) - c2 \ - arity (prod `_` (app [global (const «f1»), c0]) c3 \ app [c1, c2])), - constructor K3 - (parameter B explicit (sort (typ «elpi.tests.test_API_elaborate.33»)) - c2 \ - arity (prod `a` (app [global (const «f1»), c0]) c3 \ app [c1, c2]))] -elab2: -parameter A explicit (global (const «T1»)) c0 \ - parameter B explicit (sort (typ «ind1.u0»)) c1 \ - inductive ind1 tt (arity (sort (typ «ind1.u1»))) c2 \ - [constructor K1 (arity (prod `_` c2 c3 \ c2)), - constructor K2 - (arity (prod `_` (app [global (const «f1»), c0]) c3 \ c2)), - constructor K3 - (arity (prod `a` (app [global (const «f1»), c0]) c3 \ c2))] -raw: -parameter A explicit (global (const «T1»)) c0 \ - record ind2 (sort (typ «f1.u0»)) Build_ind2 - (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) - c1 \ - field [coercion off, canonical tt] fld2 - (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) - c2 \ end-record) -elab1: -parameter A explicit (global (const «T1»)) c0 \ - record ind2 (sort (typ «elpi.tests.test_API_elaborate.38»)) Build_ind2 - (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) - c1 \ - field [coercion off, canonical tt] fld2 - (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) - c2 \ end-record) -elab2: -parameter A explicit (global (const «T1»)) c0 \ - record ind2 (sort (typ «ind2.u0»)) Build_ind2 - (field [coercion off, canonical tt] fld1 (app [global (const «f1»), c0]) - c1 \ - field [coercion off, canonical tt] fld2 - (app [global (indt «eq»), app [global (const «f1»), c0], c1, c1]) - c2 \ end-record) -raw: -record ind3 (sort (typ «elpi.tests.test_API_elaborate.41»)) Build_ind3 - (field [coercion reversible, canonical tt] fld3 - (sort (typ «elpi.tests.test_API_elaborate.40»)) c0 \ - field [coercion off, canonical tt] fld4 - (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) -elab1: -record ind3 (sort (typ «elpi.tests.test_API_elaborate.42»)) Build_ind3 - (field [coercion reversible, canonical tt] fld3 - (sort (typ «elpi.tests.test_API_elaborate.43»)) c0 \ - field [coercion off, canonical tt] fld4 - (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) -elab2: -record ind3 (sort (typ «ind3.u0»)) Build_ind3 - (field [coercion reversible, canonical tt] fld3 (sort (typ «ind3.u1»)) - c0 \ - field [coercion off, canonical tt] fld4 - (prod `x` c0 c1 \ app [global (indt «eq»), c0, c1, c1]) c1 \ end-record) -forall x : ind3, x -> Prop - : Type +Notation abbr _elpi_ctx_entry_2_was_x_ _elpi_ctx_entry_1_ := + (_elpi_ctx_entry_2_was_x_ = _elpi_ctx_entry_2_was_x_) +Expands to: Notation elpi.tests.test_API_notations.abbr +4 = 4 + : Prop Query assignments: - E = app - [global (const «op»), global (const «c»), - app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]] - TY = app [global (const «field»), global (const «c»)] + X4_ = X0 + X5_ = c0 \ +X1 c0 + X6_ = c0 \ +X2 c0 +Syntactic constraints: + {c0} : decl c0 `x` X0 ?- evar (X2 c0) (X3 c0) (X2 c0) /* suspended on X2 */ + {c0} : decl c0 `x` X0 + ?- evar (X4 c0) (sort (typ «elpi.tests.test_API_notations.6»)) (X3 c0) /* suspended on X4, X3 */ + {c0} : decl c0 `x` X0 + ?- evar (X1 c0) (sort (typ «elpi.tests.test_API_notations.5»)) (X1 c0) /* suspended on X1 */ + evar (X0) (sort (typ «elpi.tests.test_API_notations.4»)) (X0) /* suspended on X0 */ Universe constraints: UNIVERSES: - {elpi.tests.test_API_elaborate.50 elpi.tests.test_API_elaborate.49} |= - elpi.tests.test_API_elaborate.50 < elpi.tests.test_API_elaborate.49 - s.u0 <= elpi.tests.test_API_elaborate.50 + {elpi.tests.test_API_notations.6 elpi.tests.test_API_notations.5 + elpi.tests.test_API_notations.4} |= ALGEBRAIC UNIVERSES: {} FLEXIBLE UNIVERSES: SORTS: - α21 := Type + α4 + α5 + α6 WEAK CONSTRAINTS: -unknown_gref -«elpi.tests.test_API_elaborate.52» «elpi.tests.test_API_elaborate.52» -File "./tests/test_API_elaborate.v", line 160, characters 19-20: -Warning: -File "./tests/test_API_elaborate.v", line 160, characters 19-20 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_API_elaborate.v", line 170, characters 33-34: -Warning: -File "./tests/test_API_elaborate.v", line 170, characters 33-34 -Y is linear: name it _Y (discard) or Y_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -Goal: -[decl c1 `y` (global (indt «nat»)), decl c0 `x` (global (indt «nat»))] -|- X0 c0 c1 : -app - [global (indt «eq»), global (indt «nat»), - app - [global (const «Nat.add»), c0, - app [global (indc «S»), global (indc «O»)]], c1] -(I, 0) -conj : forall [A B : Prop], A -> B -> A /\ B - -conj is not universe polymorphic -Arguments conj [A B]%type_scope _ _ -Expands to: Constructor Coq.Init.Logic.conj -(ex_intro (fun t : Prop => True /\ True /\ t) True (conj I (conj I I))) -[int 1, str x, str a b, - trm - (app - [global (indt «eq»), X0, - app [global (indc «S»), global (indc «O»)], global (indc «O»)])] -Using H ?p of type Q -Using H ?p of type Q -Using p of type P -[trm c0, trm c3, trm (app [c2, c3])] -found P -found P /\ P -Goal: [decl c0 `x` (global (indt «nat»))] |- X0 c0 : -app - [global (indt «eq»), global (indt «nat»), - app - [global (const «Nat.add»), c0, - app [global (indc «S»), global (indc «O»)]], global (indc «O»)] -Proof state: - {c0} : decl c0 `x` (global (indt «nat»)) - ?- evar (X1 c0) - (app - [global (indt «eq»), global (indt «nat»), - app - [global (const «Nat.add»), c0, - app [global (indc «S»), global (indc «O»)]], - global (indc «O»)]) (X0 c0) /* suspended on X1, X0 */ -EVARS: - ?X57==[x |- x + 1 = 0] (goal evar) {?Goal} - ?X56==[ |- => fun x : nat => ?Goal] (goal evar) - ?X55==[x |- => nat] (parameter A of eq) - ?X54==[ |- => nat] (type of x) - -SHELF:|| -FUTURE GOALS STACK: - || +Notation abbr2 _elpi_ctx_entry_1_was_x_ := + (fun _ => _elpi_ctx_entry_1_was_x_ = _elpi_ctx_entry_1_was_x_) +Expands to: Notation elpi.tests.test_API_notations.abbr2 +(fun _ : nat => 2 = 2) 3 + : Prop +fun `_` X0 c0 \ + app [global (indt «eq»), X1, fun `x` X2 c1 \ c1, fun `x` X2 c1 \ c1] +Query assignments: + %arg1 = «elpi.tests.test_API_notations.abbr2» + T = fun `_` X0 c0 \ + app [global (indt «eq»), X1, fun `x` X2 c1 \ c1, fun `x` X2 c1 \ c1] + X7_ = X2 +Query assignments: + %arg1 = «elpi.tests.test_API_notations.abbr2» +Query assignments: + CA = «a» + CB = «b» + CC = «c» +d : nat -Rocq-Elpi mapping: -RAW: -?X57 <-> c0 \ X1 c0 -ELAB: -?X57 <-> X0 +d is not universe polymorphic +Expands to: Variable d +eq_refl : e2 = 3 + : e2 = 3 +Query assignments: + X = «x» +fx : nat -> nat + : nat -> nat +opaque_3 : nat -#goals = 2 -[nabla c0 \ - nabla c1 \ - seal - (goal [decl c1 `Q` (sort prop), decl c0 `P` (sort prop)] (X0 c0 c1) c0 - (X1 c0 c1) []), - nabla c0 \ - nabla c1 \ - seal - (goal [decl c1 `Q` (sort prop), decl c0 `P` (sort prop)] (X2 c0 c1) c1 - (X3 c0 c1) [])] -(fun (P Q : Prop) (p : P) (q : Q) => conj ?Goal (conj ?Goal0 ?Goal1)) -(fun (P Q : Prop) (p : P) (q : Q) => conj ?Goal0 (conj ?Goal ?Goal0)) -foo = 46 +opaque_3 is not universe polymorphic +opaque_3 is opaque +Expands to: Constant elpi.tests.test_API_section.opaque_3 +foo : nat : nat -bar = (false :: nil)%list - : list bool -baz = (46%nat :: nil)%list - : list nat -File "./examples/tutorial_coq_elpi_tactic.v", line 632, characters 0-22: -Warning: x is already taken, Elpi will make a name up [lib,elpi,default] -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 32-33: -Warning: -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 32-33 -A is linear: name it _A (discard) or A_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 40-41: -Warning: -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 40-41 -B is linear: name it _B (discard) or B_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 14-17: -Warning: -File "./examples/tutorial_coq_elpi_tactic.v", line 742, characters 14-17 -Ctx is linear: name it _Ctx (discard) or Ctx_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./examples/tutorial_coq_elpi_tactic.v", line 843, characters 44-46: -Warning: -File "./examples/tutorial_coq_elpi_tactic.v", line 843, characters 44-46 -G1 is linear: name it _G1 (discard) or G1_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./examples/tutorial_coq_elpi_tactic.v", line 844, characters 44-46: -Warning: -File "./examples/tutorial_coq_elpi_tactic.v", line 844, characters 44-46 -G2 is linear: name it _G2 (discard) or G2_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] +bar : bool -> nat + : bool -> nat Query assignments: L = [gref (indt «Empty_set»), gref (const «Empty_set_rect»), gref (const «Empty_set_ind»), gref (const «Empty_set_rec»), @@ -8273,272 +8427,10 @@ File "./tests/test_API_module.v", line 101, characters 27-32 MP_TF is linear: name it _MP_TF (discard) or MP_TF_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -«elpi.tests.test_API_notations.abbr» -Query assignments: - A = «elpi.tests.test_API_notations.abbr» - X1_ = X0 - X2_ = c0 \ -X1 c0 - X3_ = c0 \ -X2 c0 -Syntactic constraints: - {c0} : decl c0 `x` X0 ?- evar (X2 c0) (X3 c0) (X2 c0) /* suspended on X2 */ - {c0} : decl c0 `x` X0 - ?- evar (X4 c0) (sort (typ «elpi.tests.test_API_notations.3»)) (X3 c0) /* suspended on X4, X3 */ - {c0} : decl c0 `x` X0 - ?- evar (X1 c0) (sort (typ «elpi.tests.test_API_notations.2»)) (X1 c0) /* suspended on X1 */ - evar (X0) (sort (typ «elpi.tests.test_API_notations.1»)) (X0) /* suspended on X0 */ -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_notations.3 elpi.tests.test_API_notations.2 - elpi.tests.test_API_notations.1} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α1 - α2 - α3 -WEAK CONSTRAINTS: - - -Notation abbr _elpi_ctx_entry_2_was_x_ _elpi_ctx_entry_1_ := - (_elpi_ctx_entry_2_was_x_ = _elpi_ctx_entry_2_was_x_) -Expands to: Notation elpi.tests.test_API_notations.abbr -4 = 4 - : Prop -Query assignments: - X4_ = X0 - X5_ = c0 \ -X1 c0 - X6_ = c0 \ -X2 c0 -Syntactic constraints: - {c0} : decl c0 `x` X0 ?- evar (X2 c0) (X3 c0) (X2 c0) /* suspended on X2 */ - {c0} : decl c0 `x` X0 - ?- evar (X4 c0) (sort (typ «elpi.tests.test_API_notations.6»)) (X3 c0) /* suspended on X4, X3 */ - {c0} : decl c0 `x` X0 - ?- evar (X1 c0) (sort (typ «elpi.tests.test_API_notations.5»)) (X1 c0) /* suspended on X1 */ - evar (X0) (sort (typ «elpi.tests.test_API_notations.4»)) (X0) /* suspended on X0 */ -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_notations.6 elpi.tests.test_API_notations.5 - elpi.tests.test_API_notations.4} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α4 - α5 - α6 -WEAK CONSTRAINTS: - - -Notation abbr2 _elpi_ctx_entry_1_was_x_ := - (fun _ => _elpi_ctx_entry_1_was_x_ = _elpi_ctx_entry_1_was_x_) -Expands to: Notation elpi.tests.test_API_notations.abbr2 -(fun _ : nat => 2 = 2) 3 - : Prop -fun `_` X0 c0 \ - app [global (indt «eq»), X1, fun `x` X2 c1 \ c1, fun `x` X2 c1 \ c1] -Query assignments: - %arg1 = «elpi.tests.test_API_notations.abbr2» - T = fun `_` X0 c0 \ - app [global (indt «eq»), X1, fun `x` X2 c1 \ c1, fun `x` X2 c1 \ c1] - X7_ = X2 -Query assignments: - %arg1 = «elpi.tests.test_API_notations.abbr2» -Query q X0 -Query r X0 -Result r 1 -Query assignments: - CA = «a» - CB = «b» - CC = «c» -d : nat - -d is not universe polymorphic -Expands to: Variable d -eq_refl : e2 = 3 - : e2 = 3 -Query assignments: - X = «x» -fx : nat -> nat - : nat -> nat -opaque_3 : nat - -opaque_3 is not universe polymorphic -opaque_3 is opaque -Expands to: Constant elpi.tests.test_API_section.opaque_3 -foo : nat - : nat -bar : bool -> nat - : bool -> nat The argument fun x : ?e => x + ?e1 was closed under 1 binders old replacement: fun (x : ?e) (y : ?e0) => x - y with fun (y : ?e1) (x : ?e2) => y + x new replacement: fun y : ?e0 => x - y with fun y : ?e1 => y + x -File "./tests/test_File3.v", line 18, characters 2-16: -Warning: This command does not support this attribute: phase. -[unsupported-attributes,parsing,default] -Query assignments: - BO = fix `add` 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) - [c2, - fun `p` (global (indt «nat»)) c3 \ - app [global (indc «S»), app [c0, c3, c2]]] - GR = «Nat.add» - TY = prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat») -c2 -global (indt «nat») -z -nat -Query assignments: - %arg1 = c0 \ c1 \ c2 \ -z - %arg2 = c0 \ c1 \ c2 \ -nat - T = global (indt «nat») -c2 -global (indt «nat») -z -nat -Query assignments: - %arg1 = c0 \ c1 \ c2 \ -z - %arg2 = c0 \ c1 \ c2 \ -nat - T = global (indt «nat») -Illegal application (Non-functional construction): -The expression "Prop" of type "Type" -cannot be applied to the term - "Prop" : "Type" -Query assignments: - E = Illegal application (Non-functional construction): -The expression "Prop" of type "Type" -cannot be applied to the term - "Prop" : "Type" -Unable to unify "bool" with "nat". -Query assignments: - Msg = Unable to unify "bool" with "nat". -Query assignments: - Cons = global (indc «cons») - GRCons = indc «cons» - GRList = indt «list» - GRNat = indt «nat» - GRNil = indc «nil» - GRZero = indc «O» - L = app - [global (indc «cons»), global (indt «nat»), global (indc «O»), - app [global (indc «nil»), global (indt «nat»)]] - LE = app - [global (indc «cons»), global (indt «nat»), global (indc «O»), - app [global (indc «nil»), global (indt «nat»)]] - List = global (indt «list») - Nat = global (indt «nat») - Nil = global (indc «nil») - Zero = global (indc «O») -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_typecheck.4 elpi.tests.test_API_typecheck.3 - elpi.tests.test_API_typecheck.2 elpi.tests.test_API_typecheck.1} |= - elpi.tests.test_API_typecheck.3 < elpi.tests.test_API_typecheck.2 - elpi.tests.test_API_typecheck.4 < elpi.tests.test_API_typecheck.1 - Set <= elpi.tests.test_API_typecheck.3 - Set <= elpi.tests.test_API_typecheck.4 - elpi.tests.test_API_typecheck.3 <= list.u0 - elpi.tests.test_API_typecheck.4 <= list.u0 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α1 := Type - α2 := Type -WEAK CONSTRAINTS: - - -global (indt «nat») -Query assignments: - T = global (indt «nat») - X1_ = global (indt «nat») - X2_ = global (indt «nat») -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_typecheck.9 elpi.tests.test_API_typecheck.8 - elpi.tests.test_API_typecheck.7 elpi.tests.test_API_typecheck.6 - elpi.tests.test_API_typecheck.5} |= - Set < elpi.tests.test_API_typecheck.7 - elpi.tests.test_API_typecheck.8 < elpi.tests.test_API_typecheck.6 - elpi.tests.test_API_typecheck.9 < elpi.tests.test_API_typecheck.5 - Set <= elpi.tests.test_API_typecheck.8 - Set <= elpi.tests.test_API_typecheck.9 - elpi.tests.test_API_typecheck.8 <= list.u0 - elpi.tests.test_API_typecheck.9 <= list.u0 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α3 := Type - α4 := Type - α5 := Type -WEAK CONSTRAINTS: - - -«elpi.tests.test_API_typecheck.10» -Query assignments: - U = «elpi.tests.test_API_typecheck.10» -Universe constraints: -UNIVERSES: - {elpi.tests.test_API_typecheck.10} |= - Set <= elpi.tests.test_API_typecheck.10 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_API_typecheck.10} -FLEXIBLE UNIVERSES: - elpi.tests.test_API_typecheck.10 -SORTS: - -WEAK CONSTRAINTS: - - -Unable to unify "Set" with "Prop" (universe inconsistency: Cannot enforce Set -<= Prop). -Query assignments: - E = Unable to unify "Set" with "Prop" (universe inconsistency: Cannot enforce Set -<= Prop). -File "./tests/test_API_typecheck.v", line 59, characters 2-4: -Warning: -File "./tests/test_API_typecheck.v", line 59, characters 2-4 -LE is linear: name it _LE (discard) or LE_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -d1 - : nat -d2 - : nat -i1 - : Prop -i2 - : Prop -k1 - : i1 -k2 - : i2 -r1 - : Set -r2 - : Type -f1 - : r1 -> nat -f2 - : r2 -> nat Debug: ----<<---- enter: coq.say raw: @@ -11305,6 +11197,162 @@ fun `p` (global (indt «nat»)) c3 \ app [global (indc «S»), app [c0, c3, c2]]] GR = «Nat.add» + TY = prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat») +c2 +global (indt «nat») +z +nat +Query assignments: + %arg1 = c0 \ c1 \ c2 \ +z + %arg2 = c0 \ c1 \ c2 \ +nat + T = global (indt «nat») +c2 +global (indt «nat») +z +nat +Query assignments: + %arg1 = c0 \ c1 \ c2 \ +z + %arg2 = c0 \ c1 \ c2 \ +nat + T = global (indt «nat») +Illegal application (Non-functional construction): +The expression "Prop" of type "Type" +cannot be applied to the term + "Prop" : "Type" +Query assignments: + E = Illegal application (Non-functional construction): +The expression "Prop" of type "Type" +cannot be applied to the term + "Prop" : "Type" +Unable to unify "bool" with "nat". +Query assignments: + Msg = Unable to unify "bool" with "nat". +Query assignments: + Cons = global (indc «cons») + GRCons = indc «cons» + GRList = indt «list» + GRNat = indt «nat» + GRNil = indc «nil» + GRZero = indc «O» + L = app + [global (indc «cons»), global (indt «nat»), global (indc «O»), + app [global (indc «nil»), global (indt «nat»)]] + LE = app + [global (indc «cons»), global (indt «nat»), global (indc «O»), + app [global (indc «nil»), global (indt «nat»)]] + List = global (indt «list») + Nat = global (indt «nat») + Nil = global (indc «nil») + Zero = global (indc «O») +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_typecheck.4 elpi.tests.test_API_typecheck.3 + elpi.tests.test_API_typecheck.2 elpi.tests.test_API_typecheck.1} |= + elpi.tests.test_API_typecheck.3 < elpi.tests.test_API_typecheck.2 + elpi.tests.test_API_typecheck.4 < elpi.tests.test_API_typecheck.1 + Set <= elpi.tests.test_API_typecheck.3 + Set <= elpi.tests.test_API_typecheck.4 + elpi.tests.test_API_typecheck.3 <= list.u0 + elpi.tests.test_API_typecheck.4 <= list.u0 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α1 := Type + α2 := Type +WEAK CONSTRAINTS: + + +global (indt «nat») +Query assignments: + T = global (indt «nat») + X1_ = global (indt «nat») + X2_ = global (indt «nat») +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_typecheck.9 elpi.tests.test_API_typecheck.8 + elpi.tests.test_API_typecheck.7 elpi.tests.test_API_typecheck.6 + elpi.tests.test_API_typecheck.5} |= + Set < elpi.tests.test_API_typecheck.7 + elpi.tests.test_API_typecheck.8 < elpi.tests.test_API_typecheck.6 + elpi.tests.test_API_typecheck.9 < elpi.tests.test_API_typecheck.5 + Set <= elpi.tests.test_API_typecheck.8 + Set <= elpi.tests.test_API_typecheck.9 + elpi.tests.test_API_typecheck.8 <= list.u0 + elpi.tests.test_API_typecheck.9 <= list.u0 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α3 := Type + α4 := Type + α5 := Type +WEAK CONSTRAINTS: + + +«elpi.tests.test_API_typecheck.10» +Query assignments: + U = «elpi.tests.test_API_typecheck.10» +Universe constraints: +UNIVERSES: + {elpi.tests.test_API_typecheck.10} |= + Set <= elpi.tests.test_API_typecheck.10 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_API_typecheck.10} +FLEXIBLE UNIVERSES: + elpi.tests.test_API_typecheck.10 +SORTS: + +WEAK CONSTRAINTS: + + +Unable to unify "Set" with "Prop" (universe inconsistency: Cannot enforce Set +<= Prop). +Query assignments: + E = Unable to unify "Set" with "Prop" (universe inconsistency: Cannot enforce Set +<= Prop). +File "./tests/test_API_typecheck.v", line 59, characters 2-4: +Warning: +File "./tests/test_API_typecheck.v", line 59, characters 2-4 +LE is linear: name it _LE (discard) or LE_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +d1 + : nat +d2 + : nat +i1 + : Prop +i2 + : Prop +k1 + : i1 +k2 + : i2 +r1 + : Set +r2 + : Type +f1 + : r1 -> nat +f2 + : r2 -> nat +Query assignments: + BO = fix `add` 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) + [c2, + fun `p` (global (indt «nat»)) c3 \ + app [global (indc «S»), app [c0, c3, c2]]] + GR = «Nat.add» GRNat = indt «nat» GRSucc = indc «S» Nat = global (indt «nat») @@ -13054,7 +13102,7 @@ RingMicromega.PsatzZ; RMicromega.CPow; Field_theory.FEinv; Tauto.IFF; Ring_polynom.PEpow; RMicromega.CInv; Field_theory.FEdiv; Tauto.EQ; RMicromega.COpp; Field_theory.FEpow; }} - T = 0.762097 + T = 1.760683 Query assignments: %arg1 = 4 S = {{ Nat.add; eq; nat; O; }} @@ -13208,42 +13256,6 @@ File "./tests-stdlib/test_API_env.v", line 293, characters 30-32 UR is linear: name it _UR (discard) or UR_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -normP : -forall {T : Type} {e : T} {op : T -> T -> T} {gamma : list T} {t1 t2 : lang}, -(forall a b c : T, op a (op b c) = op (op a b) c) -> -(forall a : T, op e a = a) -> -(forall a : T, op a e = a) -> -norm t1 = norm t2 -> interp T e op gamma t1 = interp T e op gamma t2 - -normP is not universe polymorphic -Arguments normP {T}%type_scope {e} {op}%function_scope - {gamma}%list_scope {t1 t2} (p1 p2 p3)%function_scope - H -normP is transparent -Expands to: Constant elpi_examples_stdlib.example_reflexive_tactic.normP -(fun x y z t : Z => - normP Z.add_assoc Z.add_0_l Z.add_0_r - (eq_refl - <: - norm (add (add (var 0) (var 1)) (add (add (var 2) zero) (var 3))) = - norm (add (add (var 0) (add (var 1) (var 2))) (var 3)))) -Debug: In environment -x, y, z, t : Z -Unable to unify "var 1" with - "var 0". -Raised at Loc.raise in file "lib/loc.ml", line 101, characters 16-23 -Called from Unification.unify_0_with_initial_metas in file "pretyping/unification.ml", line 1281, characters 13-48 -Re-raised at Exninfo.iraise in file "clib/exninfo.ml", line 81, characters 4-38 -Called from Unification.unify_with_eta in file "pretyping/unification.ml", line 1320, characters 14-48 -Called from Unification.merge_instances in file "pretyping/unification.ml", line 1333, characters 23-64 -Called from Unification.w_merge.w_merge_rec in file "pretyping/unification.ml", line 1554, characters 14-63 -Called from Unification.w_merge in file "pretyping/unification.ml", lines 1608-1610, characters 4-35 -Called from Unification.w_unify_core_0 in file "pretyping/unification.ml", line 1661, characters 12-65 -Called from Clenv.clenv_unify in file "proofs/clenv.ml", line 298, characters 25-73 -Called from Clenv.res_pf.(fun) in file "proofs/clenv.ml", line 771, characters 16-56 -Called from Proofview.Goal.enter.f in file "engine/proofview.ml", line 1136, characters 40-46 -Called from Proofview.Goal.enter.(fun) in file "engine/proofview.ml", line 1141, characters 10-34 - z : nat it = elpi_subproof @@ -13286,13 +13298,6 @@ [global (const «Nat.add»), c1, app [global (indc «S»), global (indc «O»)]]], c0] Query assignments: - P = /build/reproducible-path/coq-elpi-2.5.0/_build/default/elpi/elpi_elaborator.elpi -File "./tests/test_query_extra_dep.v", line 7, characters 44-45: -Warning: -File "./tests/test_query_extra_dep.v", line 7, characters 44-45 -P is linear: name it _P (discard) or P_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -Query assignments: B = fix `add` 0 (prod `n` (global (indt «nat»)) c0 \ prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ @@ -13930,6 +13935,107 @@ File "./tests/test_elaborator.v", line 157, characters 41-42 X is linear: name it _X (discard) or X_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] +Query assignments: + P = /build/reproducible-path/coq-elpi-2.5.0/_build/default/elpi/elpi_elaborator.elpi +File "./tests/test_query_extra_dep.v", line 7, characters 44-45: +Warning: +File "./tests/test_query_extra_dep.v", line 7, characters 44-45 +P is linear: name it _P (discard) or P_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +normP : +forall {T : Type} {e : T} {op : T -> T -> T} {gamma : list T} {t1 t2 : lang}, +(forall a b c : T, op a (op b c) = op (op a b) c) -> +(forall a : T, op e a = a) -> +(forall a : T, op a e = a) -> +norm t1 = norm t2 -> interp T e op gamma t1 = interp T e op gamma t2 + +normP is not universe polymorphic +Arguments normP {T}%type_scope {e} {op}%function_scope + {gamma}%list_scope {t1 t2} (p1 p2 p3)%function_scope + H +normP is transparent +Expands to: Constant elpi_examples_stdlib.example_reflexive_tactic.normP +(fun x y z t : Z => + normP Z.add_assoc Z.add_0_l Z.add_0_r + (eq_refl + <: + norm (add (add (var 0) (var 1)) (add (add (var 2) zero) (var 3))) = + norm (add (add (var 0) (add (var 1) (var 2))) (var 3)))) +Debug: In environment +x, y, z, t : Z +Unable to unify "var 1" with + "var 0". +Raised at Loc.raise in file "lib/loc.ml", line 101, characters 16-23 +Called from Unification.unify_0_with_initial_metas in file "pretyping/unification.ml", line 1281, characters 13-48 +Re-raised at Exninfo.iraise in file "clib/exninfo.ml", line 81, characters 4-38 +Called from Unification.unify_with_eta in file "pretyping/unification.ml", line 1320, characters 14-48 +Called from Unification.merge_instances in file "pretyping/unification.ml", line 1333, characters 23-64 +Called from Unification.w_merge.w_merge_rec in file "pretyping/unification.ml", line 1554, characters 14-63 +Called from Unification.w_merge in file "pretyping/unification.ml", lines 1608-1610, characters 4-35 +Called from Unification.w_unify_core_0 in file "pretyping/unification.ml", line 1661, characters 12-65 +Called from Clenv.clenv_unify in file "proofs/clenv.ml", line 298, characters 25-73 +Called from Clenv.res_pf.(fun) in file "proofs/clenv.ml", line 771, characters 16-56 +Called from Proofview.Goal.enter.f in file "engine/proofview.ml", line 1136, characters 40-46 +Called from Proofview.Goal.enter.(fun) in file "engine/proofview.ml", line 1141, characters 10-34 + +(true && false)%bool + : bool +natmul R n : ringType_sort R + : ringType_sort R +natmul R n : ringType_sort R + : ringType_sort R +test2 +test1 +str hello +test1 +too many arguments +test1 +str hello my +str Dear +test1 +too many arguments +[attribute elpi.loc + (leaf-loc + File "./tests/test_vernacular1.v", line 47, column 5, characters 953-961:), + attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar)] +[get-option elpi.loc + File "./tests/test_vernacular1.v", line 47, column 5, characters 953-961:, + get-option elpi.phase interp, get-option foo bar] +[attribute elpi.loc + (leaf-loc + File "./tests/test_vernacular1.v", line 51, column 0, characters 987-1014:), + attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar), + attribute poly (leaf-str )] +[get-option elpi.loc + File "./tests/test_vernacular1.v", line 51, column 0, characters 987-1014:, + get-option elpi.phase interp, get-option foo bar, get-option poly tt] +[attribute elpi.loc + (leaf-loc + File "./tests/test_vernacular1.v", line 52, column 0, characters 1015-1055:), + attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar), + attribute poly (leaf-str ), + attribute suppa (node [attribute duppa (leaf-str )])] +[get-option elpi.loc + File "./tests/test_vernacular1.v", line 52, column 0, characters 1015-1055:, + get-option elpi.phase interp, get-option foo bar, get-option poly tt] +Query assignments: + X = 3 +app [global (const «Nat.mul»), X0, X1] type +File "./tests/test_vernacular1.v", line 5, characters 0-61: +Warning: +Undeclared globals: +- File "./tests/test_vernacular1.v", line 6, column 29, characters 112-117: foo. +Please add the following text to your program: +type foo list argument -> prop. +[elpi.missing-types,elpi.typecheck,elpi,default] +File "./tests/test_vernacular1.v", line 46, characters 2-11: +Warning: This command does not support this attribute: foo. +[unsupported-attributes,parsing,default] +File "./tests/test_vernacular1.v", line 65, characters 26-27: +Warning: +File "./tests/test_vernacular1.v", line 65, characters 26-27 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] synterp [str X] interp [str X] synterp [int 1] @@ -14104,1028 +14210,8 @@ File "./tests/test_synterp.v", line 41, characters 12-13 X is linear: name it _X (discard) or X_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -test2 -test1 -str hello -test1 -too many arguments -test1 -str hello my -str Dear -test1 -too many arguments -[attribute elpi.loc - (leaf-loc - File "./tests/test_vernacular1.v", line 47, column 5, characters 953-961:), - attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar)] -[get-option elpi.loc - File "./tests/test_vernacular1.v", line 47, column 5, characters 953-961:, - get-option elpi.phase interp, get-option foo bar] -[attribute elpi.loc - (leaf-loc - File "./tests/test_vernacular1.v", line 51, column 0, characters 987-1014:), - attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar), - attribute poly (leaf-str )] -[get-option elpi.loc - File "./tests/test_vernacular1.v", line 51, column 0, characters 987-1014:, - get-option elpi.phase interp, get-option foo bar, get-option poly tt] -[attribute elpi.loc - (leaf-loc - File "./tests/test_vernacular1.v", line 52, column 0, characters 1015-1055:), - attribute elpi.phase (leaf-str interp), attribute foo (leaf-str bar), - attribute poly (leaf-str ), - attribute suppa (node [attribute duppa (leaf-str )])] -[get-option elpi.loc - File "./tests/test_vernacular1.v", line 52, column 0, characters 1015-1055:, - get-option elpi.phase interp, get-option foo bar, get-option poly tt] -Query assignments: - X = 3 -app [global (const «Nat.mul»), X0, X1] type -File "./tests/test_vernacular1.v", line 5, characters 0-61: -Warning: -Undeclared globals: -- File "./tests/test_vernacular1.v", line 6, column 29, characters 112-117: foo. -Please add the following text to your program: -type foo list argument -> prop. -[elpi.missing-types,elpi.typecheck,elpi,default] -File "./tests/test_vernacular1.v", line 46, characters 2-11: -Warning: This command does not support this attribute: foo. -[unsupported-attributes,parsing,default] -File "./tests/test_vernacular1.v", line 65, characters 26-27: -Warning: -File "./tests/test_vernacular1.v", line 65, characters 26-27 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./apps/NES/theories/NES.v", line 39, characters 0-42: -Warning: -Undeclared globals: -- File "/build/reproducible-path/coq-elpi-2.5.0/apps/NES/elpi/nes_interp.elpi", line 6, column 24, characters 152-161: ns. -Please add the following text to your program: -type ns list string -> modpath -> prop. -[elpi.missing-types,elpi.typecheck,elpi,default] -File "./apps/eltac/theories/apply.v", line 15, characters 16-19: -Warning: -File "./apps/eltac/theories/apply.v", line 15, characters 16-19 -Ctx is linear: name it _Ctx (discard) or Ctx_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] - {c0} : decl c0 `x` (global (indt «nat»)) - ?- evar (X0 c0) - (prod `_` (global (indt «bool»)) c1 \ global (indt «True»)) - (X1 c0) /* suspended on X0, X1 */ -EVARS: - ?X2==[x |- bool -> True] (goal evar) {?Goal} - ?X1==[ |- => fun x : nat => ?Goal] (goal evar) - -SHELF:|| -FUTURE GOALS STACK: - || - -Rocq-Elpi mapping: -RAW: -?X2 <-> c0 \ X0 c0 -ELAB: -?X2 <-> X1 - -Debug: - {c0} : decl c0 `x` (global (indt «nat»)) - ?- evar (X0 c0) - (prod `_` (global (indt «bool»)) c1 \ global (indt «True»)) - (X1 c0) /* suspended on X0, X1 */ -H -[nabla c1 \ - seal - (goal - [decl c1 `H` - (prod `b` - (prod `b` (global (indt «bool»)) c2 \ - app [global (indt «eq»), global (indt «bool»), c2, c2]) c2 \ - global (indt «True»))] (X0 c1) - (prod `b` (global (indt «bool»)) c2 \ - app [global (indt «eq»), global (indt «bool»), c2, c2]) (X1 c1) [])] -[str fun, str in, str as, int 4, str end, str match, str return, str =>, - str :, str :=, str {, str }, str ;, str ,, str |, str x, int 1, str H, - trm - (fun `x` (global (indt «False»)) c0 \ - match c0 (fun `y` (global (indt «False»)) c1 \ global (indt «nat»)) - [])] -Query assignments: - T = sort (typ «elpi.tests.test_HOAS.3») - U = «elpi.tests.test_HOAS.3» -Query assignments: - U = «elpi.tests.test_HOAS.4» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.4} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - U = «foo» -Query assignments: - X = c0 \ c1 \ c2 \ -X0 c0 c1 c2 - X3_ = global (indt «nat») -Syntactic constraints: - {c0 c1 c2 c3 c4 c5 c6} : - decl c6 `z` (app [global (const «N»), c5]), - decl c5 `x` (global (indt «nat»)), - decl c4 `a` (global (indt «bool»)) - ?- evar (X0 c4 c5 c6) (X1 c4 c5 c6) (X0 c4 c5 c6) /* suspended on X0 */ - {c0 c1 c2 c3 c4 c5 c6} : - decl c6 `z` (app [global (const «N»), c5]), - decl c5 `x` (global (indt «nat»)), - decl c4 `a` (global (indt «bool»)) - ?- evar (X2 c4 c5 c6) (sort (typ «elpi.tests.test_HOAS.9»)) - (X1 c4 c5 c6) /* suspended on X2, X1 */ -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.9 elpi.tests.test_HOAS.8} |= - Set <= elpi.tests.test_HOAS.8 - elpi.tests.test_HOAS.8 <= elpi.tests.test_HOAS.8 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α3 := Type - α4 -WEAK CONSTRAINTS: - - ----------------------------------- - {c0 c1} : decl c1 `a` (global (indt «bool»)) - ?- evar X0 (sort (typ «elpi.tests.test_HOAS.10»)) X1 /* suspended on X0, X1 */ - {c0 c1} : decl c1 `a` (global (indt «bool»)) ?- evar (X2 c1) X1 (X2 c1) /* suspended on X2 */ -EVARS: - ?X10==[ |- Type] (internal placeholder) {?elpi_evar} - ?X9==[a |- ?elpi_evar] (internal placeholder) {?e0} - ?X8==[a |- => ?elpi_evar] (internal placeholder) - -SHELF: -FUTURE GOALS STACK:?X10 -?X9 - -Rocq-Elpi mapping: -RAW: -?X9 <-> c0 \ X2 c0 -?X10 <-> X0 -ELAB: -?X9 <-> X2 -?X10 <-> X1 - -X2 c0 : X1 -Query assignments: - TY = X1 - X = c0 \ c1 \ -X2 c0 -Syntactic constraints: - {c0 c1} : decl c1 `a` (global (indt «bool»)) - ?- evar X0 (sort (typ «elpi.tests.test_HOAS.10»)) X1 /* suspended on X0, X1 */ - {c0 c1} : decl c1 `a` (global (indt «bool»)) ?- evar (X2 c1) X1 (X2 c1) /* suspended on X2 */ -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.10} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α5 -WEAK CONSTRAINTS: - - -Raw term: -app - [global (const «add»), primitive (uint63 2000000003333002), - primitive (uint63 1)] -Nice term: (2000000003333002 + 1)%uint63 -Red: -2000000003333003%uint63 -Raw term: -app - [global (const «add»), primitive (float64 24000000000000), - primitive (float64 1)] -Nice term: 24000000000000 + 1 -Red: 24000000000001 -Query assignments: - C = «Nat.add» - F = TODO - T = app - [fix `add` 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) - [c2, - fun `p` (global (indt «nat»)) c3 \ - app [global (indc «S»), app [c0, c3, c2]]], - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T1 = app - [global (const «Nat.add»), - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T2 = app - [fix `plus` 0 - (prod `n` (global (indt «nat»)) c0 \ - prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ - fun `n` (global (indt «nat»)) c1 \ - fun `m` (global (indt «nat»)) c2 \ - match c1 - (fun `_elpi_renamed_n_3` (global (indt «nat»)) c3 \ - global (indt «nat»)) - [c2, - fun `p` (global (indt «nat»)) c3 \ - app [global (indc «S»), app [c0, c3, c2]]], - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - X10_ = c0 \ c1 \ c2 \ -global (indt «nat») - X4_ = global (indt «nat») - X5_ = c0 \ -global (indt «nat») - X6_ = c0 \ c1 \ -global (indt «nat») - X7_ = c0 \ -global (indt «nat») - X8_ = c0 \ c1 \ -global (indt «nat») - X9_ = c0 \ c1 \ c2 \ c3 \ -global (indt «nat») -Query assignments: - C = «Nat.add» - F = TODO - T = app - [fun `n` (global (indt «nat»)) c0 \ - fun `m` (global (indt «nat»)) c1 \ - match c0 (fun `n` (global (indt «nat»)) c2 \ global (indt «nat»)) - [c1, - fun `p` (global (indt «nat»)) c2 \ - app - [global (indc «S»), - app - [fix `add` 0 - (prod `n` (global (indt «nat»)) c3 \ - prod `m` (global (indt «nat»)) c4 \ global (indt «nat»)) - c3 \ - fun `n` (global (indt «nat»)) c4 \ - fun `m` (global (indt «nat»)) c5 \ - match c4 - (fun `n` (global (indt «nat»)) c6 \ global (indt «nat»)) - [c5, - fun `p` (global (indt «nat»)) c6 \ - app [global (indc «S»), app [c3, c6, c5]]], c2, c1]]], - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T1 = app - [global (const «Nat.add»), - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T2 = app - [fun `n` (global (indt «nat»)) c0 \ - fun `m` (global (indt «nat»)) c1 \ - match c0 - (fun `_elpi_renamed_n_2` (global (indt «nat»)) c2 \ - global (indt «nat»)) - [c1, - fun `p` (global (indt «nat»)) c2 \ - app - [global (indc «S»), - app - [fix `plus` 0 - (prod `_elpi_renamed_n_3` (global (indt «nat»)) c3 \ - prod `_elpi_renamed_m_4` (global (indt «nat»)) c4 \ - global (indt «nat»)) c3 \ - fun `_elpi_renamed_n_4` (global (indt «nat»)) c4 \ - fun `_elpi_renamed_m_5` (global (indt «nat»)) c5 \ - match c4 - (fun `_elpi_renamed_n_6` (global (indt «nat»)) c6 \ - global (indt «nat»)) - [c5, - fun `_elpi_renamed_p_6` (global (indt «nat»)) c6 \ - app [global (indc «S»), app [c3, c6, c5]]], c2, c1]]], - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - X11_ = global (indt «nat») - X12_ = c0 \ -global (indt «nat») - X13_ = c0 \ c1 \ c2 \ -global (indt «nat») - X14_ = c0 \ c1 \ -global (indt «nat») - X15_ = c0 \ c1 \ c2 \ -global (indt «nat») - X16_ = c0 \ c1 \ c2 \ c3 \ -global (indt «nat») - X17_ = c0 \ c1 \ c2 \ c3 \ c4 \ -global (indt «nat») - X18_ = c0 \ c1 \ c2 \ c3 \ -global (indt «nat») - X19_ = c0 \ c1 \ c2 \ c3 \ c4 \ -global (indt «nat») - X20_ = c0 \ c1 \ c2 \ c3 \ c4 \ c5 \ c6 \ -global (indt «nat») - X21_ = c0 \ c1 \ c2 \ c3 \ c4 \ c5 \ -global (indt «nat») -Query assignments: - C = «Nat.add» - F = TODO - T = match (app [global (indc «S»), global (indc «O»)]) - (fun `n` (global (indt «nat»)) c0 \ global (indt «nat»)) - [app [global (indc «S»), app [global (indc «S»), global (indc «O»)]], - fun `p` (global (indt «nat»)) c0 \ - app - [global (indc «S»), - app - [fix `add` 0 - (prod `n` (global (indt «nat»)) c1 \ - prod `m` (global (indt «nat»)) c2 \ global (indt «nat»)) c1 \ - fun `n` (global (indt «nat»)) c2 \ - fun `m` (global (indt «nat»)) c3 \ - match c2 - (fun `n` (global (indt «nat»)) c4 \ global (indt «nat»)) - [c3, - fun `p` (global (indt «nat»)) c4 \ - app [global (indc «S»), app [c1, c4, c3]]], c0, - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]]] - T1 = app - [global (const «Nat.add»), - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T2 = match (app [global (indc «S»), global (indc «O»)]) - (fun `_` (global (indt «nat»)) c0 \ global (indt «nat»)) - [app [global (indc «S»), app [global (indc «S»), global (indc «O»)]], - fun `p` (global (indt «nat»)) c0 \ - app - [global (indc «S»), - app - [fix `plus` 0 - (prod `n` (global (indt «nat»)) c1 \ - prod `m` (global (indt «nat»)) c2 \ global (indt «nat»)) c1 \ - fun `n` (global (indt «nat»)) c2 \ - fun `m` (global (indt «nat»)) c3 \ - match c2 - (fun `_elpi_renamed_n_4` (global (indt «nat»)) c4 \ - global (indt «nat»)) - [c3, - fun `_elpi_renamed_p_4` (global (indt «nat»)) c4 \ - app [global (indc «S»), app [c1, c4, c3]]], c0, - app - [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]]] - X22_ = global (indt «nat») - X23_ = global (indt «nat») - X24_ = c0 \ -global (indt «nat») - X25_ = c0 \ c1 \ -global (indt «nat») - X26_ = c0 \ c1 \ c2 \ -global (indt «nat») - X27_ = c0 \ c1 \ -global (indt «nat») - X28_ = c0 \ c1 \ c2 \ -global (indt «nat») - X29_ = c0 \ c1 \ c2 \ c3 \ c4 \ -global (indt «nat») - X30_ = c0 \ c1 \ c2 \ c3 \ -global (indt «nat») -Query assignments: - C = «Nat.add» - F = TODO - T = app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T1 = app - [global (const «Nat.add»), - app [global (indc «S»), global (indc «O»)], - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] - T2 = app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] -Query assignments: - C = «proj1» -Query assignments: - C = «proj1» - P = elpi.tests.test_HOAS.P''.proj1 -elpi.tests.test_HOAS.P.p1 1 global (const «P.x») -@P.p1 -X0 global (const «P.x») -P.p1 P.x -some - (fun `A` (sort (typ «P.foo.u0»)) c0 \ - fun `f` (app [global (indt «P.foo»), c0]) c1 \ - app [primitive (proj elpi.tests.test_HOAS.P.p1 1), c1]) -elpi.tests.test_HOAS.P.p2 2 global (const «P.x») -@P.p2 -X0 global (const «P.x») -P.p2 P.x -some - (fun `A` (sort (typ «P.foo.u0»)) c0 \ - fun `f` (app [global (indt «P.foo»), c0]) c1 \ - app [primitive (proj elpi.tests.test_HOAS.P.p1 1), c1]) -some - (pglobal (const «toto») - «elpi.tests.test_HOAS.23 elpi.tests.test_HOAS.24») -prod `T1` (sort (typ «elpi.tests.test_HOAS.23»)) c0 \ - prod `T2` (sort (typ «elpi.tests.test_HOAS.24»)) c1 \ prod `x` c0 c2 \ c0 -Query assignments: - Body = some - (pglobal (const «toto») - «elpi.tests.test_HOAS.23 elpi.tests.test_HOAS.24») - C = «titi» - Term = prod `T1` (sort (typ «elpi.tests.test_HOAS.23»)) c0 \ - prod `T2` (sort (typ «elpi.tests.test_HOAS.24»)) c1 \ prod `x` c0 c2 \ c0 -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.24 elpi.tests.test_HOAS.23} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.24 - elpi.tests.test_HOAS.23 -SORTS: - -WEAK CONSTRAINTS: - - -pglobal (const «toto») X0 -pglobal (const «toto») «u1 u2» -toto -Query assignments: - %arg1 = toto - X31_ = X0 - X32_ = «elpi.tests.test_HOAS.27 elpi.tests.test_HOAS.28» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.28 elpi.tests.test_HOAS.27} |= -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.28 elpi.tests.test_HOAS.27} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.28 - elpi.tests.test_HOAS.27 -SORTS: - -WEAK CONSTRAINTS: - - -app - [pglobal (const «t») X0, global (indt «nat»), - pglobal (const «fnat») X1] -app - [pglobal (const «t») «elpi.tests.test_HOAS.33», global (indt «nat»), - pglobal (const «fnat») «»] -Query assignments: - T = app - [pglobal (const «t») «elpi.tests.test_HOAS.33», global (indt «nat»), - pglobal (const «fnat») «»] - Ty = global (indt «nat») - X33_ = «elpi.tests.test_HOAS.33» - X34_ = «» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.33} |= - Set <= elpi.tests.test_HOAS.33 - Set = elpi.tests.test_HOAS.33 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.33} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.33 := Set -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - Arity = prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ - sort (typ «elpi.tests.test_HOAS.34») - GRF = indt «F» - I = «elpi.tests.test_HOAS.34» - Ind = «F» - K = [«Build_F»] - KTys = [prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ - prod `t` c0 c1 \ app [pglobal (indt «F») «elpi.tests.test_HOAS.34», c0]] - TyF = prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ - sort (typ «elpi.tests.test_HOAS.34») -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.34} |= -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.34} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.34 -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - Decl = parameter T explicit (sort (typ «elpi.tests.test_HOAS.35»)) c0 \ - record F (sort (typ «elpi.tests.test_HOAS.35»)) Build_F - (field [coercion off, canonical tt] t c0 c1 \ end-record) - GRF = indt «F» - I = «elpi.tests.test_HOAS.35» - Ind = «F» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.35} |= -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.35} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.35 -SORTS: - -WEAK CONSTRAINTS: - - -«elpi.tests.test_HOAS.36» «elpi.tests.test_HOAS.37» -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.37 - elpi.tests.test_HOAS.36 - SORTS: - - WEAK CONSTRAINTS: - - -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= - elpi.tests.test_HOAS.36 = elpi.tests.test_HOAS.37 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.37 - elpi.tests.test_HOAS.36 := elpi.tests.test_HOAS.37 - SORTS: - - WEAK CONSTRAINTS: - - -Query assignments: - GRF = indt «F» - I1 = «elpi.tests.test_HOAS.36» - I2 = «elpi.tests.test_HOAS.37» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= - elpi.tests.test_HOAS.36 = elpi.tests.test_HOAS.37 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.37 - elpi.tests.test_HOAS.36 := elpi.tests.test_HOAS.37 -SORTS: - -WEAK CONSTRAINTS: - - -«elpi.tests.test_HOAS.38» «» -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.38} |= - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.38} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.38 - SORTS: - - WEAK CONSTRAINTS: - - -different universe instance lengths -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.38} |= - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.38} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.38 - SORTS: - - WEAK CONSTRAINTS: - - -Query assignments: - E = different universe instance lengths - GRF = indt «F» - GRfnat = const «fnat» - I1 = «elpi.tests.test_HOAS.38» - I2 = «» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.38} |= -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.38} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.38 -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - GRF = indt «F» - I1 = «elpi.tests.test_HOAS.39» - I2 = «elpi.tests.test_HOAS.39» - U = «elpi.tests.test_HOAS.39» - UL1 = [«elpi.tests.test_HOAS.39»] -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.39} |= -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.39} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.39 -SORTS: - -WEAK CONSTRAINTS: - - -Cannot enforce elpi.tests.test_HOAS.40 = elpi.tests.test_HOAS.41 because -elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 -Query assignments: - E = Cannot enforce elpi.tests.test_HOAS.40 = elpi.tests.test_HOAS.41 because -elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 - GRF = indt «F» - I1 = «elpi.tests.test_HOAS.40» - I2 = «elpi.tests.test_HOAS.41» - L1 = «elpi.tests.test_HOAS.40» - L2 = «elpi.tests.test_HOAS.41» - U1 = «elpi.tests.test_HOAS.40» - U2 = «elpi.tests.test_HOAS.41» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.41 elpi.tests.test_HOAS.40} |= - elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.41 elpi.tests.test_HOAS.40} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.41 - elpi.tests.test_HOAS.40 -SORTS: - -WEAK CONSTRAINTS: - - -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} |= - elpi.tests.test_HOAS.44 < elpi.tests.test_HOAS.45 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.45 - elpi.tests.test_HOAS.44 - SORTS: - - WEAK CONSTRAINTS: - - -Query assignments: - GRF = indt «F2» - I1 = «elpi.tests.test_HOAS.44» - I2 = «elpi.tests.test_HOAS.45» - L1 = «elpi.tests.test_HOAS.44» - L2 = «elpi.tests.test_HOAS.45» - U1 = «elpi.tests.test_HOAS.44» - U2 = «elpi.tests.test_HOAS.45» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} |= - elpi.tests.test_HOAS.44 < elpi.tests.test_HOAS.45 - elpi.tests.test_HOAS.44 <= elpi.tests.test_HOAS.45 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.45 - elpi.tests.test_HOAS.44 -SORTS: - -WEAK CONSTRAINTS: - - -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.47 elpi.tests.test_HOAS.46} |= - elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.47} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.47 - elpi.tests.test_HOAS.46 - SORTS: - - WEAK CONSTRAINTS: - - -Cannot enforce elpi.tests.test_HOAS.47 = elpi.tests.test_HOAS.46 because -elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 -Query assignments: - E = Cannot enforce elpi.tests.test_HOAS.47 = elpi.tests.test_HOAS.46 because -elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 - GRF = indt «F» - I1 = «elpi.tests.test_HOAS.46» - I2 = «elpi.tests.test_HOAS.47» - L1 = «elpi.tests.test_HOAS.46» - L2 = «elpi.tests.test_HOAS.47» - U1 = «elpi.tests.test_HOAS.46» - U2 = «elpi.tests.test_HOAS.47» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.47 elpi.tests.test_HOAS.46} |= - elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.47} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.47 - elpi.tests.test_HOAS.46 -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - GR = indt «nat» -Query assignments: - GR = indt «F» - I = «elpi.tests.test_HOAS.48» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.48} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.48 -SORTS: - -WEAK CONSTRAINTS: - - -Query assignments: - GR = indt «F» -pglobal (indt «F») «elpi.tests.test_HOAS.50» -Query assignments: - %arg1 = pglobal (indt «F») «elpi.tests.test_HOAS.50» - GR = indt «F» - I = «elpi.tests.test_HOAS.50» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.50} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.50 -SORTS: - -WEAK CONSTRAINTS: - - -«elpi.tests.test_HOAS.51 elpi.tests.test_HOAS.51» -Query assignments: - I = «elpi.tests.test_HOAS.51 elpi.tests.test_HOAS.51» - U = «elpi.tests.test_HOAS.51» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.51} |= -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - -WEAK CONSTRAINTS: - - -Universe constraints: ------------------- -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= - elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.53 - elpi.tests.test_HOAS.52 - SORTS: - - WEAK CONSTRAINTS: - - -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= - elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.53 - elpi.tests.test_HOAS.52 - SORTS: - - WEAK CONSTRAINTS: - - -Query assignments: - Body = sort (typ «elpi.tests.test_HOAS.52») - LX = «elpi.tests.test_HOAS.52» - LY = «elpi.tests.test_HOAS.53» - Type = sort (typ «elpi.tests.test_HOAS.53») - UX = «elpi.tests.test_HOAS.52» - UY = «elpi.tests.test_HOAS.53» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= - elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.53 - elpi.tests.test_HOAS.52 -SORTS: - -WEAK CONSTRAINTS: - - -poly@{u u0} : Type@{u0} -(* u u0 |= u < u0 *) - -poly is universe polymorphic -poly is transparent -Expands to: Constant elpi.tests.test_HOAS.poly -poly@{Set -elpi.tests.test_HOAS.54} - : Type@{elpi.tests.test_HOAS.54} -(* {elpi.tests.test_HOAS.54} |= Set < elpi.tests.test_HOAS.54 *) -Box not a defined object. -sort (typ «Set») -Query assignments: - U = «elpi.tests.test_HOAS.55» -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.55} |= Set = elpi.tests.test_HOAS.55 -ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.55} -FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.55 := Set -SORTS: - -WEAK CONSTRAINTS: - - -Inductive tree@{u} (A : Type@{u}) : Type@{max(Set,u)} := - leaf : A -> tree@{u} A | node : A -> list (tree@{u} A) -> tree@{u} A. -(* u |= Set <= list.u0 - u <= list.u0 *) - -Arguments tree A%type_scope -Arguments leaf A%type_scope _ -Arguments node A%type_scope _ _%list_scope -parameter A explicit (sort (typ «elpi.tests.test_HOAS.64»)) c0 \ - inductive tree tt (arity (sort (typ «elpi.tests.test_HOAS.65»))) c1 \ - [constructor leaf (arity (prod `_` c0 c2 \ c1)), - constructor node - (arity - (prod `_` c0 c2 \ prod `_` (app [global (indt «list»), c1]) c3 \ c1))] -Universe constraints: UNIVERSES: - {elpi.tests.test_HOAS.69 elpi.tests.test_HOAS.68 - elpi.tests.test_HOAS.67 elpi.tests.test_HOAS.66 - elpi.tests.test_HOAS.65 elpi.tests.test_HOAS.64} |= - elpi.tests.test_HOAS.64 < elpi.tests.test_HOAS.66 - elpi.tests.test_HOAS.65 < elpi.tests.test_HOAS.67 - Set <= list.u0 - Set <= elpi.tests.test_HOAS.65 - Set <= elpi.tests.test_HOAS.69 - elpi.tests.test_HOAS.64 <= list.u0 - elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.65 - elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.68 - elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.69 - elpi.tests.test_HOAS.65 <= list.u0 - elpi.tests.test_HOAS.65 <= elpi.tests.test_HOAS.68 - elpi.tests.test_HOAS.65 <= elpi.tests.test_HOAS.69 - elpi.tests.test_HOAS.68 <= elpi.tests.test_HOAS.65 - elpi.tests.test_HOAS.69 <= elpi.tests.test_HOAS.65 - ALGEBRAIC UNIVERSES: - {elpi.tests.test_HOAS.64} - FLEXIBLE UNIVERSES: - elpi.tests.test_HOAS.64 - SORTS: - - WEAK CONSTRAINTS: - - -Query assignments: - D = parameter A explicit (sort (typ «M.tree.u0»)) c0 \ - inductive tree tt (arity (sort (typ «M.tree.u1»))) c1 \ - [constructor leaf (arity (prod `_` c0 c2 \ c1)), - constructor node - (arity - (prod `_` c0 c2 \ prod `_` (app [global (indt «list»), c1]) c3 \ c1))] - I = «tree» - X35_ = X0 -Universe constraints: -UNIVERSES: - {elpi.tests.test_HOAS.69 elpi.tests.test_HOAS.68 elpi.tests.test_HOAS.67 - elpi.tests.test_HOAS.66} |= - M.tree.u0 < elpi.tests.test_HOAS.66 - M.tree.u1 < elpi.tests.test_HOAS.67 - Set <= elpi.tests.test_HOAS.69 - M.tree.u0 <= elpi.tests.test_HOAS.68 - M.tree.u0 <= elpi.tests.test_HOAS.69 - M.tree.u1 <= elpi.tests.test_HOAS.68 - M.tree.u1 <= elpi.tests.test_HOAS.69 - elpi.tests.test_HOAS.68 <= M.tree.u1 - elpi.tests.test_HOAS.69 <= M.tree.u1 -ALGEBRAIC UNIVERSES: - {M.tree.u0} -FLEXIBLE UNIVERSES: - M.tree.u0 -SORTS: - -WEAK CONSTRAINTS: - - -File "./tests/test_HOAS.v", line 94, characters 46-61: -Warning: -File "./tests/test_HOAS.v", line 94, characters 46-61 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 101, characters 19-24: -Warning: -File "./tests/test_HOAS.v", line 101, characters 19-24 -X is linear: name it _X (discard) or X_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 127, characters 0-40: -Warning: Use of “Require” inside a module is fragile. It is not recommended -to use this functionality in finished proof scripts. -[require-in-module,fragile,default] -File "./tests/test_HOAS.v", line 130, characters 0-40: -Warning: Use of “Require” inside a module is fragile. It is not recommended -to use this functionality in finished proof scripts. -[require-in-module,fragile,default] -File "./tests/test_HOAS.v", line 306, characters 18-20: -Warning: -File "./tests/test_HOAS.v", line 306, characters 18-20 -Ty is linear: name it _Ty (discard) or Ty_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 320, characters 43-48: -Warning: -File "./tests/test_HOAS.v", line 320, characters 43-48 -Arity is linear: name it _Arity (discard) or Arity_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 320, characters 49-50: -Warning: -File "./tests/test_HOAS.v", line 320, characters 49-50 -K is linear: name it _K (discard) or K_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 320, characters 51-55: -Warning: -File "./tests/test_HOAS.v", line 320, characters 51-55 -KTys is linear: name it _KTys (discard) or KTys_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 316, characters 32-35: -Warning: -File "./tests/test_HOAS.v", line 316, characters 32-35 -TyF is linear: name it _TyF (discard) or TyF_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 467, characters 42-46: -Warning: -File "./tests/test_HOAS.v", line 467, characters 42-46 -Decl is linear: name it _Decl (discard) or Decl_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "coq-builtin.elpi", line 461, characters 50-51: -Warning: -File "coq-builtin.elpi", line 461, characters 50-51 -I is linear: name it _I (discard) or I_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 506, characters 20-22: -Warning: -File "./tests/test_HOAS.v", line 506, characters 20-22 -I2 is linear: name it _I2 (discard) or I2_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 504, characters 23-26: -Warning: -File "./tests/test_HOAS.v", line 504, characters 23-26 -UL1 is linear: name it _UL1 (discard) or UL1_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 558, characters 32-33: -Warning: -File "./tests/test_HOAS.v", line 558, characters 32-33 -I is linear: name it _I (discard) or I_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "coq-builtin.elpi", line 461, characters 50-51: -Warning: -File "coq-builtin.elpi", line 461, characters 50-51 -I is linear: name it _I (discard) or I_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] -File "./tests/test_HOAS.v", line 629, characters 36-37: -Warning: -File "./tests/test_HOAS.v", line 629, characters 36-37 -U is linear: name it _U (discard) or U_ (fresh variable) -[elpi.linear-variable,elpi.typecheck,elpi,default] +1 + : nat nabla c1 \ seal (goal [decl c1 `P` (sort prop)] (app [global (const «id»), X0, X1]) @@ -15846,7 +14932,7 @@ Debug: rid:0 step:1 gid:4 user:rule:and = success -Debug: }}} -> (0.001s) +Debug: }}} -> (0.017s) Debug: run 2 {{{ Debug: @@ -16765,7 +15851,7 @@ Debug: rid:4 step:109 gid:246 user:rule:backchain = success -Debug: }}} -> (0.001s) +Debug: }}} -> (0.011s) Debug: run 110 {{{ Debug: @@ -17205,60 +16291,1054 @@ File "./tests/test_tactic.v", line 5, characters 28-32 Type is linear: name it _Type (discard) or Type_ (fresh variable) [elpi.linear-variable,elpi.typecheck,elpi,default] -(true && false)%bool - : bool -natmul R n : ringType_sort R - : ringType_sort R -natmul R n : ringType_sort R - : ringType_sort R -1 - : nat -hello1 -it = elpi_subproof - : True -it : True +Module +d3 + : d3_Locked +:= Struct Definition body : nat. Parameter unlock : d3 = 3. End +Module Type + d3_Locked = + Sig Parameter body : nat. Parameter unlock : body = 3. End +cons2 : forall {A : Type}, A -> list A -> list A -it is not universe polymorphic -it is transparent -Expands to: Constant elpi.tests.test_ltac.it -elpi_subproof = I - : True -elpi_subproof : True +cons2 is not universe polymorphic +Arguments cons2 {A}%type_scope x xs%list_scope +cons2 is transparent +Expands to: Constant +elpi.apps.locker.tests.test_locker.Bug_286.lock_container.cons2 +cons3 : forall [A : Type], EqDecision A -> A -> list A -> list A -elpi_subproof is not universe polymorphic -elpi_subproof is opaque -Expands to: Constant elpi.tests.test_ltac.elpi_subproof -Closed under the global context -test1 -str hello -str x -test1 -too many arguments -[attribute elpi.loc - (leaf-loc - File "./tests/test_vernacular2.v", line 10, column 24, characters 326-329:), - attribute elpi.phase (leaf-str interp), - attribute fwd_compat_attr (leaf-str )] -[attribute elpi.loc - (leaf-loc - File "./tests/test_vernacular2.v", line 11, column 0, characters 331-354:), - attribute elpi.phase (leaf-str interp), - attribute fwd_compat_attr (leaf-str )] -File "./tests/test_vernacular2.v", line 6, characters 2-17: -Warning: This command does not support this attribute: fwd_compat_attr. -[unsupported-attributes,parsing,default] -File "./tests/test_vernacular2.v", line 7, characters 2-17: -Warning: This command does not support this attribute: fwd_compat_attr. -[unsupported-attributes,parsing,default] -File "./tests/test_vernacular2.v", line 8, characters 2-17: -Warning: This command does not support this attribute: fwd_compat_attr. -[unsupported-attributes,parsing,default] -File "./tests/test_vernacular2.v", line 9, characters 2-17: -Warning: This command does not support this attribute: fwd_compat_attr. -[unsupported-attributes,parsing,default] -File "./tests/test_vernacular2.v", line 10, characters 2-17: -Warning: This command does not support this attribute: fwd_compat_attr. -[unsupported-attributes,parsing,default] +cons3 is not universe polymorphic +Arguments cons3 [A]%type_scope {H} x xs%list_scope +cons3 is transparent +Expands to: Constant +elpi.apps.locker.tests.test_locker.Bug_286.lock_container2.cons3 +id1@{u} : forall T : Type@{u}, T -> T +(* u |= u < locked_with.u0 *) + +id1 is universe polymorphic +Arguments id1 T%type_scope x +id1 is transparent +Expands to: Constant elpi.apps.locker.tests.test_locker.id1 +Query assignments: + GR = const «id1» +id2.body@{u} : forall T : Type@{u}, T -> T +(* u |= u < eq.u0 *) + +id2.body is universe polymorphic +Arguments id2.body T%type_scope x +Expands to: Constant elpi.apps.locker.tests.test_locker.id2.body +Query assignments: + GR = const «id2.body» +up1.body@{u} : forall T : Type@{u}, T -> T +(* u |= u < eq.u0 *) + +up1.body is universe polymorphic +Arguments up1.body T%type_scope x +Expands to: Constant elpi.apps.locker.tests.test_locker.up1.body +Query assignments: + GR = const «up1.body» +nup1.body : forall T : Type@{nup1.body.u0}, T -> T + +nup1.body is not universe polymorphic +Arguments nup1.body T%type_scope x +Expands to: Constant elpi.apps.locker.tests.test_locker.nup1.body +Query assignments: + GR = const «nup1.body» +up2.body@{u u0} : +forall T : Type@{u}, Type@{u0} -> T -> T +(* u u0 |= u < eq.u0 + u0 < eq.u0 *) + +up2.body is universe polymorphic +Arguments up2.body (T W)%type_scope x +Expands to: Constant elpi.apps.locker.tests.test_locker.up2.body +Query assignments: + GR = const «up2.body» +Debug: +elpi lets escape exception: Universe + elpi.apps.locker.tests.test_locker.161 (File "./apps/locker/tests/test_locker.v", line 113, characters 50-54) + is unbound. +Raised at UState.error_unbound_universes in file "engine/uState.ml", line 832, characters 41-74 +Called from UState.universe_context_inst in file "engine/uState.ml", line 845, characters 9-58 +Called from UState.check_poly_univ_decl in file "engine/uState.ml", line 901, characters 13-63 +Called from UState.check_univ_decl in file "engine/uState.ml", line 917, characters 35-67 +Called from Elpi_plugin__Rocq_elpi_builtins.add_axiom_or_variable in file "src/rocq_elpi_builtins.ml", line 913, characters 14-82 +Called from Elpi_plugin__Rocq_elpi_builtins.coq_rest_builtins.(fun) in file "src/rocq_elpi_builtins.ml", line 2068, characters 20-86 +Called from Elpi_plugin__Rocq_elpi_builtins.grab_global_env.(fun) in file "src/rocq_elpi_builtins.ml", line 141, characters 33-44 +Called from Elpi_runtime__Runtime_trace_off.FFI.wrap_type_err in file "src/runtime/runtime_trace_off.ml", line 2125, characters 6-9 +Called from Elpi_runtime__Runtime_trace_off.FFI.call.aux in file "src/runtime/runtime_trace_off.ml", line 2207, characters 32-92 +Called from Elpi_runtime__Runtime_trace_off.FFI.call in file "src/runtime/runtime_trace_off.ml", line 2299, characters 21-70 +Called from Elpi_runtime__Runtime_trace_off.Constraints.exect_builtin_predicate in file "src/runtime/runtime_trace_off.ml", line 3565, characters 20-83 +Called from Elpi_runtime__Runtime_trace_off.Mainloop.make_runtime.run in file "src/runtime/runtime_trace_off.ml", line 3983, characters 19-90 +Called from Elpi_util__Util.Fork.fork.ensure_runtime in file "src/utils/util.ml", line 523, characters 16-19 +Re-raised at Elpi_util__Util.Fork.fork.ensure_runtime in file "src/utils/util.ml", line 532, characters 7-14 +Called from Elpi_runtime__Runtime_trace_off.mk_outcome in file "src/runtime/runtime_trace_off.ml", line 4265, characters 14-23 +Called from Elpi_runtime__Runtime_trace_off.execute_once in file "src/runtime/runtime_trace_off.ml", line 4282, characters 20-242 +Re-raised at Elpi_runtime__Runtime_trace_off.execute_once in file "src/runtime/runtime_trace_off.ml", line 4287, characters 2-9 +Called from Elpi__API.Execute.once in file "src/API.ml", line 235, characters 40-91 +Called from Elpi_plugin__Rocq_elpi_vernacular.Compiler.run in file "src/rocq_elpi_vernacular.ml", line 145, characters 13-55 +Re-raised at Exninfo.iraise in file "clib/exninfo.ml", line 81, characters 4-38 +Called from Elpi_plugin__Rocq_elpi_vernacular.Compiler.run_and_print in file "src/rocq_elpi_vernacular.ml", line 166, characters 8-38 +Called from Elpi_plugin__Rocq_elpi_vernacular.Interp.run_program.(fun) in file "src/rocq_elpi_vernacular.ml", line 557, characters 34-90 + + {c0} : decl c0 `x` (global (indt «nat»)) + ?- evar (X0 c0) + (prod `_` (global (indt «bool»)) c1 \ global (indt «True»)) + (X1 c0) /* suspended on X0, X1 */ +EVARS: + ?X2==[x |- bool -> True] (goal evar) {?Goal} + ?X1==[ |- => fun x : nat => ?Goal] (goal evar) + +SHELF:|| +FUTURE GOALS STACK: + || + +Rocq-Elpi mapping: +RAW: +?X2 <-> c0 \ X0 c0 +ELAB: +?X2 <-> X1 + +Debug: + {c0} : decl c0 `x` (global (indt «nat»)) + ?- evar (X0 c0) + (prod `_` (global (indt «bool»)) c1 \ global (indt «True»)) + (X1 c0) /* suspended on X0, X1 */ +H +[nabla c1 \ + seal + (goal + [decl c1 `H` + (prod `b` + (prod `b` (global (indt «bool»)) c2 \ + app [global (indt «eq»), global (indt «bool»), c2, c2]) c2 \ + global (indt «True»))] (X0 c1) + (prod `b` (global (indt «bool»)) c2 \ + app [global (indt «eq»), global (indt «bool»), c2, c2]) (X1 c1) [])] +[str fun, str in, str as, int 4, str end, str match, str return, str =>, + str :, str :=, str {, str }, str ;, str ,, str |, str x, int 1, str H, + trm + (fun `x` (global (indt «False»)) c0 \ + match c0 (fun `y` (global (indt «False»)) c1 \ global (indt «nat»)) + [])] +Query assignments: + T = sort (typ «elpi.tests.test_HOAS.3») + U = «elpi.tests.test_HOAS.3» +Query assignments: + U = «elpi.tests.test_HOAS.4» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.4} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + U = «foo» +Query assignments: + X = c0 \ c1 \ c2 \ +X0 c0 c1 c2 + X3_ = global (indt «nat») +Syntactic constraints: + {c0 c1 c2 c3 c4 c5 c6} : + decl c6 `z` (app [global (const «N»), c5]), + decl c5 `x` (global (indt «nat»)), + decl c4 `a` (global (indt «bool»)) + ?- evar (X0 c4 c5 c6) (X1 c4 c5 c6) (X0 c4 c5 c6) /* suspended on X0 */ + {c0 c1 c2 c3 c4 c5 c6} : + decl c6 `z` (app [global (const «N»), c5]), + decl c5 `x` (global (indt «nat»)), + decl c4 `a` (global (indt «bool»)) + ?- evar (X2 c4 c5 c6) (sort (typ «elpi.tests.test_HOAS.9»)) + (X1 c4 c5 c6) /* suspended on X2, X1 */ +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.9 elpi.tests.test_HOAS.8} |= + Set <= elpi.tests.test_HOAS.8 + elpi.tests.test_HOAS.8 <= elpi.tests.test_HOAS.8 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α3 := Type + α4 +WEAK CONSTRAINTS: + + +---------------------------------- + {c0 c1} : decl c1 `a` (global (indt «bool»)) + ?- evar X0 (sort (typ «elpi.tests.test_HOAS.10»)) X1 /* suspended on X0, X1 */ + {c0 c1} : decl c1 `a` (global (indt «bool»)) ?- evar (X2 c1) X1 (X2 c1) /* suspended on X2 */ +EVARS: + ?X10==[ |- Type] (internal placeholder) {?elpi_evar} + ?X9==[a |- ?elpi_evar] (internal placeholder) {?e0} + ?X8==[a |- => ?elpi_evar] (internal placeholder) + +SHELF: +FUTURE GOALS STACK:?X10 +?X9 + +Rocq-Elpi mapping: +RAW: +?X9 <-> c0 \ X2 c0 +?X10 <-> X0 +ELAB: +?X9 <-> X2 +?X10 <-> X1 + +X2 c0 : X1 +Query assignments: + TY = X1 + X = c0 \ c1 \ +X2 c0 +Syntactic constraints: + {c0 c1} : decl c1 `a` (global (indt «bool»)) + ?- evar X0 (sort (typ «elpi.tests.test_HOAS.10»)) X1 /* suspended on X0, X1 */ + {c0 c1} : decl c1 `a` (global (indt «bool»)) ?- evar (X2 c1) X1 (X2 c1) /* suspended on X2 */ +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.10} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α5 +WEAK CONSTRAINTS: + + +Raw term: +app + [global (const «add»), primitive (uint63 2000000003333002), + primitive (uint63 1)] +Nice term: (2000000003333002 + 1)%uint63 +Red: +2000000003333003%uint63 +Raw term: +app + [global (const «add»), primitive (float64 24000000000000), + primitive (float64 1)] +Nice term: 24000000000000 + 1 +Red: 24000000000001 +Query assignments: + C = «Nat.add» + F = TODO + T = app + [fix `add` 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 (fun `n` (global (indt «nat»)) c3 \ global (indt «nat»)) + [c2, + fun `p` (global (indt «nat»)) c3 \ + app [global (indc «S»), app [c0, c3, c2]]], + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T1 = app + [global (const «Nat.add»), + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T2 = app + [fix `plus` 0 + (prod `n` (global (indt «nat»)) c0 \ + prod `m` (global (indt «nat»)) c1 \ global (indt «nat»)) c0 \ + fun `n` (global (indt «nat»)) c1 \ + fun `m` (global (indt «nat»)) c2 \ + match c1 + (fun `_elpi_renamed_n_3` (global (indt «nat»)) c3 \ + global (indt «nat»)) + [c2, + fun `p` (global (indt «nat»)) c3 \ + app [global (indc «S»), app [c0, c3, c2]]], + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + X10_ = c0 \ c1 \ c2 \ +global (indt «nat») + X4_ = global (indt «nat») + X5_ = c0 \ +global (indt «nat») + X6_ = c0 \ c1 \ +global (indt «nat») + X7_ = c0 \ +global (indt «nat») + X8_ = c0 \ c1 \ +global (indt «nat») + X9_ = c0 \ c1 \ c2 \ c3 \ +global (indt «nat») +Query assignments: + C = «Nat.add» + F = TODO + T = app + [fun `n` (global (indt «nat»)) c0 \ + fun `m` (global (indt «nat»)) c1 \ + match c0 (fun `n` (global (indt «nat»)) c2 \ global (indt «nat»)) + [c1, + fun `p` (global (indt «nat»)) c2 \ + app + [global (indc «S»), + app + [fix `add` 0 + (prod `n` (global (indt «nat»)) c3 \ + prod `m` (global (indt «nat»)) c4 \ global (indt «nat»)) + c3 \ + fun `n` (global (indt «nat»)) c4 \ + fun `m` (global (indt «nat»)) c5 \ + match c4 + (fun `n` (global (indt «nat»)) c6 \ global (indt «nat»)) + [c5, + fun `p` (global (indt «nat»)) c6 \ + app [global (indc «S»), app [c3, c6, c5]]], c2, c1]]], + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T1 = app + [global (const «Nat.add»), + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T2 = app + [fun `n` (global (indt «nat»)) c0 \ + fun `m` (global (indt «nat»)) c1 \ + match c0 + (fun `_elpi_renamed_n_2` (global (indt «nat»)) c2 \ + global (indt «nat»)) + [c1, + fun `p` (global (indt «nat»)) c2 \ + app + [global (indc «S»), + app + [fix `plus` 0 + (prod `_elpi_renamed_n_3` (global (indt «nat»)) c3 \ + prod `_elpi_renamed_m_4` (global (indt «nat»)) c4 \ + global (indt «nat»)) c3 \ + fun `_elpi_renamed_n_4` (global (indt «nat»)) c4 \ + fun `_elpi_renamed_m_5` (global (indt «nat»)) c5 \ + match c4 + (fun `_elpi_renamed_n_6` (global (indt «nat»)) c6 \ + global (indt «nat»)) + [c5, + fun `_elpi_renamed_p_6` (global (indt «nat»)) c6 \ + app [global (indc «S»), app [c3, c6, c5]]], c2, c1]]], + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + X11_ = global (indt «nat») + X12_ = c0 \ +global (indt «nat») + X13_ = c0 \ c1 \ c2 \ +global (indt «nat») + X14_ = c0 \ c1 \ +global (indt «nat») + X15_ = c0 \ c1 \ c2 \ +global (indt «nat») + X16_ = c0 \ c1 \ c2 \ c3 \ +global (indt «nat») + X17_ = c0 \ c1 \ c2 \ c3 \ c4 \ +global (indt «nat») + X18_ = c0 \ c1 \ c2 \ c3 \ +global (indt «nat») + X19_ = c0 \ c1 \ c2 \ c3 \ c4 \ +global (indt «nat») + X20_ = c0 \ c1 \ c2 \ c3 \ c4 \ c5 \ c6 \ +global (indt «nat») + X21_ = c0 \ c1 \ c2 \ c3 \ c4 \ c5 \ +global (indt «nat») +Query assignments: + C = «Nat.add» + F = TODO + T = match (app [global (indc «S»), global (indc «O»)]) + (fun `n` (global (indt «nat»)) c0 \ global (indt «nat»)) + [app [global (indc «S»), app [global (indc «S»), global (indc «O»)]], + fun `p` (global (indt «nat»)) c0 \ + app + [global (indc «S»), + app + [fix `add` 0 + (prod `n` (global (indt «nat»)) c1 \ + prod `m` (global (indt «nat»)) c2 \ global (indt «nat»)) c1 \ + fun `n` (global (indt «nat»)) c2 \ + fun `m` (global (indt «nat»)) c3 \ + match c2 + (fun `n` (global (indt «nat»)) c4 \ global (indt «nat»)) + [c3, + fun `p` (global (indt «nat»)) c4 \ + app [global (indc «S»), app [c1, c4, c3]]], c0, + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]]] + T1 = app + [global (const «Nat.add»), + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T2 = match (app [global (indc «S»), global (indc «O»)]) + (fun `_` (global (indt «nat»)) c0 \ global (indt «nat»)) + [app [global (indc «S»), app [global (indc «S»), global (indc «O»)]], + fun `p` (global (indt «nat»)) c0 \ + app + [global (indc «S»), + app + [fix `plus` 0 + (prod `n` (global (indt «nat»)) c1 \ + prod `m` (global (indt «nat»)) c2 \ global (indt «nat»)) c1 \ + fun `n` (global (indt «nat»)) c2 \ + fun `m` (global (indt «nat»)) c3 \ + match c2 + (fun `_elpi_renamed_n_4` (global (indt «nat»)) c4 \ + global (indt «nat»)) + [c3, + fun `_elpi_renamed_p_4` (global (indt «nat»)) c4 \ + app [global (indc «S»), app [c1, c4, c3]]], c0, + app + [global (indc «S»), app [global (indc «S»), global (indc «O»)]]]]] + X22_ = global (indt «nat») + X23_ = global (indt «nat») + X24_ = c0 \ +global (indt «nat») + X25_ = c0 \ c1 \ +global (indt «nat») + X26_ = c0 \ c1 \ c2 \ +global (indt «nat») + X27_ = c0 \ c1 \ +global (indt «nat») + X28_ = c0 \ c1 \ c2 \ +global (indt «nat») + X29_ = c0 \ c1 \ c2 \ c3 \ c4 \ +global (indt «nat») + X30_ = c0 \ c1 \ c2 \ c3 \ +global (indt «nat») +Query assignments: + C = «Nat.add» + F = TODO + T = app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T1 = app + [global (const «Nat.add»), + app [global (indc «S»), global (indc «O»)], + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] + T2 = app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] +Query assignments: + C = «proj1» +Query assignments: + C = «proj1» + P = elpi.tests.test_HOAS.P''.proj1 +elpi.tests.test_HOAS.P.p1 1 global (const «P.x») +@P.p1 +X0 global (const «P.x») +P.p1 P.x +some + (fun `A` (sort (typ «P.foo.u0»)) c0 \ + fun `f` (app [global (indt «P.foo»), c0]) c1 \ + app [primitive (proj elpi.tests.test_HOAS.P.p1 1), c1]) +elpi.tests.test_HOAS.P.p2 2 global (const «P.x») +@P.p2 +X0 global (const «P.x») +P.p2 P.x +some + (fun `A` (sort (typ «P.foo.u0»)) c0 \ + fun `f` (app [global (indt «P.foo»), c0]) c1 \ + app [primitive (proj elpi.tests.test_HOAS.P.p1 1), c1]) +some + (pglobal (const «toto») + «elpi.tests.test_HOAS.23 elpi.tests.test_HOAS.24») +prod `T1` (sort (typ «elpi.tests.test_HOAS.23»)) c0 \ + prod `T2` (sort (typ «elpi.tests.test_HOAS.24»)) c1 \ prod `x` c0 c2 \ c0 +Query assignments: + Body = some + (pglobal (const «toto») + «elpi.tests.test_HOAS.23 elpi.tests.test_HOAS.24») + C = «titi» + Term = prod `T1` (sort (typ «elpi.tests.test_HOAS.23»)) c0 \ + prod `T2` (sort (typ «elpi.tests.test_HOAS.24»)) c1 \ prod `x` c0 c2 \ c0 +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.24 elpi.tests.test_HOAS.23} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.24 + elpi.tests.test_HOAS.23 +SORTS: + +WEAK CONSTRAINTS: + + +pglobal (const «toto») X0 +pglobal (const «toto») «u1 u2» +toto +Query assignments: + %arg1 = toto + X31_ = X0 + X32_ = «elpi.tests.test_HOAS.27 elpi.tests.test_HOAS.28» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.28 elpi.tests.test_HOAS.27} |= +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.28 elpi.tests.test_HOAS.27} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.28 + elpi.tests.test_HOAS.27 +SORTS: + +WEAK CONSTRAINTS: + + +app + [pglobal (const «t») X0, global (indt «nat»), + pglobal (const «fnat») X1] +app + [pglobal (const «t») «elpi.tests.test_HOAS.33», global (indt «nat»), + pglobal (const «fnat») «»] +Query assignments: + T = app + [pglobal (const «t») «elpi.tests.test_HOAS.33», global (indt «nat»), + pglobal (const «fnat») «»] + Ty = global (indt «nat») + X33_ = «elpi.tests.test_HOAS.33» + X34_ = «» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.33} |= + Set <= elpi.tests.test_HOAS.33 + Set = elpi.tests.test_HOAS.33 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.33} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.33 := Set +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + Arity = prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ + sort (typ «elpi.tests.test_HOAS.34») + GRF = indt «F» + I = «elpi.tests.test_HOAS.34» + Ind = «F» + K = [«Build_F»] + KTys = [prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ + prod `t` c0 c1 \ app [pglobal (indt «F») «elpi.tests.test_HOAS.34», c0]] + TyF = prod `T` (sort (typ «elpi.tests.test_HOAS.34»)) c0 \ + sort (typ «elpi.tests.test_HOAS.34») +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.34} |= +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.34} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.34 +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + Decl = parameter T explicit (sort (typ «elpi.tests.test_HOAS.35»)) c0 \ + record F (sort (typ «elpi.tests.test_HOAS.35»)) Build_F + (field [coercion off, canonical tt] t c0 c1 \ end-record) + GRF = indt «F» + I = «elpi.tests.test_HOAS.35» + Ind = «F» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.35} |= +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.35} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.35 +SORTS: + +WEAK CONSTRAINTS: + + +«elpi.tests.test_HOAS.36» «elpi.tests.test_HOAS.37» +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.37 + elpi.tests.test_HOAS.36 + SORTS: + + WEAK CONSTRAINTS: + + +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= + elpi.tests.test_HOAS.36 = elpi.tests.test_HOAS.37 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.37 + elpi.tests.test_HOAS.36 := elpi.tests.test_HOAS.37 + SORTS: + + WEAK CONSTRAINTS: + + +Query assignments: + GRF = indt «F» + I1 = «elpi.tests.test_HOAS.36» + I2 = «elpi.tests.test_HOAS.37» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} |= + elpi.tests.test_HOAS.36 = elpi.tests.test_HOAS.37 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.37 elpi.tests.test_HOAS.36} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.37 + elpi.tests.test_HOAS.36 := elpi.tests.test_HOAS.37 +SORTS: + +WEAK CONSTRAINTS: + + +«elpi.tests.test_HOAS.38» «» +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.38} |= + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.38} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.38 + SORTS: + + WEAK CONSTRAINTS: + + +different universe instance lengths +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.38} |= + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.38} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.38 + SORTS: + + WEAK CONSTRAINTS: + + +Query assignments: + E = different universe instance lengths + GRF = indt «F» + GRfnat = const «fnat» + I1 = «elpi.tests.test_HOAS.38» + I2 = «» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.38} |= +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.38} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.38 +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + GRF = indt «F» + I1 = «elpi.tests.test_HOAS.39» + I2 = «elpi.tests.test_HOAS.39» + U = «elpi.tests.test_HOAS.39» + UL1 = [«elpi.tests.test_HOAS.39»] +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.39} |= +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.39} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.39 +SORTS: + +WEAK CONSTRAINTS: + + +Cannot enforce elpi.tests.test_HOAS.40 = elpi.tests.test_HOAS.41 because +elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 +Query assignments: + E = Cannot enforce elpi.tests.test_HOAS.40 = elpi.tests.test_HOAS.41 because +elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 + GRF = indt «F» + I1 = «elpi.tests.test_HOAS.40» + I2 = «elpi.tests.test_HOAS.41» + L1 = «elpi.tests.test_HOAS.40» + L2 = «elpi.tests.test_HOAS.41» + U1 = «elpi.tests.test_HOAS.40» + U2 = «elpi.tests.test_HOAS.41» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.41 elpi.tests.test_HOAS.40} |= + elpi.tests.test_HOAS.40 < elpi.tests.test_HOAS.41 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.41 elpi.tests.test_HOAS.40} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.41 + elpi.tests.test_HOAS.40 +SORTS: + +WEAK CONSTRAINTS: + + +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} |= + elpi.tests.test_HOAS.44 < elpi.tests.test_HOAS.45 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.45 + elpi.tests.test_HOAS.44 + SORTS: + + WEAK CONSTRAINTS: + + +Query assignments: + GRF = indt «F2» + I1 = «elpi.tests.test_HOAS.44» + I2 = «elpi.tests.test_HOAS.45» + L1 = «elpi.tests.test_HOAS.44» + L2 = «elpi.tests.test_HOAS.45» + U1 = «elpi.tests.test_HOAS.44» + U2 = «elpi.tests.test_HOAS.45» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} |= + elpi.tests.test_HOAS.44 < elpi.tests.test_HOAS.45 + elpi.tests.test_HOAS.44 <= elpi.tests.test_HOAS.45 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.45 elpi.tests.test_HOAS.44} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.45 + elpi.tests.test_HOAS.44 +SORTS: + +WEAK CONSTRAINTS: + + +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.47 elpi.tests.test_HOAS.46} |= + elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.47} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.47 + elpi.tests.test_HOAS.46 + SORTS: + + WEAK CONSTRAINTS: + + +Cannot enforce elpi.tests.test_HOAS.47 = elpi.tests.test_HOAS.46 because +elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 +Query assignments: + E = Cannot enforce elpi.tests.test_HOAS.47 = elpi.tests.test_HOAS.46 because +elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 + GRF = indt «F» + I1 = «elpi.tests.test_HOAS.46» + I2 = «elpi.tests.test_HOAS.47» + L1 = «elpi.tests.test_HOAS.46» + L2 = «elpi.tests.test_HOAS.47» + U1 = «elpi.tests.test_HOAS.46» + U2 = «elpi.tests.test_HOAS.47» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.47 elpi.tests.test_HOAS.46} |= + elpi.tests.test_HOAS.46 < elpi.tests.test_HOAS.47 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.47} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.47 + elpi.tests.test_HOAS.46 +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + GR = indt «nat» +Query assignments: + GR = indt «F» + I = «elpi.tests.test_HOAS.48» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.48} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.48 +SORTS: + +WEAK CONSTRAINTS: + + +Query assignments: + GR = indt «F» +pglobal (indt «F») «elpi.tests.test_HOAS.50» +Query assignments: + %arg1 = pglobal (indt «F») «elpi.tests.test_HOAS.50» + GR = indt «F» + I = «elpi.tests.test_HOAS.50» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.50} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.50 +SORTS: + +WEAK CONSTRAINTS: + + +«elpi.tests.test_HOAS.51 elpi.tests.test_HOAS.51» +Query assignments: + I = «elpi.tests.test_HOAS.51 elpi.tests.test_HOAS.51» + U = «elpi.tests.test_HOAS.51» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.51} |= +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + +WEAK CONSTRAINTS: + + +Universe constraints: +------------------ +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= + elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.53 + elpi.tests.test_HOAS.52 + SORTS: + + WEAK CONSTRAINTS: + + +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= + elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.53 + elpi.tests.test_HOAS.52 + SORTS: + + WEAK CONSTRAINTS: + + +Query assignments: + Body = sort (typ «elpi.tests.test_HOAS.52») + LX = «elpi.tests.test_HOAS.52» + LY = «elpi.tests.test_HOAS.53» + Type = sort (typ «elpi.tests.test_HOAS.53») + UX = «elpi.tests.test_HOAS.52» + UY = «elpi.tests.test_HOAS.53» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} |= + elpi.tests.test_HOAS.52 < elpi.tests.test_HOAS.53 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.53 elpi.tests.test_HOAS.52} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.53 + elpi.tests.test_HOAS.52 +SORTS: + +WEAK CONSTRAINTS: + + +poly@{u u0} : Type@{u0} +(* u u0 |= u < u0 *) + +poly is universe polymorphic +poly is transparent +Expands to: Constant elpi.tests.test_HOAS.poly +poly@{Set +elpi.tests.test_HOAS.54} + : Type@{elpi.tests.test_HOAS.54} +(* {elpi.tests.test_HOAS.54} |= Set < elpi.tests.test_HOAS.54 *) +Box not a defined object. +sort (typ «Set») +Query assignments: + U = «elpi.tests.test_HOAS.55» +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.55} |= Set = elpi.tests.test_HOAS.55 +ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.55} +FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.55 := Set +SORTS: + +WEAK CONSTRAINTS: + + +Inductive tree@{u} (A : Type@{u}) : Type@{max(Set,u)} := + leaf : A -> tree@{u} A | node : A -> list (tree@{u} A) -> tree@{u} A. +(* u |= Set <= list.u0 + u <= list.u0 *) + +Arguments tree A%type_scope +Arguments leaf A%type_scope _ +Arguments node A%type_scope _ _%list_scope +parameter A explicit (sort (typ «elpi.tests.test_HOAS.64»)) c0 \ + inductive tree tt (arity (sort (typ «elpi.tests.test_HOAS.65»))) c1 \ + [constructor leaf (arity (prod `_` c0 c2 \ c1)), + constructor node + (arity + (prod `_` c0 c2 \ prod `_` (app [global (indt «list»), c1]) c3 \ c1))] +Universe constraints: UNIVERSES: + {elpi.tests.test_HOAS.69 elpi.tests.test_HOAS.68 + elpi.tests.test_HOAS.67 elpi.tests.test_HOAS.66 + elpi.tests.test_HOAS.65 elpi.tests.test_HOAS.64} |= + elpi.tests.test_HOAS.64 < elpi.tests.test_HOAS.66 + elpi.tests.test_HOAS.65 < elpi.tests.test_HOAS.67 + Set <= list.u0 + Set <= elpi.tests.test_HOAS.65 + Set <= elpi.tests.test_HOAS.69 + elpi.tests.test_HOAS.64 <= list.u0 + elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.65 + elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.68 + elpi.tests.test_HOAS.64 <= elpi.tests.test_HOAS.69 + elpi.tests.test_HOAS.65 <= list.u0 + elpi.tests.test_HOAS.65 <= elpi.tests.test_HOAS.68 + elpi.tests.test_HOAS.65 <= elpi.tests.test_HOAS.69 + elpi.tests.test_HOAS.68 <= elpi.tests.test_HOAS.65 + elpi.tests.test_HOAS.69 <= elpi.tests.test_HOAS.65 + ALGEBRAIC UNIVERSES: + {elpi.tests.test_HOAS.64} + FLEXIBLE UNIVERSES: + elpi.tests.test_HOAS.64 + SORTS: + + WEAK CONSTRAINTS: + + +Query assignments: + D = parameter A explicit (sort (typ «M.tree.u0»)) c0 \ + inductive tree tt (arity (sort (typ «M.tree.u1»))) c1 \ + [constructor leaf (arity (prod `_` c0 c2 \ c1)), + constructor node + (arity + (prod `_` c0 c2 \ prod `_` (app [global (indt «list»), c1]) c3 \ c1))] + I = «tree» + X35_ = X0 +Universe constraints: +UNIVERSES: + {elpi.tests.test_HOAS.69 elpi.tests.test_HOAS.68 elpi.tests.test_HOAS.67 + elpi.tests.test_HOAS.66} |= + M.tree.u0 < elpi.tests.test_HOAS.66 + M.tree.u1 < elpi.tests.test_HOAS.67 + Set <= elpi.tests.test_HOAS.69 + M.tree.u0 <= elpi.tests.test_HOAS.68 + M.tree.u0 <= elpi.tests.test_HOAS.69 + M.tree.u1 <= elpi.tests.test_HOAS.68 + M.tree.u1 <= elpi.tests.test_HOAS.69 + elpi.tests.test_HOAS.68 <= M.tree.u1 + elpi.tests.test_HOAS.69 <= M.tree.u1 +ALGEBRAIC UNIVERSES: + {M.tree.u0} +FLEXIBLE UNIVERSES: + M.tree.u0 +SORTS: + +WEAK CONSTRAINTS: + + +File "./tests/test_HOAS.v", line 94, characters 46-61: +Warning: +File "./tests/test_HOAS.v", line 94, characters 46-61 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 101, characters 19-24: +Warning: +File "./tests/test_HOAS.v", line 101, characters 19-24 +X is linear: name it _X (discard) or X_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 127, characters 0-40: +Warning: Use of “Require” inside a module is fragile. It is not recommended +to use this functionality in finished proof scripts. +[require-in-module,fragile,default] +File "./tests/test_HOAS.v", line 130, characters 0-40: +Warning: Use of “Require” inside a module is fragile. It is not recommended +to use this functionality in finished proof scripts. +[require-in-module,fragile,default] +File "./tests/test_HOAS.v", line 306, characters 18-20: +Warning: +File "./tests/test_HOAS.v", line 306, characters 18-20 +Ty is linear: name it _Ty (discard) or Ty_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 320, characters 43-48: +Warning: +File "./tests/test_HOAS.v", line 320, characters 43-48 +Arity is linear: name it _Arity (discard) or Arity_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 320, characters 49-50: +Warning: +File "./tests/test_HOAS.v", line 320, characters 49-50 +K is linear: name it _K (discard) or K_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 320, characters 51-55: +Warning: +File "./tests/test_HOAS.v", line 320, characters 51-55 +KTys is linear: name it _KTys (discard) or KTys_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 316, characters 32-35: +Warning: +File "./tests/test_HOAS.v", line 316, characters 32-35 +TyF is linear: name it _TyF (discard) or TyF_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 467, characters 42-46: +Warning: +File "./tests/test_HOAS.v", line 467, characters 42-46 +Decl is linear: name it _Decl (discard) or Decl_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "coq-builtin.elpi", line 461, characters 50-51: +Warning: +File "coq-builtin.elpi", line 461, characters 50-51 +I is linear: name it _I (discard) or I_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 506, characters 20-22: +Warning: +File "./tests/test_HOAS.v", line 506, characters 20-22 +I2 is linear: name it _I2 (discard) or I2_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 504, characters 23-26: +Warning: +File "./tests/test_HOAS.v", line 504, characters 23-26 +UL1 is linear: name it _UL1 (discard) or UL1_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 558, characters 32-33: +Warning: +File "./tests/test_HOAS.v", line 558, characters 32-33 +I is linear: name it _I (discard) or I_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "coq-builtin.elpi", line 461, characters 50-51: +Warning: +File "coq-builtin.elpi", line 461, characters 50-51 +I is linear: name it _I (discard) or I_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] +File "./tests/test_HOAS.v", line 629, characters 36-37: +Warning: +File "./tests/test_HOAS.v", line 629, characters 36-37 +U is linear: name it _U (discard) or U_ (fresh variable) +[elpi.linear-variable,elpi.typecheck,elpi,default] [p 1, p 2, p 3, p 4, p 5, p 6, p 7, p 8, p 9, p 10, p 11, p 12, p 13, p 14, p 15, p 16, p 17, p 18, p 19, p 20, p 21, p 22, p 23, p 24, p 25, p 26, p 27, p 28, p 29, p 30, p 31, p 32, p 33, p 34, p 35, p 36, p 37, @@ -17659,24 +17739,6 @@ p 3689, p 3690, p 3691, p 3692, p 3693, p 3694, p 3695, p 3696, p 3697, p 3698, p 3699, p 3700, p 3701, p 3702, p 3703, p 3704, p 3705, p 3706, p 3707, p 3708, p 3709, p 3710] -This.Is.A.Long.Namespace.stuff = 1 - : nat - = 1 - : nat -This.Is.A.Long.Namespace.stuff = 2 - : nat - = 1 - : nat -This_aux_1.This.Is.A.Long.Namespace.stuff -This.Is.A.Long.Namespace.more_stuff -This.Is.A.Long.Namespace.stuff -This_aux_1.This.Is.A.Long.Namespace.stuff : nat -This.Is.A.Long.Namespace.more_stuff : nat -This.Is.A.Long.Namespace.stuff : nat -stuff = 2 - : nat -default nat_def : nat - : nat Cats.And.Dogs.x = 42 : nat Foo.x = 3 @@ -17714,96 +17776,90 @@ : nat A2.B2.f = 2 : nat -Module -d3 - : d3_Locked -:= Struct Definition body : nat. Parameter unlock : d3 = 3. End -Module Type - d3_Locked = - Sig Parameter body : nat. Parameter unlock : body = 3. End -cons2 : forall {A : Type}, A -> list A -> list A - -cons2 is not universe polymorphic -Arguments cons2 {A}%type_scope x xs%list_scope -cons2 is transparent -Expands to: Constant -elpi.apps.locker.tests.test_locker.Bug_286.lock_container.cons2 -cons3 : forall [A : Type], EqDecision A -> A -> list A -> list A - -cons3 is not universe polymorphic -Arguments cons3 [A]%type_scope {H} x xs%list_scope -cons3 is transparent -Expands to: Constant -elpi.apps.locker.tests.test_locker.Bug_286.lock_container2.cons3 -id1@{u} : forall T : Type@{u}, T -> T -(* u |= u < locked_with.u0 *) - -id1 is universe polymorphic -Arguments id1 T%type_scope x -id1 is transparent -Expands to: Constant elpi.apps.locker.tests.test_locker.id1 -Query assignments: - GR = const «id1» -id2.body@{u} : forall T : Type@{u}, T -> T -(* u |= u < eq.u0 *) - -id2.body is universe polymorphic -Arguments id2.body T%type_scope x -Expands to: Constant elpi.apps.locker.tests.test_locker.id2.body -Query assignments: - GR = const «id2.body» -up1.body@{u} : forall T : Type@{u}, T -> T -(* u |= u < eq.u0 *) - -up1.body is universe polymorphic -Arguments up1.body T%type_scope x -Expands to: Constant elpi.apps.locker.tests.test_locker.up1.body -Query assignments: - GR = const «up1.body» -nup1.body : forall T : Type@{nup1.body.u0}, T -> T +This.Is.A.Long.Namespace.stuff = 1 + : nat + = 1 + : nat +This.Is.A.Long.Namespace.stuff = 2 + : nat + = 1 + : nat +This_aux_1.This.Is.A.Long.Namespace.stuff +This.Is.A.Long.Namespace.more_stuff +This.Is.A.Long.Namespace.stuff +This_aux_1.This.Is.A.Long.Namespace.stuff : nat +This.Is.A.Long.Namespace.more_stuff : nat +This.Is.A.Long.Namespace.stuff : nat +stuff = 2 + : nat +default nat_def : nat + : nat +d + : nat +trying i = i +trying elpi_ctx_entry_2_ = elpi_ctx_entry_2_ +trying elpi_ctx_entry_1_ = elpi_ctx_entry_1_ /\ p0 = p0 +trying elpi_ctx_entry_1_ = elpi_ctx_entry_1_ /\ p0 = p0 +hello1 +true : bool + : bool +it = elpi_subproof + : True +it : True -nup1.body is not universe polymorphic -Arguments nup1.body T%type_scope x -Expands to: Constant elpi.apps.locker.tests.test_locker.nup1.body -Query assignments: - GR = const «nup1.body» -up2.body@{u u0} : -forall T : Type@{u}, Type@{u0} -> T -> T -(* u u0 |= u < eq.u0 - u0 < eq.u0 *) +it is not universe polymorphic +it is transparent +Expands to: Constant elpi.tests.test_ltac.it +elpi_subproof = I + : True +elpi_subproof : True -up2.body is universe polymorphic -Arguments up2.body (T W)%type_scope x -Expands to: Constant elpi.apps.locker.tests.test_locker.up2.body -Query assignments: - GR = const «up2.body» -Debug: -elpi lets escape exception: Universe - elpi.apps.locker.tests.test_locker.161 (File "./apps/locker/tests/test_locker.v", line 113, characters 50-54) - is unbound. -Raised at UState.error_unbound_universes in file "engine/uState.ml", line 832, characters 41-74 -Called from UState.universe_context_inst in file "engine/uState.ml", line 845, characters 9-58 -Called from UState.check_poly_univ_decl in file "engine/uState.ml", line 901, characters 13-63 -Called from UState.check_univ_decl in file "engine/uState.ml", line 917, characters 35-67 -Called from Elpi_plugin__Rocq_elpi_builtins.add_axiom_or_variable in file "src/rocq_elpi_builtins.ml", line 913, characters 14-82 -Called from Elpi_plugin__Rocq_elpi_builtins.coq_rest_builtins.(fun) in file "src/rocq_elpi_builtins.ml", line 2068, characters 20-86 -Called from Elpi_plugin__Rocq_elpi_builtins.grab_global_env.(fun) in file "src/rocq_elpi_builtins.ml", line 141, characters 33-44 -Called from Elpi_runtime__Runtime_trace_off.FFI.wrap_type_err in file "src/runtime/runtime_trace_off.ml", line 2125, characters 6-9 -Called from Elpi_runtime__Runtime_trace_off.FFI.call.aux in file "src/runtime/runtime_trace_off.ml", line 2207, characters 32-92 -Called from Elpi_runtime__Runtime_trace_off.FFI.call in file "src/runtime/runtime_trace_off.ml", line 2299, characters 21-70 -Called from Elpi_runtime__Runtime_trace_off.Constraints.exect_builtin_predicate in file "src/runtime/runtime_trace_off.ml", line 3565, characters 20-83 -Called from Elpi_runtime__Runtime_trace_off.Mainloop.make_runtime.run in file "src/runtime/runtime_trace_off.ml", line 3983, characters 19-90 -Called from Elpi_util__Util.Fork.fork.ensure_runtime in file "src/utils/util.ml", line 523, characters 16-19 -Re-raised at Elpi_util__Util.Fork.fork.ensure_runtime in file "src/utils/util.ml", line 532, characters 7-14 -Called from Elpi_runtime__Runtime_trace_off.mk_outcome in file "src/runtime/runtime_trace_off.ml", line 4265, characters 14-23 -Called from Elpi_runtime__Runtime_trace_off.execute_once in file "src/runtime/runtime_trace_off.ml", line 4282, characters 20-242 -Re-raised at Elpi_runtime__Runtime_trace_off.execute_once in file "src/runtime/runtime_trace_off.ml", line 4287, characters 2-9 -Called from Elpi__API.Execute.once in file "src/API.ml", line 235, characters 40-91 -Called from Elpi_plugin__Rocq_elpi_vernacular.Compiler.run in file "src/rocq_elpi_vernacular.ml", line 145, characters 13-55 -Re-raised at Exninfo.iraise in file "clib/exninfo.ml", line 81, characters 4-38 -Called from Elpi_plugin__Rocq_elpi_vernacular.Compiler.run_and_print in file "src/rocq_elpi_vernacular.ml", line 166, characters 8-38 -Called from Elpi_plugin__Rocq_elpi_vernacular.Interp.run_program.(fun) in file "src/rocq_elpi_vernacular.ml", line 557, characters 34-90 +elpi_subproof is not universe polymorphic +elpi_subproof is opaque +Expands to: Constant elpi.tests.test_ltac.elpi_subproof +Closed under the global context +test1 +str hello +str x +test1 +too many arguments +[attribute elpi.loc + (leaf-loc + File "./tests/test_vernacular2.v", line 10, column 24, characters 326-329:), + attribute elpi.phase (leaf-str interp), + attribute fwd_compat_attr (leaf-str )] +[attribute elpi.loc + (leaf-loc + File "./tests/test_vernacular2.v", line 11, column 0, characters 331-354:), + attribute elpi.phase (leaf-str interp), + attribute fwd_compat_attr (leaf-str )] +File "./tests/test_vernacular2.v", line 6, characters 2-17: +Warning: This command does not support this attribute: fwd_compat_attr. +[unsupported-attributes,parsing,default] +File "./tests/test_vernacular2.v", line 7, characters 2-17: +Warning: This command does not support this attribute: fwd_compat_attr. +[unsupported-attributes,parsing,default] +File "./tests/test_vernacular2.v", line 8, characters 2-17: +Warning: This command does not support this attribute: fwd_compat_attr. +[unsupported-attributes,parsing,default] +File "./tests/test_vernacular2.v", line 9, characters 2-17: +Warning: This command does not support this attribute: fwd_compat_attr. +[unsupported-attributes,parsing,default] +File "./tests/test_vernacular2.v", line 10, characters 2-17: +Warning: This command does not support this attribute: fwd_compat_attr. +[unsupported-attributes,parsing,default] +Inductive listR_inv (A : Type) (PA : A -> Type) (idx0 : list A) : Type := + nilR_inv : idx0 = nil -> listR_inv A PA idx0 + | consR_inv : forall a : A, + PA a -> + forall xs : list A, + listR_inv A PA xs -> + idx0 = (a :: xs)%list -> listR_inv A PA idx0. +Arguments listR_inv A%type_scope PA%function_scope idx0%list_scope +Arguments nilR_inv A%type_scope PA%function_scope idx0%list_scope _ +Arguments consR_inv A%type_scope PA%function_scope + idx0%list_scope a _ xs%list_scope _ _ Query assignments: X1 = «x1» X2 = «x2» @@ -18051,32 +18107,6 @@ Please add the following text to your program: type test term -> term -> prop. [elpi.missing-types,elpi.typecheck,elpi,default] -trying i = i -trying elpi_ctx_entry_2_ = elpi_ctx_entry_2_ -trying elpi_ctx_entry_1_ = elpi_ctx_entry_1_ /\ p0 = p0 -trying elpi_ctx_entry_1_ = elpi_ctx_entry_1_ /\ p0 = p0 -d - : nat -true : bool - : bool -program -[p] -global (indc «O») -app - [global (indc «S»), - app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] -Inductive listR_inv (A : Type) (PA : A -> Type) (idx0 : list A) : Type := - nilR_inv : idx0 = nil -> listR_inv A PA idx0 - | consR_inv : forall a : A, - PA a -> - forall xs : list A, - listR_inv A PA xs -> - idx0 = (a :: xs)%list -> listR_inv A PA idx0. - -Arguments listR_inv A%type_scope PA%function_scope idx0%list_scope -Arguments nilR_inv A%type_scope PA%function_scope idx0%list_scope _ -Arguments consR_inv A%type_scope PA%function_scope - idx0%list_scope a _ xs%list_scope _ _ nth_R = fun (T1 T2 : Type) (T_R : T1 -> T2 -> Type) (x01 : T1) (x02 : T2) (x0_R : T_R x01 x02) => @@ -18224,6 +18254,12 @@ File "./apps/derive/tests/test_param2.v", line 85, characters 0-30: Warning: Not a truly recursive fixpoint. [non-recursive,fixpoints,default] ok +program +[p] +global (indc «O») +app + [global (indc «S»), + app [global (indc «S»), app [global (indc «S»), global (indc «O»)]]] In tc-A In tc-A In tc-B @@ -18266,29 +18302,6 @@ (indt «DecidableClass.Decidable») [], tc.instance [] (const «DecidableClass.Decidable_not») (indt «DecidableClass.Decidable») []] -((fun (A : Type) (f : Type -> Type) (H : forall x : Type, Y (f x)) => - ex_intro (fun g : Type -> Type => Ex g A /\ g nat = g bool) f - (conj (Inst2 A f H) ?Goal)) - : - goal) -2 focused goals (shelved: 1) - - A : Type - f : Type -> Type - H : forall x : Type, Y (f x) - ============================ - Ex ?g A - -goal 2 is: - ?g nat = ?g bool -1 focused goal (shelved: 1) - - A : Type - f : Type -> Type - H : forall x : Type, Y (f x) - ============================ - (fun H0 : Type => f ?e0@{T:=H0}) nat = - (fun H0 : Type => f ?e0@{T:=H0}) bool Debug: Calling typeclass resolution with flags: depth = ∞,unique = false,fail = true Debug: 1: looking for (C ?i) with backtracking @@ -18321,6 +18334,29 @@ Solution for C 1 is i1 Goal is E 1 Solution for E 1 is e1 +((fun (A : Type) (f : Type -> Type) (H : forall x : Type, Y (f x)) => + ex_intro (fun g : Type -> Type => Ex g A /\ g nat = g bool) f + (conj (Inst2 A f H) ?Goal)) + : + goal) +2 focused goals (shelved: 1) + + A : Type + f : Type -> Type + H : forall x : Type, Y (f x) + ============================ + Ex ?g A + +goal 2 is: + ?g nat = ?g bool +1 focused goal (shelved: 1) + + A : Type + f : Type -> Type + H : forall x : Type, Y (f x) + ============================ + (fun H0 : Type => f ?e0@{T:=H0}) nat = + (fun H0 : Type => f ?e0@{T:=H0}) bool All the remaining goals are on the shelf. 1 goal @@ -18341,7 +18377,6 @@ ============================ C -(fun x : tele => tele_fmap) Now click "Start watching" in the Elpi Trace Browser panel and then execute the Command/Tactic/Query you want to trace. Also try "F1 Elpi". (fun H : C Q => @@ -18354,9 +18389,30 @@ [global (const «IsAnimal»), global (indc «Fly»), global (const «dove»)] Query assignments: S = X0 +(fun x : tele => tele_fmap) Normalizing app [global (indt «nat2»), global (const «Nat.succ»)] Normalizing app [global (indt «nat2»), global (indc «S»)] Normalizing app [global (indt «nat2»), global (const «Nat.succ»)] +File "./apps/tc/tests/test_tc_declare.v", line 8, characters 2-36: +Warning: +This command does not fully mirror the watned behavior if the class has methods +with implicit arguments (those implicits will be neglected) +[[TC] Warning,TC.Declare,elpi,default] +File "./apps/tc/tests/test_tc_declare.v", line 20, characters 2-53: +Warning: +This command does not fully mirror the watned behavior if the class has methods +with implicit arguments (those implicits will be neglected) +[[TC] Warning,TC.Declare,elpi,default] +File "./apps/tc/tests/test_tc_declare.v", line 50, characters 2-47: +Warning: +This command does not fully mirror the watned behavior if the class has methods +with implicit arguments (those implicits will be neglected) +[[TC] Warning,TC.Declare,elpi,default] +File "./apps/tc/tests/test_tc_declare.v", line 63, characters 2-51: +Warning: +This command does not fully mirror the watned behavior if the class has methods +with implicit arguments (those implicits will be neglected) +[[TC] Warning,TC.Declare,elpi,default] (fun (T : Type) (p : nat -> T -> T -> Prop) (x : T) => partial_app T (p 0) x) eq_refl : @@ -18471,26 +18527,6 @@ forall (T : Type -> Type) (H : forall x : Type, T x), C2 T (fun x : Type => H x) -> D Debug: [tactic-unification] Leaving unification with success -File "./apps/tc/tests/test_tc_declare.v", line 8, characters 2-36: -Warning: -This command does not fully mirror the watned behavior if the class has methods -with implicit arguments (those implicits will be neglected) -[[TC] Warning,TC.Declare,elpi,default] -File "./apps/tc/tests/test_tc_declare.v", line 20, characters 2-53: -Warning: -This command does not fully mirror the watned behavior if the class has methods -with implicit arguments (those implicits will be neglected) -[[TC] Warning,TC.Declare,elpi,default] -File "./apps/tc/tests/test_tc_declare.v", line 50, characters 2-47: -Warning: -This command does not fully mirror the watned behavior if the class has methods -with implicit arguments (those implicits will be neglected) -[[TC] Warning,TC.Declare,elpi,default] -File "./apps/tc/tests/test_tc_declare.v", line 63, characters 2-51: -Warning: -This command does not fully mirror the watned behavior if the class has methods -with implicit arguments (those implicits will be neglected) -[[TC] Warning,TC.Declare,elpi,default] Instances list for indt «Eqb» is: const «eqBool» with locality [] const «eqProd» with locality [] @@ -18522,655 +18558,651 @@ Instances list for indt «DecidableClass.Decidable» is: const «Decidable_eq_bool» with locality [] const «DecidableClass.Decidable_not» with locality [] -File "./apps/eltac/tests-stdlib/test_injection.v", line 15, characters 0-15: -Warning: Using Vector.t is known to be technically difficult, see -. -[warn-library-file-stdlib-vector,stdlib-vector,warn-library-file,user-warn,default] -Query assignments: - EqP = const «eqU» -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.rewrite_relation_fun +(*external*) rewrite_relation_fun [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (RelationClasses.equiv_rewrite_relation R) +(*external*) (equiv_rewrite_relation R) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Morphisms.eq_rewrite_relation A) +(*external*) (eq_rewrite_relation A) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_StrictOrder) +(*external*) (class_apply @flip_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.PartialOrder_StrictOrder) +(*external*) (class_apply @PartialOrder_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_StrictOrder) +(*external*) (class_apply @CRelationClasses.flip_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.PartialOrder_StrictOrder) +(*external*) (class_apply @CMorphisms.PartialOrder_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_PreOrder) +(*external*) (class_apply @flip_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.StrictOrder_PreOrder) +(*external*) (class_apply @StrictOrder_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_PreOrder) +(*external*) (class_apply @CRelationClasses.flip_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.StrictOrder_PreOrder) +(*external*) (class_apply @CMorphisms.StrictOrder_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_Antisymmetric) +(*external*) (class_apply @CRelationClasses.flip_Antisymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_Symmetric) +(*external*) (class_apply @CRelationClasses.flip_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.complement_Symmetric) +(*external*) (class_apply @CRelationClasses.complement_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.PartialOrder_inverse) +(*external*) (class_apply @PartialOrder_inverse) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.StrictOrder_PartialOrder) +(*external*) (class_apply @StrictOrder_PartialOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.eq_proper_proxy || - Init.class_apply @Morphisms.reflexive_proper_proxy) +(*external*) (class_apply @eq_proper_proxy || + class_apply @reflexive_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (not_evar R; Init.class_apply @Morphisms.proper_proper_proxy) +(*external*) (not_evar R; class_apply @proper_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.normalizes +(*external*) normalizes [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.flip2) +(*external*) (class_apply @flip2) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.flip1) +(*external*) (class_apply @flip1) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Morphisms.subrelation_tac T U) +(*external*) (subrelation_tac T U) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (apply (Morphisms.forall_subrelation B R S); intro) +(*external*) (apply (forall_subrelation B R S); intro) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.subrelation_symmetric) +(*external*) (class_apply @subrelation_symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.PartialOrder_inverse) +(*external*) (class_apply @CRelationClasses.PartialOrder_inverse) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.StrictOrder_PartialOrder) +(*external*) (class_apply @CMorphisms.StrictOrder_PartialOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_Transitive) +(*external*) (class_apply @flip_Transitive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.flip2) +(*external*) (class_apply @CMorphisms.flip2) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.flip1) +(*external*) (class_apply @CMorphisms.flip1) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) (CMorphisms.subrelation_tac T U) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) (apply (CMorphisms.forall_subrelation B R S); intro) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.subrelation_symmetric) +(*external*) (class_apply @CRelationClasses.subrelation_symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) (apply @CMorphisms.flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.proper_flip_proper) +(*external*) (class_apply @CMorphisms.proper_flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.partial_application_tactic [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_subrelation [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_normalization [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_reflexive [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_Transitive) +(*external*) (class_apply @CRelationClasses.flip_Transitive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_Irreflexive) +(*external*) (class_apply @flip_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.complement_Irreflexive) +(*external*) (class_apply @complement_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_Asymmetric) +(*external*) (class_apply @flip_Asymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (apply @Morphisms.flip_proper) +(*external*) (apply @flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (apply @Morphisms.complement_proper) +(*external*) (apply @complement_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @Morphisms.proper_flip_proper) +(*external*) (class_apply @proper_flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.partial_application_tactic +(*external*) partial_application_tactic [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.proper_subrelation +(*external*) proper_subrelation [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.proper_normalization +(*external*) proper_normalization [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Morphisms.proper_reflexive +(*external*) proper_reflexive [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_Irreflexive) +(*external*) (class_apply @CRelationClasses.flip_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.complement_Irreflexive) +(*external*) (class_apply @CRelationClasses.complement_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.flip_Asymmetric) +(*external*) (class_apply @CRelationClasses.flip_Asymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.irreflexivity) +(*external*) (class_apply @irreflexivity) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (apply RelationClasses.flip_Reflexive) +(*external*) (apply flip_Reflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CRelationClasses.irreflexivity) +(*external*) (class_apply @CRelationClasses.irreflexivity) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) (apply CRelationClasses.flip_Reflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) Init.unconvertible +(*external*) unconvertible [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @CMorphisms.eq_proper_proxy || - Init.class_apply @CMorphisms.reflexive_proper_proxy) +(*external*) (class_apply @CMorphisms.eq_proper_proxy || + class_apply @CMorphisms.reflexive_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (not_evar R; Init.class_apply @CMorphisms.proper_proper_proxy) +(*external*) (not_evar R; class_apply @CMorphisms.proper_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.normalizes [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_Antisymmetric) +(*external*) (class_apply @flip_Antisymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.flip_Symmetric) +(*external*) (class_apply @flip_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Init.class_apply @RelationClasses.complement_Symmetric) +(*external*) (class_apply @complement_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: +File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: Warning: There is an hint extern in the typeclass db: -(*external*) (Morphisms.reflexive_proxy_tac A R) +(*external*) (reflexive_proxy_tac A R) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +Query assignments: + EqP = const «eqU» +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) rewrite_relation_fun +(*external*) Morphisms.rewrite_relation_fun [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (equiv_rewrite_relation R) +(*external*) (RelationClasses.equiv_rewrite_relation R) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (eq_rewrite_relation A) +(*external*) (Morphisms.eq_rewrite_relation A) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_StrictOrder) +(*external*) (Init.class_apply @RelationClasses.flip_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @PartialOrder_StrictOrder) +(*external*) (Init.class_apply @Morphisms.PartialOrder_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_StrictOrder) +(*external*) (Init.class_apply @CRelationClasses.flip_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.PartialOrder_StrictOrder) +(*external*) (Init.class_apply @CMorphisms.PartialOrder_StrictOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_PreOrder) +(*external*) (Init.class_apply @RelationClasses.flip_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @StrictOrder_PreOrder) +(*external*) (Init.class_apply @Morphisms.StrictOrder_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_PreOrder) +(*external*) (Init.class_apply @CRelationClasses.flip_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.StrictOrder_PreOrder) +(*external*) (Init.class_apply @CMorphisms.StrictOrder_PreOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_Antisymmetric) +(*external*) (Init.class_apply @CRelationClasses.flip_Antisymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_Symmetric) +(*external*) (Init.class_apply @CRelationClasses.flip_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.complement_Symmetric) +(*external*) (Init.class_apply @CRelationClasses.complement_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @PartialOrder_inverse) +(*external*) (Init.class_apply @RelationClasses.PartialOrder_inverse) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @StrictOrder_PartialOrder) +(*external*) (Init.class_apply @Morphisms.StrictOrder_PartialOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @eq_proper_proxy || - class_apply @reflexive_proper_proxy) +(*external*) (Init.class_apply @Morphisms.eq_proper_proxy || + Init.class_apply @Morphisms.reflexive_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (not_evar R; class_apply @proper_proper_proxy) +(*external*) (not_evar R; Init.class_apply @Morphisms.proper_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) normalizes +(*external*) Morphisms.normalizes [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip2) +(*external*) (Init.class_apply @Morphisms.flip2) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip1) +(*external*) (Init.class_apply @Morphisms.flip1) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (subrelation_tac T U) +(*external*) (Morphisms.subrelation_tac T U) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (apply (forall_subrelation B R S); intro) +(*external*) (apply (Morphisms.forall_subrelation B R S); intro) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @subrelation_symmetric) +(*external*) (Init.class_apply @RelationClasses.subrelation_symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.PartialOrder_inverse) +(*external*) (Init.class_apply @CRelationClasses.PartialOrder_inverse) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.StrictOrder_PartialOrder) +(*external*) (Init.class_apply @CMorphisms.StrictOrder_PartialOrder) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Transitive) +(*external*) (Init.class_apply @RelationClasses.flip_Transitive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.flip2) +(*external*) (Init.class_apply @CMorphisms.flip2) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.flip1) +(*external*) (Init.class_apply @CMorphisms.flip1) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) (CMorphisms.subrelation_tac T U) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) (apply (CMorphisms.forall_subrelation B R S); intro) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.subrelation_symmetric) +(*external*) (Init.class_apply @CRelationClasses.subrelation_symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) (apply @CMorphisms.flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.proper_flip_proper) +(*external*) (Init.class_apply @CMorphisms.proper_flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.partial_application_tactic [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_subrelation [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_normalization [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.proper_reflexive [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_Transitive) +(*external*) (Init.class_apply @CRelationClasses.flip_Transitive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Irreflexive) +(*external*) (Init.class_apply @RelationClasses.flip_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @complement_Irreflexive) +(*external*) (Init.class_apply @RelationClasses.complement_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Asymmetric) +(*external*) (Init.class_apply @RelationClasses.flip_Asymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (apply @flip_proper) +(*external*) (apply @Morphisms.flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (apply @complement_proper) +(*external*) (apply @Morphisms.complement_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @proper_flip_proper) +(*external*) (Init.class_apply @Morphisms.proper_flip_proper) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) partial_application_tactic +(*external*) Morphisms.partial_application_tactic [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) proper_subrelation +(*external*) Morphisms.proper_subrelation [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) proper_normalization +(*external*) Morphisms.proper_normalization [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) proper_reflexive +(*external*) Morphisms.proper_reflexive [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_Irreflexive) +(*external*) (Init.class_apply @CRelationClasses.flip_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.complement_Irreflexive) +(*external*) (Init.class_apply @CRelationClasses.complement_Irreflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.flip_Asymmetric) +(*external*) (Init.class_apply @CRelationClasses.flip_Asymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @irreflexivity) +(*external*) (Init.class_apply @RelationClasses.irreflexivity) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (apply flip_Reflexive) +(*external*) (apply RelationClasses.flip_Reflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CRelationClasses.irreflexivity) +(*external*) (Init.class_apply @CRelationClasses.irreflexivity) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) (apply CRelationClasses.flip_Reflexive) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) unconvertible +(*external*) Init.unconvertible [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @CMorphisms.eq_proper_proxy || - class_apply @CMorphisms.reflexive_proper_proxy) +(*external*) (Init.class_apply @CMorphisms.eq_proper_proxy || + Init.class_apply @CMorphisms.reflexive_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (not_evar R; class_apply @CMorphisms.proper_proper_proxy) +(*external*) (not_evar R; Init.class_apply @CMorphisms.proper_proper_proxy) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: (*external*) CMorphisms.normalizes [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Antisymmetric) +(*external*) (Init.class_apply @RelationClasses.flip_Antisymmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @flip_Symmetric) +(*external*) (Init.class_apply @RelationClasses.flip_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (class_apply @complement_Symmetric) +(*external*) (Init.class_apply @RelationClasses.complement_Symmetric) [elpi.TC.hints,elpi,default] -File "./apps/tc/tests-stdlib/stdppInj.v", line 13, characters 0-24: +File "./apps/tc/tests-stdlib/test_commands_API.v", line 52, characters 2-25: Warning: There is an hint extern in the typeclass db: -(*external*) (reflexive_proxy_tac A R) +(*external*) (Morphisms.reflexive_proxy_tac A R) [elpi.TC.hints,elpi,default] Query assignments: T = c0 \ @@ -19190,7 +19222,7 @@ X3_ = X2 X4_ = X3 X5_ = X4 -Finished transaction in 0.032 secs (0.032u,0.s) (successful) +Finished transaction in 0.131 secs (0.033u,0.s) (successful) Query assignments: A = c0 \ c0 @@ -19479,14 +19511,18 @@ [elpi.linear-variable,elpi.typecheck,elpi,default] Received the following event [str new_instance, str I4, str A, str Export, int -1] +File "./apps/eltac/tests-stdlib/test_injection.v", line 15, characters 0-15: +Warning: Using Vector.t is known to be technically difficult, see +. +[warn-library-file-stdlib-vector,stdlib-vector,warn-library-file,user-warn,default] Debug: [elpitime] Elpi: get_and_compile 0.0001 -Debug: [TC] - Time of instance search is 0.000085 -Debug: [TC] - Time of refine.typecheck is 0.000192 +Debug: [TC] - Time of instance search is 0.000090 +Debug: [TC] - Time of refine.typecheck is 0.000219 Debug: [elpitime] - Elpi: query-compilation:0.0001 static-check:0.0000 optimization:0.0001 runtime:0.0060 (with success) + Elpi: query-compilation:0.0001 static-check:0.0000 optimization:0.0001 runtime:0.0019 (with success) -Finished transaction in 0.006 secs (0.002u,0.s) (successful) +Finished transaction in 0.002 secs (0.002u,0.s) (successful) Inductive elpi.apps.derive.tests.test_param1.Coverage.is_unit Inductive elpi.apps.derive.tests.test_param1.OtherTests.is_unit (shorter name to refer to it in current context is OtherTests.is_unit) @@ -19902,29 +19938,6 @@ There is an hint extern in the typeclass db: (*external*) proper_reflexive [elpi.TC.hints,elpi,default] -Inductive peano : Set := Zero : peano | Succ : peano -> peano. - -Arguments peano.Succ p - = if pos_eq_dec (BinNums.xO BinNums.xH) BinNums.xH then true else false - : bool -peano.eqb_OK : forall x1 x2 : peano, reflect (x1 = x2) (peano.eqb x1 x2) - -peano.eqb_OK is not universe polymorphic -Arguments peano.eqb_OK x1 x2 -peano.eqb_OK is opaque -Expands to: Constant elpi.apps.derive.examples.readme.peano.eqb_OK -Derivation param1 on const «Nat.add» -Derivation param1 on const «Nat.add» took 0.002928 -Derivation param2 on const «Nat.add» -Derivation param2 on const «Nat.add» took 0.003680 -Derivation eqb-alias on const «Nat.add» -Derivation eqb-alias on const «Nat.add» failed, continuing -Derivation eqbcorrect-alias on const «Nat.add» -Derivation eqbcorrect-alias on const «Nat.add» failed, continuing -Derivation eqbOK-alias on const «Nat.add» -Derivation eqbOK-alias on const «Nat.add» failed, continuing -is_add - : forall n : nat, is_nat n -> forall m : nat, is_nat m -> is_nat (n + m) more : forall A : Type, A -> tickle A -> tickle A : forall A : Type, A -> tickle A -> tickle A tickle.eqb @@ -19956,37 +19969,37 @@ (arity (prod `l` (app [global (indt «tickle.tickle»), c1]) c2 \ c1))] Deriving Derivation map on indt «rtree» -Derivation map on indt «rtree» took 0.001724 +Derivation map on indt «rtree» took 0.001761 Derivation lens on indt «rtree» Derivation lens on indt «rtree» failed, continuing Derivation param1 on indt «rtree» -Derivation param1 on indt «rtree» took 0.004932 +Derivation param1 on indt «rtree» took 0.005080 Derivation param2 on indt «rtree» -Derivation param2 on indt «rtree» took 0.006508 +Derivation param2 on indt «rtree» took 0.008499 Derivation tag on indt «rtree» -Derivation tag on indt «rtree» took 0.001012 +Derivation tag on indt «rtree» took 0.001047 Derivation eqType_ast on indt «rtree» -Derivation eqType_ast on indt «rtree» took 0.000353 +Derivation eqType_ast on indt «rtree» took 0.000364 Derivation lens_laws on indt «rtree» Derivation lens_laws on indt «rtree» took 0.000047 Derivation param1_congr on indt «rtree» -Derivation param1_congr on indt «rtree» took 0.002034 +Derivation param1_congr on indt «rtree» took 0.005470 Derivation param1_inhab on indt «rtree» -Derivation param1_inhab on indt «rtree» took 0.001691 +Derivation param1_inhab on indt «rtree» took 0.001932 Derivation param1_functor on indt «rtree» -Derivation param1_functor on indt «rtree» took 0.001880 +Derivation param1_functor on indt «rtree» took 0.001881 Derivation fields on indt «rtree» -Derivation fields on indt «rtree» took 0.006389 +Derivation fields on indt «rtree» took 0.009440 Derivation param1_trivial on indt «rtree» -Derivation param1_trivial on indt «rtree» took 0.171680 +Derivation param1_trivial on indt «rtree» took 0.196783 Derivation induction on indt «rtree» -Derivation induction on indt «rtree» took 0.001802 +Derivation induction on indt «rtree» took 0.002062 Derivation eqb on indt «rtree» -Derivation eqb on indt «rtree» took 0.005794 +Derivation eqb on indt «rtree» took 0.007363 Derivation eqbcorrect on indt «rtree» -Derivation eqbcorrect on indt «rtree» took 0.021249 +Derivation eqbcorrect on indt «rtree» took 0.024623 Derivation eqbOK on indt «rtree» -Derivation eqbOK on indt «rtree» took 0.001185 +Derivation eqbOK on indt «rtree» took 0.001269 Done rtree.induction : @@ -20010,15 +20023,15 @@ Deriving Skipping derivation map on indt «Box» since the user did not select it Derivation lens on indt «Box» -Derivation lens on indt «Box» took 0.003071 +Derivation lens on indt «Box» took 0.003301 Skipping derivation param1 on indt «Box» since the user did not select it Skipping derivation param2 on indt «Box» since the user did not select it Derivation tag on indt «Box» -Derivation tag on indt «Box» took 0.001077 +Derivation tag on indt «Box» took 0.001122 Derivation eqType_ast on indt «Box» -Derivation eqType_ast on indt «Box» took 0.000293 +Derivation eqType_ast on indt «Box» took 0.000271 Derivation lens_laws on indt «Box» -Derivation lens_laws on indt «Box» took 0.011102 +Derivation lens_laws on indt «Box» took 0.013652 Skipping derivation param1_congr on indt «Box» since the user did not select it Skipping derivation param1_inhab on indt «Box» @@ -20026,13 +20039,13 @@ Skipping derivation param1_functor on indt «Box» since the user did not select it Derivation fields on indt «Box» -Derivation fields on indt «Box» took 0.004500 +Derivation fields on indt «Box» took 0.006170 Skipping derivation param1_trivial on indt «Box» since the user did not select it Skipping derivation induction on indt «Box» since the user did not select it Derivation eqb on indt «Box» -Derivation eqb on indt «Box» took 0.002667 +Derivation eqb on indt «Box» took 0.002976 Skipping derivation eqbcorrect on indt «Box» since the user did not select it Skipping derivation eqbOK on indt «Box» since the user did not select it @@ -20058,65 +20071,65 @@ nat_eqb_OK : forall x y : nat, reflect (x = y) (nat_eqb x y) : forall x y : nat, reflect (x = y) (nat_eqb x y) Derivation map on indt «a» -Derivation map on indt «a» took 0.000751 +Derivation map on indt «a» took 0.000840 Derivation lens on indt «a» Derivation lens on indt «a» failed, continuing Derivation param1 on indt «a» -Derivation param1 on indt «a» took 0.001918 +Derivation param1 on indt «a» took 0.002121 Derivation param2 on indt «a» -Derivation param2 on indt «a» took 0.002200 +Derivation param2 on indt «a» took 0.003721 Derivation tag on indt «a» -Derivation tag on indt «a» took 0.000682 +Derivation tag on indt «a» took 0.000706 Derivation eqType_ast on indt «a» -Derivation eqType_ast on indt «a» took 0.000155 +Derivation eqType_ast on indt «a» took 0.000165 Derivation lens_laws on indt «a» -Derivation lens_laws on indt «a» took 0.000042 +Derivation lens_laws on indt «a» took 0.000047 Derivation param1_congr on indt «a» -Derivation param1_congr on indt «a» took 0.000265 +Derivation param1_congr on indt «a» took 0.000298 Derivation param1_inhab on indt «a» -Derivation param1_inhab on indt «a» took 0.000661 +Derivation param1_inhab on indt «a» took 0.000883 Derivation param1_functor on indt «a» -Derivation param1_functor on indt «a» took 0.000633 +Derivation param1_functor on indt «a» took 0.000671 Derivation fields on indt «a» -Derivation fields on indt «a» took 0.002467 +Derivation fields on indt «a» took 0.002954 Derivation param1_trivial on indt «a» -Derivation param1_trivial on indt «a» took 0.001060 +Derivation param1_trivial on indt «a» took 0.001087 Derivation induction on indt «a» -Derivation induction on indt «a» took 0.000777 +Derivation induction on indt «a» took 0.000838 Derivation eqb on indt «a» -Derivation eqb on indt «a» took 0.001328 +Derivation eqb on indt «a» took 0.002221 Derivation eqbcorrect on indt «a» -Derivation eqbcorrect on indt «a» took 0.002736 +Derivation eqbcorrect on indt «a» took 0.004158 Derivation eqbOK on indt «a» -Derivation eqbOK on indt «a» took 0.000525 +Derivation eqbOK on indt «a» took 0.000575 Skipping derivation map on indt «b» since the user did not select it Skipping derivation lens on indt «b» since the user did not select it Derivation param1 on indt «b» -Derivation param1 on indt «b» took 0.002228 +Derivation param1 on indt «b» took 0.002382 Skipping derivation param2 on indt «b» since the user did not select it Derivation tag on indt «b» -Derivation tag on indt «b» took 0.000725 +Derivation tag on indt «b» took 0.000736 Derivation eqType_ast on indt «b» -Derivation eqType_ast on indt «b» took 0.000218 +Derivation eqType_ast on indt «b» took 0.000241 Skipping derivation lens_laws on indt «b» since the user did not select it Skipping derivation param1_congr on indt «b» since the user did not select it Derivation param1_inhab on indt «b» -Derivation param1_inhab on indt «b» took 0.000764 +Derivation param1_inhab on indt «b» took 0.000848 Derivation param1_functor on indt «b» -Derivation param1_functor on indt «b» took 0.000697 +Derivation param1_functor on indt «b» took 0.000794 Derivation fields on indt «b» -Derivation fields on indt «b» took 0.002847 +Derivation fields on indt «b» took 0.004151 Skipping derivation param1_trivial on indt «b» since the user did not select it Derivation induction on indt «b» -Derivation induction on indt «b» took 0.000952 +Derivation induction on indt «b» took 0.001097 Derivation eqb on indt «b» -Derivation eqb on indt «b» took 0.001711 +Derivation eqb on indt «b» took 0.001984 Derivation eqbcorrect on indt «b» -Derivation eqbcorrect on indt «b» took 0.003539 +Derivation eqbcorrect on indt «b» took 0.004860 Derivation eqbOK on indt «b» -Derivation eqbOK on indt «b» took 0.000592 +Derivation eqbOK on indt «b» took 0.000575 a_eqb : a -> a -> bool b_eqb @@ -20316,6 +20329,29 @@ : bool Peano.eqb_OK : forall x1 x2 : Peano.peano, reflect (x1 = x2) (Peano.eqb x1 x2) +Inductive peano : Set := Zero : peano | Succ : peano -> peano. + +Arguments peano.Succ p + = if pos_eq_dec (BinNums.xO BinNums.xH) BinNums.xH then true else false + : bool +peano.eqb_OK : forall x1 x2 : peano, reflect (x1 = x2) (peano.eqb x1 x2) + +peano.eqb_OK is not universe polymorphic +Arguments peano.eqb_OK x1 x2 +peano.eqb_OK is opaque +Expands to: Constant elpi.apps.derive.examples.readme.peano.eqb_OK +Derivation param1 on const «Nat.add» +Derivation param1 on const «Nat.add» took 0.011035 +Derivation param2 on const «Nat.add» +Derivation param2 on const «Nat.add» took 0.011873 +Derivation eqb-alias on const «Nat.add» +Derivation eqb-alias on const «Nat.add» failed, continuing +Derivation eqbcorrect-alias on const «Nat.add» +Derivation eqbcorrect-alias on const «Nat.add» failed, continuing +Derivation eqbOK-alias on const «Nat.add» +Derivation eqbOK-alias on const «Nat.add» failed, continuing +is_add + : forall n : nat, is_nat n -> forall m : nat, is_nat m -> is_nat (n + m) derive.param1_trivial: wrong shape is_nest . It does not look like a unary parametricity translation of an inductive with no indexes. derive.param1_trivial: wrong shape is_vect A PA @@ -20329,13 +20365,13 @@ Skipping derivation tag on indt «nat» since it has been already run Skipping derivation eqType_ast on indt «nat» since it has been already run Derivation projK on indt «nat» -Derivation projK on indt «nat» took 0.001109 +Derivation projK on indt «nat» took 0.001152 Derivation isK on indt «nat» -Derivation isK on indt «nat» took 0.001567 +Derivation isK on indt «nat» took 0.001949 Derivation eq on indt «nat» -Derivation eq on indt «nat» took 0.001295 +Derivation eq on indt «nat» took 0.001373 Derivation invert on indt «nat» -Derivation invert on indt «nat» took 0.001192 +Derivation invert on indt «nat» took 0.005578 Skipping derivation lens_laws on indt «nat» since it has been already run Skipping derivation param1_congr on indt «nat» since it has been already run @@ -20345,7 +20381,7 @@ since it has been already run Skipping derivation fields on indt «nat» since it has been already run Derivation bcongr on indt «nat» -Derivation bcongr on indt «nat» took 0.002443 +Derivation bcongr on indt «nat» took 0.010654 Derivation idx2inv on indt «nat» Derivation idx2inv on indt «nat» failed, continuing Skipping derivation param1_trivial on indt «nat» @@ -20353,13 +20389,13 @@ Skipping derivation induction on indt «nat» since it has been already run Skipping derivation eqb on indt «nat» since it has been already run Derivation eqK on indt «nat» -Derivation eqK on indt «nat» took 0.002826 +Derivation eqK on indt «nat» took 0.003058 Skipping derivation eqbcorrect on indt «nat» since it has been already run Derivation eqcorrect on indt «nat» -Derivation eqcorrect on indt «nat» took 0.000811 +Derivation eqcorrect on indt «nat» took 0.001043 Skipping derivation eqbOK on indt «nat» since it has been already run Derivation eqOK on indt «nat» -Derivation eqOK on indt «nat» took 0.000454 +Derivation eqOK on indt «nat» took 0.001938 Skipping derivation map on indt «nat» since the user did not select it Skipping derivation lens on indt «nat» since the user did not select it Skipping derivation param1 on indt «nat» since it has been already run @@ -20404,12 +20440,12 @@ Skipping derivation map on indt «foo» since the user did not select it Skipping derivation lens on indt «foo» since the user did not select it Derivation param1 on indt «foo» -Derivation param1 on indt «foo» took 0.002781 +Derivation param1 on indt «foo» took 0.011234 Skipping derivation param2 on indt «foo» since the user did not select it Derivation tag on indt «foo» -Derivation tag on indt «foo» took 0.000793 +Derivation tag on indt «foo» took 0.001056 Derivation eqType_ast on indt «foo» -Derivation eqType_ast on indt «foo» took 0.000248 +Derivation eqType_ast on indt «foo» took 0.000280 Skipping derivation projK on indt «foo» since the user did not select it Skipping derivation isK on indt «foo» since the user did not select it Skipping derivation eq on indt «foo» since the user did not select it @@ -20419,26 +20455,26 @@ Skipping derivation param1_congr on indt «foo» since the user did not select it Derivation param1_inhab on indt «foo» -Derivation param1_inhab on indt «foo» took 0.000957 +Derivation param1_inhab on indt «foo» took 0.001070 Derivation param1_functor on indt «foo» -Derivation param1_functor on indt «foo» took 0.000766 +Derivation param1_functor on indt «foo» took 0.013987 Derivation fields on indt «foo» -Derivation fields on indt «foo» took 0.003485 +Derivation fields on indt «foo» took 0.012596 Skipping derivation bcongr on indt «foo» since the user did not select it Skipping derivation idx2inv on indt «foo» since the user did not select it Skipping derivation param1_trivial on indt «foo» since the user did not select it Derivation induction on indt «foo» -Derivation induction on indt «foo» took 0.000963 +Derivation induction on indt «foo» took 0.001182 Derivation eqb on indt «foo» -Derivation eqb on indt «foo» took 0.001956 +Derivation eqb on indt «foo» took 0.014662 Skipping derivation eqK on indt «foo» since the user did not select it Derivation eqbcorrect on indt «foo» -Derivation eqbcorrect on indt «foo» took 0.004350 +Derivation eqbcorrect on indt «foo» took 0.021035 Skipping derivation eqcorrect on indt «foo» since the user did not select it Derivation eqbOK on indt «foo» -Derivation eqbOK on indt «foo» took 0.000745 +Derivation eqbOK on indt «foo» took 0.000971 Skipping derivation eqOK on indt «foo» since the user did not select it File "./apps/derive/tests-stdlib/test_derive.v", line 33, characters 2-9: Warning: This command does not support this attribute: verbose. @@ -20447,13 +20483,13 @@ Warning: Using Vector.t is known to be technically difficult, see . [warn-library-file-stdlib-vector,stdlib-vector,warn-library-file,user-warn,default] -Finished transaction in 0.765 secs (0.721u,0.043s) (successful) -Finished transaction in 15.453 secs (15.228u,0.026s) (successful) -Finished transaction in 0.213 secs (0.212u,0.s) (successful) +Finished transaction in 3.94 secs (0.705u,0.054s) (successful) +Finished transaction in 62.815 secs (15.322u,0.056s) (successful) +Finished transaction in 0.845 secs (0.234u,0.s) (successful) dune build builtin-doc Warning: Cache directories could not be created: Permission denied; disabling cache -Hint: Make sure the directory /nonexistent/first-build/.cache/dune/db/temp +Hint: Make sure the directory /nonexistent/second-build/.cache/dune/db/temp can be created make[2]: Leaving directory '/build/reproducible-path/coq-elpi-2.5.0' make[1]: Leaving directory '/build/reproducible-path/coq-elpi-2.5.0' @@ -20465,7 +20501,7 @@ dune install rocq-elpi --destdir=/build/reproducible-path/coq-elpi-2.5.0/debian/tmp --prefix=/usr --libdir=/usr/lib/aarch64-linux-gnu/ocaml/5.3.0 Warning: Cache directories could not be created: Permission denied; disabling cache -Hint: Make sure the directory /nonexistent/first-build/.cache/dune/db/temp +Hint: Make sure the directory /nonexistent/second-build/.cache/dune/db/temp can be created rm -fr /build/reproducible-path/coq-elpi-2.5.0/debian/tmp/usr/doc/coq-elpi rm -fr /build/reproducible-path/coq-elpi-2.5.0/debian/tmp/usr/doc/rocq-elpi @@ -20504,8 +20540,8 @@ dpkg-gencontrol: warning: package libcoq-elpi: substitution variable ${shlibs:Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'libcoq-elpi' in '../libcoq-elpi_2.5.0-1.1_arm64.deb'. dpkg-deb: building package 'libcoq-elpi-dbgsym' in '../libcoq-elpi-dbgsym_2.5.0-1.1_arm64.deb'. +dpkg-deb: building package 'libcoq-elpi' in '../libcoq-elpi_2.5.0-1.1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../coq-elpi_2.5.0-1.1_arm64.buildinfo dpkg-genchanges --build=binary -O../coq-elpi_2.5.0-1.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -20513,12 +20549,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1175847/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3207077 and its subdirectories -I: Current time: Wed Aug 26 13:49:20 -12 2026 -I: pbuilder-time-stamp: 1787795360 +I: removing directory /srv/workspace/pbuilder/1175847 and its subdirectories +I: Current time: Fri Jul 25 09:31:21 +14 2025 +I: pbuilder-time-stamp: 1753385481