Diff of the two buildlogs: -- --- b1/build.log 2024-12-24 05:16:03.343136171 +0000 +++ b2/build.log 2024-12-24 05:17:37.166870092 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 23 17:14:10 -12 2024 -I: pbuilder-time-stamp: 1735017250 +I: Current time: Tue Jan 27 01:39:05 +14 2026 +I: pbuilder-time-stamp: 1769427545 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking coq-hierarchy-builder_1.8.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/793419/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2284294/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Jan 26 11:39 /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/2284294/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2284294/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='3ea71c7c63e142c8ac23089f03069df3' - 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='793419' - PS1='# ' - PS2='> ' + INVOCATION_ID=6aa4cea2cf8c4cb3827327b95c608051 + 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=2284294 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.XgVm453d/pbuilderrc_THqu --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.XgVm453d/b1 --logfile b1/build.log coq-hierarchy-builder_1.8.0-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.XgVm453d/pbuilderrc_irra --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.XgVm453d/b2 --logfile b2/build.log coq-hierarchy-builder_1.8.0-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 codethink04-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/793419/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2284294/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -207,7 +239,7 @@ Get: 86 http://deb.debian.org/debian trixie/main arm64 libelpi-ocaml-dev arm64 2.0.5-1 [15.8 MB] Get: 87 http://deb.debian.org/debian trixie/main arm64 libcoq-elpi arm64 2.3.0-1 [11.9 MB] Get: 88 http://deb.debian.org/debian trixie/main arm64 wdiff arm64 1.2.2-6+b1 [119 kB] -Fetched 381 MB in 1s (270 MB/s) +Fetched 381 MB in 2s (240 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal: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 ... 20082 files and directories currently installed.) @@ -509,8 +541,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Dec 24 05:14:52 UTC 2024. -Universal Time is now: Tue Dec 24 05:14:52 UTC 2024. +Local time is now: Mon Jan 26 11:39:37 UTC 2026. +Universal Time is now: Mon Jan 26 11:39:37 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -588,7 +620,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/coq-hierarchy-builder-1.8.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-hierarchy-builder_1.8.0-1_source.changes +I: user script /srv/workspace/pbuilder/2284294/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2284294/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/coq-hierarchy-builder-1.8.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-hierarchy-builder_1.8.0-1_source.changes dpkg-buildpackage: info: source package coq-hierarchy-builder dpkg-buildpackage: info: source version 1.8.0-1 dpkg-buildpackage: info: source distribution unstable @@ -643,8 +679,8 @@ COQDEP VFILES COQC examples/readme.v COQC examples/hulk.v -COQC examples/demo1/hierarchy_0.v COQC examples/demo1/hierarchy_1.v +COQC examples/demo1/hierarchy_0.v COQC examples/demo1/hierarchy_2.v COQC examples/demo1/hierarchy_3.v COQC examples/demo1/hierarchy_4.v @@ -653,8 +689,31 @@ COQC examples/demo3/hierarchy_0.v COQC examples/demo3/hierarchy_1.v COQC examples/demo3/hierarchy_2.v -[1735017308.996444] HB: start module and section AddComoid_of_Type -[1735017309.037383] HB: converting arguments +File "./examples/demo2/classical.v", line 422, characters 0-39: +Warning: Notations "_ ^~ _" defined at level 10 with arguments constr +at next level and "_ ^~" defined at level 2 with arguments constr +at next level have incompatible prefixes. One of them will likely not work. +[notation-incompatible-prefix,parsing,default] +File "./examples/hulk.v", line 143, characters 0-63: +Warning: +pulling in dependencies: [Feather_HasEqDec] + +Please list them or end the declaration with '&' +[HB.implicit-structure-dependency,HB,elpi,default] +File "./examples/demo2/classical.v", line 625, characters 0-75: +Warning: Postfix notations (i.e. starting with a nonterminal symbol and +ending with a terminal symbol) should usually be at level 1 (default). +[postfix-notation-not-level-1,parsing,default] +File "./examples/demo2/classical.v", line 626, characters 0-75: +Warning: Postfix notations (i.e. starting with a nonterminal symbol and +ending with a terminal symbol) should usually be at level 1 (default). +[postfix-notation-not-level-1,parsing,default] +File "./examples/demo2/classical.v", line 657, characters 0-43: +Warning: Postfix notations (i.e. starting with a nonterminal symbol and +ending with a terminal symbol) should usually be at level 1 (default). +[postfix-notation-not-level-1,parsing,default] +[1769427592.097707] HB: start module and section AddComoid_of_Type +[1769427592.103336] HB: converting arguments indt-decl (parameter A explicit X0 c0 \ record AddComoid_of_Type (sort (typ X1)) Build_AddComoid_of_Type @@ -679,19 +738,27 @@ (prod `x` (X9 c4) c5 \ app [global (indt «eq»), X10 c4 c5, app [c2, c1, c5], c5]) c5 \ end-record)) to factories -[1735017309.037775] HB: processing key parameter -[1735017309.038124] HB: converting factories +[1769427592.104041] HB: processing key parameter +[1769427592.104535] HB: converting factories w-params.nil A (sort (typ «HB.examples.readme.2»)) c0 \ [] to mixins -[1735017309.038194] HB: declaring context +[1769427592.104799] HB: declaring context w-params.nil A (sort (typ «HB.examples.readme.2»)) c0 \ [] -[1735017309.038321] HB: declaring parameters and key as section variables +[1769427592.105041] HB: declaring parameters and key as section variables +Here is the list of mixins to declare (the order matters): [] +[1769427592.105756] HB: declare mixin or factory +[1769427592.105919] HB: declare record axioms_ +[1769427592.110549] HB: declare notation Build +[1769427592.113645] HB: begin module for builders +[1769427592.119312] HB: begin module Super +[1769427592.119612] HB: ended module Super +[1769427592.119958] HB: postulating factories +[1769427592.120156] HB: processing key context-item +[1769427592.120448] HB: processing mixin parameter a +[1769427592.120849] HB: declaring parameters and key as section variables Here is the list of mixins to declare (the order matters): [] -[1735017309.038837] HB: declare mixin or factory -[1735017309.038892] HB: declare record axioms_ -[1735017309.091249] HB: declare notation Build -[1735017309.104442] HB: declare notation axioms -[1735017309.120260] HB: start module Exports -[1735017309.134734] HB: end modules and sections; export +[1769427592.122685] HB: declare notation axioms +[1769427592.126437] HB: start module Exports +[1769427592.133651] HB: end modules and sections; export «HB.examples.readme.AddComoid_of_Type.Exports» (* @@ -748,48 +815,67 @@ Notation AddComoid_of_Type X1 := ( AddComoid_of_Type.phant_axioms X1). *) -[1735017309.207959] HB: start module AddComoid -[1735017309.217250] HB: declare axioms record +[1769427592.172638] HB: start module AddComoid +[1769427592.173057] HB: declare axioms record w-params.nil A (sort (typ «HB.examples.readme.25»)) c0 \ [triple (indt «AddComoid_of_Type.axioms_») [] c0] -[1735017309.221150] HB: typing class field +[1769427592.173291] HB: typing class field indt «AddComoid_of_Type.axioms_» -[1735017309.222883] HB: declare type record -[1735017309.230619] HB: structure: new mixins +File "./examples/demo1/hierarchy_1.v", line 55, characters 0-123: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +[1769427592.174927] HB: declare type record +[1769427592.176549] HB: structure: new mixins [indt «AddComoid_of_Type.axioms_»] -[1735017309.245026] HB: structure: mixin first class +[1769427592.179123] HB: structure: mixin first class [mixin-first-class (indt «AddComoid_of_Type.axioms_») (indt «axioms_»)] -[1735017309.245350] HB: declaring clone abbreviation -[1735017309.248679] HB: declaring pack_ constant -[1735017309.253433] HB: declaring pack_ constant = +[1769427592.179326] HB: declaring clone abbreviation +[1769427592.182743] HB: declaring pack_ constant +[1769427592.187584] HB: declaring pack_ constant = fun `A` (sort (typ «axioms_.u0»)) c0 \ fun `m` (app [global (indt «AddComoid_of_Type.axioms_»), c0]) c1 \ app [global (indc «Pack»), c0, app [global (indc «Class»), c0, c1]] -[1735017309.254673] HB: start module Exports -[1735017309.265376] HB: making coercion from type to target -[1735017309.265655] HB: declare sort coercion -[1735017309.266047] HB: exporting unification hints -[1735017309.266293] HB: exporting coercions from class to mixins -[1735017309.266527] HB: export class to mixin coercion for mixin +[1769427592.188716] HB: start module Exports +[1769427592.195453] HB: making coercion from type to target +[1769427592.195731] HB: declare sort coercion +[1769427592.196055] HB: exporting unification hints +[1769427592.196257] HB: exporting coercions from class to mixins +[1769427592.196487] HB: export class to mixin coercion for mixin readme_AddComoid_of_Type -[1735017309.266908] HB: accumulating various props -[1735017309.267608] HB: stop module Exports -[1735017309.273593] HB: declaring on_ abbreviation -[1735017309.279164] HB: declaring `copy` abbreviation -[1735017309.286024] HB: declaring on abbreviation -[1735017309.294428] HB: end modules; export +[1769427592.196908] HB: accumulating various props +[1769427592.197487] HB: stop module Exports +[1769427592.198134] HB: declaring on_ abbreviation +[1769427592.200578] HB: declaring `copy` abbreviation +[1769427592.201447] HB: declaring on abbreviation +[1769427592.208549] HB: end modules; export «HB.examples.readme.AddComoid.Exports» -[1735017309.301664] HB: exporting operations -[1735017309.305873] HB: export operation zero -[1735017309.308176] HB: export operation add -[1735017309.310911] HB: export operation addrA +[1769427592.209226] HB: exporting operations +[1769427592.210317] HB: export operation zero +[1769427592.212507] HB: export operation add +[1769427592.221622] HB: export operation addrA +COQC examples/demo4/hierarchy_0.v +HB: A is canonically equipped with structures: + - Equality + Singleton + (from "./examples/hulk.v", line 216) + +COQC examples/demo5/hierarchy_0.v +File "./examples/demo1/hierarchy_2.v", line 39, characters 2-91: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +File "./examples/demo1/hierarchy_3.v", line 39, characters 2-87: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] File "./examples/demo1/hierarchy_4.v", line 40, characters 2-97: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] -[1735017309.724404] HB: export operation addrC -[1735017309.735465] HB: export operation add0r -[1735017309.742535] HB: operations meta-data module: ElpiOperations -[1735017309.750358] HB: abbreviation factory-by-classname +File "./examples/demo1/hierarchy_5.v", line 39, characters 2-97: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +[1769427592.415365] HB: export operation addrC +[1769427592.417902] HB: export operation add0r +[1769427592.424700] HB: operations meta-data module: ElpiOperations +[1769427592.426141] HB: abbreviation factory-by-classname (* Module AddComoid. @@ -886,12 +972,14 @@ *) forall (M : AddComoid.type) (x : M), x + x = 0 : Prop -COQC examples/demo4/hierarchy_0.v -File "./examples/demo2/classical.v", line 422, characters 0-39: -Warning: Notations "_ ^~ _" defined at level 10 with arguments constr -at next level and "_ ^~" defined at level 2 with arguments constr -at next level have incompatible prefixes. One of them will likely not work. -[notation-incompatible-prefix,parsing,default] +File "./examples/demo1/hierarchy_2.v", line 57, characters 0-57: +Warning: +pulling in dependencies: +[hierarchy_2_AddComoid_of_TYPE, hierarchy_2_AddAG_of_AddComoid] + +Please list them or end the declaration with '&' +[HB.implicit-structure-dependency,HB,elpi,default] +COQC examples/FSCD2020_material/V1.v AbelianGrp.phant_on_ BinNums_Z__canonical__readme_AbelianGrp (Phant BinNums_Z__canonical__readme_AbelianGrp) : @@ -903,75 +991,19 @@ - AddComoid (from "./examples/readme.v", line 31) -File "./examples/demo1/hierarchy_5.v", line 39, characters 2-97: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -[1735017310.186885] HB: begin module for builders -[1735017310.193214] HB: begin module Super -[1735017310.193553] HB: ended module Super -[1735017310.193900] HB: postulating factories -[1735017310.194120] HB: processing key context-item -[1735017310.194426] HB: processing mixin parameter a -[1735017310.194844] HB: declaring parameters and key as section variables -Here is the list of mixins to declare (the order matters): [] -COQC examples/demo5/hierarchy_0.v +[1769427592.704010] HB: declare builder from hierarchy_2_Ring_of_AddComoid +to hierarchy_2_AddAG_of_AddComoid +[1769427592.704375] HB: declare builder from hierarchy_2_Ring_of_AddComoid +to hierarchy_2_Ring_of_AddAG File "./examples/demo1/hierarchy_4.v", line 69, characters 2-91: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] -File "./examples/demo1/hierarchy_1.v", line 55, characters 0-123: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -File "./examples/demo2/classical.v", line 625, characters 0-75: -Warning: Postfix notations (i.e. starting with a nonterminal symbol and -ending with a terminal symbol) should usually be at level 1 (default). -[postfix-notation-not-level-1,parsing,default] -File "./examples/demo2/classical.v", line 626, characters 0-75: -Warning: Postfix notations (i.e. starting with a nonterminal symbol and -ending with a terminal symbol) should usually be at level 1 (default). -[postfix-notation-not-level-1,parsing,default] -File "./examples/demo2/classical.v", line 657, characters 0-43: -Warning: Postfix notations (i.e. starting with a nonterminal symbol and -ending with a terminal symbol) should usually be at level 1 (default). -[postfix-notation-not-level-1,parsing,default] -File "./examples/demo1/hierarchy_3.v", line 39, characters 2-87: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -File "./examples/demo1/hierarchy_2.v", line 39, characters 2-91: +File "./examples/demo1/hierarchy_5.v", line 68, characters 2-91: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] -File "./examples/demo1/hierarchy_2.v", line 57, characters 0-57: -Warning: -pulling in dependencies: -[hierarchy_2_AddComoid_of_TYPE, hierarchy_2_AddAG_of_AddComoid] - -Please list them or end the declaration with '&' -[HB.implicit-structure-dependency,HB,elpi,default] -COQC examples/FSCD2020_material/V1.v -[1735017311.060172] HB: declare builder from hierarchy_2_Ring_of_AddComoid -to hierarchy_2_AddAG_of_AddComoid -[1735017311.060482] HB: declare builder from hierarchy_2_Ring_of_AddComoid -to hierarchy_2_Ring_of_AddAG COQC examples/FSCD2020_material/V2.v COQC examples/FSCD2020_material/V3.v COQC examples/FSCD2020_material/V4.v -File "./examples/demo1/hierarchy_5.v", line 68, characters 2-91: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -File "./examples/hulk.v", line 143, characters 0-63: -Warning: -pulling in dependencies: [Feather_HasEqDec] - -Please list them or end the declaration with '&' -[HB.implicit-structure-dependency,HB,elpi,default] -HB: A is canonically equipped with structures: - - Equality - Singleton - (from "./examples/hulk.v", line 216) - -File "./examples/demo5/hierarchy_0.v", line 35, characters 2-91: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -COQC examples/FSCD2020_talk/V1.v inhab : ?s where @@ -983,16 +1015,20 @@ : inhab = (7 :: nil)%list where ?T : [ |- Type] -File "./examples/demo5/hierarchy_0.v", line 68, characters 2-109: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -COQC examples/FSCD2020_talk/V2.v fun X : s2.type nat => inhab : X : forall X : s2.type nat, X fun X : s2.type nat => inj : nat -> X : forall X : s2.type nat, nat -> X s2_to_s1 not a defined object. +COQC examples/FSCD2020_talk/V1.v +COQC examples/FSCD2020_talk/V2.v +File "./examples/demo5/hierarchy_0.v", line 35, characters 2-91: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] COQC examples/FSCD2020_talk/V3.v +File "./examples/demo5/hierarchy_0.v", line 68, characters 2-109: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] COQC examples/Coq2020_material/CoqWS_demo.v COQC examples/Coq2020_material/CoqWS_abstract.v Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. @@ -1015,8 +1051,6 @@ : forall s : AbelianGroup.type, left_inverse 0 opp add @addrC : forall s : AbelianGroup.type, commutative add -COQC examples/Coq2020_material/CoqWS_expansion/withHB.v -COQC examples/Coq2020_material/CoqWS_expansion/withoutHB.v HB.check: SemiRing_of_AddComoid.axioms_ : @@ -1025,6 +1059,19 @@ : forall (A : Type) (m : AddMonoid_of_TYPE.axioms_ A), AddComoid_of_AddMonoid.axioms_ A m -> Type +COQC examples/Coq2020_material/CoqWS_expansion/withHB.v +COQC examples/Coq2020_material/CoqWS_expansion/withoutHB.v +Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. + +Arguments Monoid.Pack sort%type_scope class +Arguments Monoid.sort record +Arguments Monoid.class record +@add + : forall s : Monoid.type, s -> s -> s +@addNr + : forall s : AbelianGroup.type, left_inverse 0 opp add +@addrC + : forall s : AbelianGroup.type, commutative add COQC tests/type_of_exported_ops.v COQC tests/duplicate_structure.v COQC tests/instance_params_no_type.v @@ -1033,34 +1080,25 @@ Arguments Monoid.Pack sort%type_scope class Arguments Monoid.sort record Arguments Monoid.class record +COQC tests/test_CS_db_filtering.v @add : forall s : Monoid.type, s -> s -> s @addNr : forall s : AbelianGroup.type, left_inverse 0 opp add @addrC : forall s : AbelianGroup.type, commutative add -COQC tests/test_CS_db_filtering.v -addrC - : commutative add -where -?s : [ |- CMonoid.type] +COQC tests/subtype.v File "./examples/FSCD2020_talk/V2.v", line 17, characters 0-66: Warning: pulling in dependencies: [V2_is_semigroup] Please list them or end the declaration with '&' [HB.implicit-structure-dependency,HB,elpi,default] -File "./examples/FSCD2020_talk/V3.v", line 28, characters 2-118: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -COQC tests/subtype.v -File "./examples/Coq2020_material/CoqWS_abstract.v", line 23, characters 0-71: -Warning: -pulling in dependencies: [CoqWS_abstract_CMonoid_of_Type] - -Please list them or end the declaration with '&' -[HB.implicit-structure-dependency,HB,elpi,default] COQC tests/exports.v +COQC tests/log_impargs_record.v +File "./examples/Coq2020_material/CoqWS_expansion/withoutHB.v", line 10, characters 50-62: +Warning: The format modifier has no effect for only-parsing notations. +[discarded-format-only-parsing,parsing,default] add : ?s -> ?s -> ?s where @@ -1069,9 +1107,14 @@ : commutative add where ?s : [ |- CMonoid.type] -File "./examples/Coq2020_material/CoqWS_expansion/withoutHB.v", line 10, characters 50-62: -Warning: The format modifier has no effect for only-parsing notations. -[discarded-format-only-parsing,parsing,default] +COQC tests/compress_coe.v +File "./examples/FSCD2020_talk/V3.v", line 28, characters 2-118: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +addrC + : commutative add +where +?s : [ |- CMonoid.type] File "./examples/Coq2020_material/CoqWS_demo.v", line 73, characters 0-73: Warning: pulling in dependencies: [CoqWS_demo_CMonoid_of_Type] @@ -1081,13 +1124,13 @@ File "./tests/instance_params_no_type.v", line 5, characters 0-70: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] -File "./tests/instance_params_no_type.v", line 6, characters 0-76: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] forall x y : ?t, x - (y + 0) = x : Prop where ?t : [x : ?t y : ?t |- AbelianGrp.type] (x, y cannot be used) +File "./tests/instance_params_no_type.v", line 6, characters 0-76: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] File "./tests/instance_params_no_type.v", line 7, characters 0-78: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] @@ -1097,11 +1140,11 @@ Arguments list_foo' (P A)%type_scope list_foo' is transparent Expands to: Constant HB.tests.instance_params_no_type.list_foo' +COQC tests/funclass.v nat_foo : forall P : Type, is_foo.axioms_ P nat list_foo : forall P : Type, is_foo.axioms_ P (list P) -COQC tests/log_impargs_record.v foo.type : Type -> Type Record type (P : Type) : Type := Pack @@ -1139,55 +1182,13 @@ Arguments foo.axioms_ (P A)%type_scope Arguments foo.Class (P A)%type_scope instance_params_no_type_is_foo_mixin Arguments foo.instance_params_no_type_is_foo_mixin (P A)%type_scope record -COQC tests/compress_coe.v -list_bar - : forall P : b.type, is_bar.axioms_ P (list P) -forall (G : AbelianGrp.type) (x : G), x - x = 0 - : Prop -forall (S : SemiRing.type) (x : S), x * 1 + 0 = x - : Prop -forall (R : Ring.type) (x y : R), x * - (1 * y) = - x * y - : Prop -COQC tests/funclass.v -forall x y : ?t, 1 + x = y * x - : Prop -where -?t : [x : ?t y : ?t |- SemiRing.type] (x, y cannot be used) -forall x : Z, x * - (1 + x) = 0 + 1 - : Prop -forall (R : Ring.type) (x y : R), 1 * x = y - x - : Prop -forall - (x : join_CoqWS_demo_Ring_between_CoqWS_demo_AbelianGrp_and_CoqWS_demo_SemiRing - ?t) (y : ?t), 1 * x = y - x - : Prop -where -?t : - [x : - join_CoqWS_demo_Ring_between_CoqWS_demo_AbelianGrp_and_CoqWS_demo_SemiRing - ?t - y : ?t |- Ring.type] (x, y cannot be used) -Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. - -Arguments Monoid.Pack sort%type_scope class -Arguments Monoid.sort record -Arguments Monoid.class record -@add - : forall s : Monoid.type, s -> s -> s -@addNr - : forall s : AbelianGroup.type, left_inverse 0 opp add -@addrC - : forall s : AbelianGroup.type, commutative add COQC tests/grefclass.v -forall x : Z, x * - (1 + x) = 0 + 1 - : Prop -add - : A -> A -> A -COQC tests/local_instance.v -COQC tests/lock.v -COQC tests/interleave_context.v -forall x : Z, x * - (1 + x) = 0 + 1 - : Prop +File "./examples/Coq2020_material/CoqWS_abstract.v", line 23, characters 0-71: +Warning: +pulling in dependencies: [CoqWS_abstract_CMonoid_of_Type] + +Please list them or end the declaration with '&' +[HB.implicit-structure-dependency,HB,elpi,default] (* Module A. @@ -1236,7 +1237,7 @@ Notation A X1 := ( A.phant_axioms X1). *) -COQC tests/not_same_key.v +COQC tests/local_instance.v A.p : forall [T : Type] (record : A.axioms_ T) [x : T], A.f record x = x -> True @@ -1245,23 +1246,51 @@ Arguments A.p [T]%type_scope record [x] _ A.p is transparent Expands to: Constant HB.tests.log_impargs_record.A.p -COQC tests/hb_pack.v -COQC tests/declare.v -[1735017318.698259] HB: start module SubInhab -[1735017318.705217] HB: declare axioms record +COQC tests/lock.v +forall x y : ?t, 1 + x = y * x + : Prop +where +?t : [x : ?t y : ?t |- SemiRing.type] (x, y cannot be used) +forall (R : Ring.type) (x y : R), 1 * x = y - x + : Prop +forall + (x : join_CoqWS_demo_Ring_between_CoqWS_demo_AbelianGrp_and_CoqWS_demo_SemiRing + ?t) (y : ?t), 1 * x = y - x + : Prop +where +?t : + [x : + join_CoqWS_demo_Ring_between_CoqWS_demo_AbelianGrp_and_CoqWS_demo_SemiRing + ?t + y : ?t |- Ring.type] (x, y cannot be used) +forall x : Z, x * - (1 + x) = 0 + 1 + : Prop +list_bar + : forall P : b.type, is_bar.axioms_ P (list P) +add + : A -> A -> A +COQC tests/interleave_context.v +forall (G : AbelianGrp.type) (x : G), x - x = 0 + : Prop +forall (S : SemiRing.type) (x : S), x * 1 + 0 = x + : Prop +forall (R : Ring.type) (x y : R), x * - (1 * y) = - x * y + : Prop +[1769427596.861173] HB: start module SubInhab +[1769427596.867297] HB: declare axioms record w-params.cons T (sort (typ «HB.tests.subtype.280»)) c0 \ w-params.cons P (app [global (const «pred»), c0]) c1 \ w-params.nil sT (sort (typ «HB.tests.subtype.282»)) c2 \ [triple (indt «is_inhab.axioms_») [] c2, triple (indt «is_SUB.axioms_») [c0, c1] c2] -[1735017318.705746] HB: typing class field indt «is_inhab.axioms_» -[1735017318.706114] HB: typing class field indt «is_SUB.axioms_» -[1735017318.708095] HB: declare type record -[1735017318.714607] HB: structure: new mixins [] -[1735017318.714882] HB: structure: mixin first class [] -[1735017318.714998] HB: declaring clone abbreviation -[1735017318.717716] HB: declaring pack_ constant -[1735017318.721808] HB: declaring pack_ constant = +[1769427596.867823] HB: typing class field indt «is_inhab.axioms_» +[1769427596.868157] HB: typing class field indt «is_SUB.axioms_» +[1769427596.870081] HB: declare type record +[1769427596.876825] HB: structure: new mixins [] +[1769427596.877118] HB: structure: mixin first class [] +[1769427596.877225] HB: declaring clone abbreviation +[1769427596.880441] HB: declaring pack_ constant +[1769427596.887874] HB: declaring pack_ constant = fun `T` (sort (typ «axioms_.u0»)) c0 \ fun `P` (app [global (const «pred»), c0]) c1 \ fun `sT` (sort (typ «axioms_.u1»)) c2 \ @@ -1270,51 +1299,66 @@ app [global (indc «Pack»), c0, c1, c2, app [global (indc «Class»), c0, c1, c2, c3, c4]] -[1735017318.729711] HB: start module Exports -[1735017318.733238] HB: making coercion from type to target -[1735017318.733465] HB: declare sort coercion -[1735017318.733668] HB: exporting unification hints -[1735017318.734344] HB: declare coercion subtype_SubInhab__to__subtype_SUB -[1735017318.735099] HB: declare coercion hint +[1769427596.888960] HB: start module Exports +[1769427596.889406] HB: making coercion from type to target +[1769427596.889591] HB: declare sort coercion +[1769427596.889787] HB: exporting unification hints +[1769427596.890500] HB: declare coercion subtype_SubInhab__to__subtype_SUB +forall x : Z, x * - (1 + x) = 0 + 1 + : Prop +[1769427596.891342] HB: declare coercion hint subtype_SubInhab_class__to__subtype_SUB_class -[1735017318.736775] HB: declare unification hint +[1769427596.893091] HB: declare unification hint subtype_SubInhab__to__subtype_SUB -[1735017318.742984] HB: declare coercion subtype_SubInhab__to__subtype_Inhab -[1735017318.743858] HB: declare coercion hint +[1769427596.899243] HB: declare coercion subtype_SubInhab__to__subtype_Inhab +[1769427596.899942] HB: declare coercion hint subtype_SubInhab_class__to__subtype_Inhab_class -[1735017318.745794] HB: declare unification hint +[1769427596.901724] HB: declare unification hint subtype_SubInhab__to__subtype_Inhab -[1735017318.759203] HB: declare unification hint +[1769427596.908168] HB: declare unification hint join_subtype_SubInhab_between_subtype_Inhab_and_subtype_SUB -[1735017318.761385] HB: exporting coercions from class to mixins -[1735017318.761802] HB: export class to mixin coercion for mixin +[1769427596.910348] HB: exporting coercions from class to mixins +[1769427596.915324] HB: export class to mixin coercion for mixin subtype_is_inhab -[1735017318.769685] HB: export class to mixin coercion for mixin +[1769427596.916146] HB: export class to mixin coercion for mixin subtype_is_SUB -[1735017318.777587] HB: accumulating various props -[1735017318.778536] HB: stop module Exports -[1735017318.780318] HB: declaring on_ abbreviation -[1735017318.782859] HB: declaring `copy` abbreviation -[1735017318.783911] HB: declaring on abbreviation -[1735017318.785205] HB: end modules; export +[1769427596.916795] HB: accumulating various props +[1769427596.917605] HB: stop module Exports +COQC tests/not_same_key.v +forall x : Z, x * - (1 + x) = 0 + 1 + : Prop +[1769427596.923266] HB: declaring on_ abbreviation +[1769427596.925805] HB: declaring `copy` abbreviation +[1769427596.926720] HB: declaring on abbreviation +[1769427596.932212] HB: end modules; export «HB.tests.subtype.SubInhab.Exports» -[1735017318.790782] HB: exporting operations -[1735017318.797210] HB: operations meta-data module: ElpiOperations -[1735017318.797989] HB: abbreviation factory-by-classname -COQC tests/short.v -id : forall {T : Type}, Monoid.type T -> T +[1769427596.934090] HB: exporting operations +[1769427596.934431] HB: operations meta-data module: ElpiOperations +[1769427596.935102] HB: abbreviation factory-by-classname +COQC tests/hb_pack.v +COQC tests/declare.v +Datatypes_prod__canonical__compress_coe_D = +fun D D' : D.type => +{| + D.sort := D.sort D * D.sort D'; + D.class := + {| + D.compress_coe_hasA_mixin := + prodA (compress_coe_D__to__compress_coe_A D) + (compress_coe_D__to__compress_coe_A D'); + D.compress_coe_hasB_mixin := + prodB tt (compress_coe_D__to__compress_coe_B D) + (compress_coe_D__to__compress_coe_B D'); + D.compress_coe_hasC_mixin := + prodC tt tt (compress_coe_D__to__compress_coe_C D) + (compress_coe_D__to__compress_coe_C D'); + D.compress_coe_hasD_mixin := prodD D D' + |} +|} + : D.type -> D.type -> D.type -id is not universe polymorphic -Arguments id {T}%type_scope {s} -id is transparent -Expands to: Constant HB.tests.funclass.id -p : pred nat - : pred nat -Monoid.phant_on_ nat Nat_add__canonical__funclass_Monoid - (Phantom (nat -> nat -> nat) Nat_add__canonical__funclass_Monoid) -: -Monoid.axioms_ nat Init.Nat.add - : Monoid.axioms_ nat Init.Nat.add +Arguments Datatypes_prod__canonical__compress_coe_D D D' +COQC tests/short.v COQC tests/instance_before_structure.v Notation big := big.body Expands to: Notation HB.tests.lock.X.big @@ -1324,92 +1368,98 @@ big.body is not universe polymorphic Arguments big.body (R I)%type_scope _ _%list_scope _%function_scope Expands to: Constant HB.tests.lock.X.big.body -default : nat - : nat COQC tests/primitive_records.v -The command did fail as expected with message: -The term "default" has type "nonempty.sort ?t" -while it is expected to have type "nat". -COQC tests/non_forgetful_inheritance.v File "./tests/interleave_context.v", line 16, characters 0-52: Warning: pulling in dependencies: [interleave_context_HasA, interleave_context_HasB] Please list them or end the declaration with '&' [HB.implicit-structure-dependency,HB,elpi,default] +p : pred nat + : pred nat +COQC tests/non_forgetful_inheritance.v +id : forall {T : Type}, Monoid.type T -> T + +id is not universe polymorphic +Arguments id {T}%type_scope {s} +id is transparent +Expands to: Constant HB.tests.funclass.id +[1769427597.918467] HB: exporting under the module path [] +[1769427597.918927] HB: exporting modules +[Ring_of_TYPE.Exports, Ring.Exports, RingElpiOperations, RingExports, + Dummy.Exports, URing.Exports, URingElpiOperations, dummy.Exports, + Builders_1.Builders_Export_5] +[1769427597.920431] HB: exporting CS instances +[«Z_ring_axioms», «BinNums_Z__canonical__Enclosing_Ring»] +[1769427597.921101] HB: exporting Abbreviations [addr0, addrNK] +[1769427597.921446] HB: exporting Clauses X0 +forall (R : Enclosing.Ring.type) (x : R), x = x + : Prop +0%G + : ?s +where +?s : [ |- Enclosing.Ring.type] +Enclosing.zero : Z + : Z COQC tests/fix_loop.v +Monoid.phant_on_ nat Nat_add__canonical__funclass_Monoid + (Phantom (nat -> nat -> nat) Nat_add__canonical__funclass_Monoid) +: +Monoid.axioms_ nat Init.Nat.add + : Monoid.axioms_ nat Init.Nat.add COQC tests/test_synthesis_params.v +default : nat + : nat +The command did fail as expected with message: +The term "default" has type "nonempty.sort ?t" +while it is expected to have type "nat". +COQC tests/hnf.v Monoid.phant_on_ nat Nat_mul__canonical__funclass_Monoid (Phantom (nat -> nat -> nat) Nat_mul__canonical__funclass_Monoid) : Monoid.axioms_ nat Init.Nat.mul : Monoid.axioms_ nat Init.Nat.mul -[1735017320.458970] HB: start module and section hasA -[1735017320.465239] HB: converting arguments +HB.check: forall w : wp.type nat Init.Nat.mul, w = w : Prop +COQC tests/fun_instance.v +COQC tests/issue284.v +[1769427598.298092] HB: start module and section hasA +[1769427598.298524] HB: converting arguments indt-decl (parameter T explicit X0 c0 \ record hasA (sort (typ X1)) Build_hasA (field [coercion off, canonical tt] a c0 c1 \ end-record)) to factories -[1735017320.469043] HB: processing key parameter -[1735017320.469523] HB: converting factories +[1769427598.298714] HB: processing key parameter +[1769427598.299175] HB: converting factories w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] to mixins -[1735017320.469792] HB: declaring context +[1769427598.299433] HB: declaring context w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] -[1735017320.469952] HB: declaring parameters and key as section variables +[1769427598.299674] HB: declaring parameters and key as section variables Here is the list of mixins to declare (the order matters): [] -[1735017320.470389] HB: declare mixin or factory -[1735017320.470486] HB: declare record axioms_ -[1735017320.472583] HB: declare notation Build -[1735017320.473803] HB: declare notation axioms -[1735017320.478981] HB: start module Exports -[1735017320.486570] HB: end modules and sections; export +[1769427598.300314] HB: declare mixin or factory +[1769427598.300486] HB: declare record axioms_ +[1769427598.303185] HB: declare notation Build +[1769427598.304661] HB: declare notation axioms +[1769427598.307161] HB: start module Exports +[1769427598.308970] HB: end modules and sections; export «HB.tests.hb_pack.hasA.Exports» hasA.type not a defined object. hasB.type not a defined object. -HB.check: forall w : wp.type nat Init.Nat.mul, w = w : Prop -[1735017320.664191] HB: exporting under the module path [] -[1735017320.677188] HB: exporting modules -[Ring_of_TYPE.Exports, Ring.Exports, RingElpiOperations, RingExports, - Dummy.Exports, URing.Exports, URingElpiOperations, dummy.Exports, - Builders_1.Builders_Export_5] -[1735017320.678668] HB: exporting CS instances -[«Z_ring_axioms», «BinNums_Z__canonical__Enclosing_Ring»] -[1735017320.679198] HB: exporting Abbreviations [addr0, addrNK] -[1735017320.685196] HB: exporting Clauses X0 -forall (R : Enclosing.Ring.type) (x : R), x = x - : Prop -0%G - : ?s +Query assignments: + Ind = «hasA.axioms_» +Query assignments: + Ind = «A.axioms_» +Query assignments: + Ind = «A.type» +aType + : Type +erefl : ?t = ?t + : ?t = ?t where -?s : [ |- Enclosing.Ring.type] -Enclosing.zero : Z - : Z -COQC tests/hnf.v -COQC tests/fun_instance.v +?t : [ |- Sq.type] hasAB.type not a defined object. +hasB.type not a defined object. hasA'.type not a defined object. -Datatypes_prod__canonical__compress_coe_D = -fun D D' : D.type => -{| - D.sort := D.sort D * D.sort D'; - D.class := - {| - D.compress_coe_hasA_mixin := - prodA (compress_coe_D__to__compress_coe_A D) - (compress_coe_D__to__compress_coe_A D'); - D.compress_coe_hasB_mixin := - prodB tt (compress_coe_D__to__compress_coe_B D) - (compress_coe_D__to__compress_coe_B D'); - D.compress_coe_hasC_mixin := - prodC tt tt (compress_coe_D__to__compress_coe_C D) - (compress_coe_D__to__compress_coe_C D'); - D.compress_coe_hasD_mixin := prodD D D' - |} -|} - : D.type -> D.type -> D.type - -Arguments Datatypes_prod__canonical__compress_coe_D D D' -COQC tests/issue284.v +COQC tests/issue287.v forall T : AB.type, unkeyed {| @@ -1437,13 +1487,17 @@ : T * T AB3 : AB.type : AB.type -COQC tests/issue287.v X : Foo.type A P : Foo.type A P +T : Fun.type nat + : Fun.type nat +hasAB.type not a defined object. +COQC tests/two_hier.v HB: nat is canonically equipped with structures: - s1 (from "./tests/instance_before_structure.v", line 11) +hasA'.type not a defined object. File "./tests/instance_before_structure.v", line 16, characters 0-52: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] @@ -1451,17 +1505,19 @@ - s1 (from "./tests/instance_before_structure.v", line 11) -aType - : Type -hasB.type not a defined object. -Query assignments: -File "./tests/non_forgetful_inheritance.v", line 35, characters 0-45: -Warning: Could not enable unknown warning HB.non-forgetful-inheritance -[unknown-warning,default] - Ind = «hasA.axioms_» +COQC tests/instance_merge_with_param.v HB: nat is canonically equipped with structures: - s1 (from "./tests/instance_before_structure.v", line 11) + +COQC tests/instance_merge_with_distinct_param.v +HB: nat is canonically equipped with structures: + - s1 + (from "./tests/instance_before_structure.v", line 11) +File "./tests/non_forgetful_inheritance.v", line 35, characters 0-45: +Warning: Could not enable unknown warning HB.non-forgetful-inheritance +[unknown-warning,default] + Debug: elpi lets escape exception: non forgetful inheritance detected. You have two solutions: @@ -1477,18 +1533,6 @@ https://github.com/math-comp/hierarchy-builder/blob/master/tests/non_forgetful_inheritance.v to witness devastating effects. [HB.non-forgetful-inheritance,HB,elpi,default] - -Query assignments: - Ind = «A.axioms_» -Query assignments: - Ind = «A.type» -HB: nat is canonically equipped with structures: - - s1 - (from "./tests/instance_before_structure.v", line 11) - -COQC tests/two_hier.v -T : Fun.type nat - : Fun.type nat HB: nat is canonically equipped with structures: - s3 s2 @@ -1502,18 +1546,7 @@ : nat default3 : nat -COQC tests/instance_merge_with_param.v -COQC tests/instance_merge_with_distinct_param.v COQC tests/instance_merge.v -hasAB.type not a defined object. -hasA'.type not a defined object. -COQC tests/unit/enrich_type.v -erefl : ?t = ?t - : ?t = ?t -where -?t : [ |- Sq.type] -COQC tests/unit/mixin_src_has_mixin_instance.v -COQC tests/unit/mk_src_map.v Datatypes_nat__canonical__hnf_S = {| S.sort := nat; S.class := {| S.hnf_M_mixin := HB_unnamed_mixin_8 |} |} : S.type @@ -1526,10 +1559,21 @@ HB_unnamed_mixin_12 = Builders_1.HB_unnamed_factory_3 bool HB_unnamed_factory_9 : M.axioms_ bool +COQC tests/unit/enrich_type.v +COQC tests/unit/mixin_src_has_mixin_instance.v +COQC tests/unit/mk_src_map.v COQC tests/unit/close_hole_term.v COQC tests/unit/struct.v COQC tests/factory_when_notation.v COQC tests/saturate_on.v +nat : s3.type + : s3.type +list nat : s3.type + : s3.type +list (list nat) : s3.type + : s3.type +fun t : s3.type => list t : s3.type + : s3.type -> s3.type COQC tests/bug_435.v HB: list is canonically equipped with structures: - s2 @@ -1537,6 +1581,27 @@ - s1 (from "./tests/instance_merge_with_param.v", line 10) +nat : s3.type + : s3.type +list nat : s3.type + : s3.type +list (list nat) : s3.type + : s3.type +fun t : s3.type => list t : s3.type + : s3.type -> s3.type +COQC tests/bug_447.v +File "./tests/unit/mixin_src_has_mixin_instance.v", line 12, characters 0-57: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +Query assignments: + M1_ = const «m1.phant_axioms» + Y = has-mixin-instance (cs-gref (indt «nat»)) (const «m1.phant_axioms») + (const «nat_m1») +Query assignments: + M1_ = const «m1.phant_axioms» + Y = has-mixin-instance (cs-gref (indt «list»)) (const «m1.phant_axioms») + (const «i1») +COQC tests/unimported_relevant_class.v Query assignments: X = global (indt «nat») Query assignments: @@ -1596,6 +1661,32 @@ Query assignments: +Query assignments: + X = app [global (indt «list»), X0] + X1_ = X1 + Y_ = X0 + Z = fun `x` X1 c0 \ app [global (indt «list»), c0] +Syntactic constraints: + evar (X0) (sort (typ «HB.tests.unit.close_hole_term.2»)) (X0) /* suspended on X0 */ +Universe constraints: +UNIVERSES: + {HB.tests.unit.close_hole_term.3 HB.tests.unit.close_hole_term.2 + HB.tests.unit.close_hole_term.1} |= + HB.tests.unit.close_hole_term.2 < HB.tests.unit.close_hole_term.1 + Set <= HB.tests.unit.close_hole_term.3 + HB.tests.unit.close_hole_term.2 <= HB.tests.unit.close_hole_term.3 + HB.tests.unit.close_hole_term.2 <= list.u0 +ALGEBRAIC UNIVERSES: + {} +FLEXIBLE UNIVERSES: + +SORTS: + α1 := Type +WEAK CONSTRAINTS: + + +nat : s3'.type Datatypes_nat__canonical__two_hier_s3 + : s3'.type Datatypes_nat__canonical__two_hier_s3 A_ = X0 B_ = X1 F_ = X2 @@ -1626,7 +1717,14 @@ WEAK CONSTRAINTS: -COQC tests/bug_447.v +list nat : s3'.type Datatypes_nat__canonical__two_hier_s3 + : s3'.type Datatypes_nat__canonical__two_hier_s3 +Query assignments: +Datatypes_list__canonical__two_hier_s3' + : forall x : s3.type, s3'.type x -> s3'.type x + Z = global (indt «nat») +list (list nat) : s3'.type Datatypes_nat__canonical__two_hier_s3 + : s3'.type Datatypes_nat__canonical__two_hier_s3 HB: list is canonically equipped with structures: - s3 (from "./tests/instance_merge_with_param.v", line 23) @@ -1635,80 +1733,8 @@ - s1 (from "./tests/instance_merge_with_param.v", line 10) -COQC tests/unimported_relevant_class.v -File "./tests/unit/mk_src_map.v", line 6, characters 0-76: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -File "./tests/unit/mk_src_map.v", line 8, characters 0-79: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -list_foo' - : forall P A : Type, is_foo.axioms_ P (list A) -list_foo - : forall P : Type, is_foo.axioms_ P (list P) -Query assignments: -nat : s3.type - : s3.type - MS = pi c0 \ - pi c1 \ - mixin-src (app [global (indt «list»), c1]) (indt «is_foo.axioms_») - (app [global (const «list_foo»), c0]) :- [coq.unify-eq c0 c1 ok] -Query assignments: - MS' = pi c0 \ - pi c1 \ - pi c2 \ - mixin-src (app [global (indt «list»), c2]) (indt «is_foo.axioms_») - (app [global (const «list_foo'»), c0, c1]) :- [coq.unify-eq c1 c2 ok] -list nat : s3.type - : s3.type -list (list nat) : s3.type - : s3.type -fun t : s3.type => list t : s3.type - : s3.type -> s3.type -COQC tests/unimported_irrelevant_class.v -COQC examples/demo1/test_0_0.v -Query assignments: - H_ = [] -struct_foo1__to__struct_foo = -fun s : foo1.type => {| foo.sort := s; foo.class := foo1.class s |} - : foo1.type -> foo.type (option nat) - -Arguments struct_foo1__to__struct_foo s -struct_foo1__to__struct_foo is a reversible coercion -Query assignments: - X = app [global (indt «list»), X0] - X1_ = X1 - Y_ = X0 - Z = fun `x` X1 c0 \ app [global (indt «list»), c0] -Syntactic constraints: - evar (X0) (sort (typ «HB.tests.unit.close_hole_term.2»)) (X0) /* suspended on X0 */ -Universe constraints: -UNIVERSES: - {HB.tests.unit.close_hole_term.3 HB.tests.unit.close_hole_term.2 - HB.tests.unit.close_hole_term.1} |= - HB.tests.unit.close_hole_term.2 < HB.tests.unit.close_hole_term.1 - Set <= HB.tests.unit.close_hole_term.3 - HB.tests.unit.close_hole_term.2 <= HB.tests.unit.close_hole_term.3 - HB.tests.unit.close_hole_term.2 <= list.u0 -ALGEBRAIC UNIVERSES: - {} -FLEXIBLE UNIVERSES: - -SORTS: - α1 := Type -WEAK CONSTRAINTS: - - Query assignments: - Z = global (indt «nat») -Query assignments: -File "./tests/saturate_on.v", line 5, characters 0-64: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] X = app [global (const «Inj»), X0, X1, X2, X3, X4] -File "./tests/unit/mixin_src_has_mixin_instance.v", line 12, characters 0-57: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] X2_ = X0 X3_ = X1 X4_ = X5 @@ -1760,60 +1786,70 @@ WEAK CONSTRAINTS: -File "./tests/factory_when_notation.v", line 6, characters 0-40: +COQC tests/unimported_irrelevant_class.v +COQC examples/demo1/test_0_0.v +COQC examples/demo1/test_1_0.v +COQC examples/demo1/test_2_0.v +Query assignments: + H_ = [] +struct_foo1__to__struct_foo = +fun s : foo1.type => {| foo.sort := s; foo.class := foo1.class s |} + : foo1.type -> foo.type (option nat) + +Arguments struct_foo1__to__struct_foo s +struct_foo1__to__struct_foo is a reversible coercion +File "./tests/unit/mk_src_map.v", line 6, characters 0-76: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] -nat : s3.type - : s3.type -list nat : s3.type - : s3.type -list (list nat) : s3.type - : s3.type -fun t : s3.type => list t : s3.type - : s3.type -> s3.type +File "./tests/unit/mk_src_map.v", line 8, characters 0-79: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +list_foo' + : forall P A : Type, is_foo.axioms_ P (list A) +list_foo + : forall P : Type, is_foo.axioms_ P (list P) Query assignments: - M1_ = const «m1.phant_axioms» - Y = has-mixin-instance (cs-gref (indt «nat»)) (const «m1.phant_axioms») - (const «nat_m1») + MS = pi c0 \ + pi c1 \ + mixin-src (app [global (indt «list»), c1]) (indt «is_foo.axioms_») + (app [global (const «list_foo»), c0]) :- [coq.unify-eq c0 c1 ok] Query assignments: - M1_ = const «m1.phant_axioms» - Y = has-mixin-instance (cs-gref (indt «list»)) (const «m1.phant_axioms») - (const «i1») -COQC examples/demo1/test_1_0.v -list unit : Pointed.type - : Pointed.type -COQC examples/demo1/test_2_0.v + MS' = pi c0 \ + pi c1 \ + pi c2 \ + mixin-src (app [global (indt «list»), c2]) (indt «is_foo.axioms_») + (app [global (const «list_foo'»), c0, c1]) :- [coq.unify-eq c1 c2 ok] COQC examples/demo1/test_3_0.v +File "./tests/saturate_on.v", line 5, characters 0-64: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] COQC examples/demo1/test_3_3.v +File "./tests/factory_when_notation.v", line 6, characters 0-40: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +list unit : Pointed.type + : Pointed.type COQC examples/demo1/test_4_0.v -nat : s3'.type Datatypes_nat__canonical__two_hier_s3 - : s3'.type Datatypes_nat__canonical__two_hier_s3 -list nat : s3'.type Datatypes_nat__canonical__two_hier_s3 - : s3'.type Datatypes_nat__canonical__two_hier_s3 -Datatypes_list__canonical__two_hier_s3' - : forall x : s3.type, s3'.type x -> s3'.type x -list (list nat) : s3'.type Datatypes_nat__canonical__two_hier_s3 - : s3'.type Datatypes_nat__canonical__two_hier_s3 COQC examples/demo1/test_4_3.v COQC examples/demo1/test_5_0.v -[1735017326.876310] HB: postulating X -[1735017326.895149] HB: declare canonical mixin instance +[1769427601.970568] HB: postulating X +[1769427601.977411] HB: declare canonical mixin instance «HB_unnamed_factory_5» -[1735017326.895804] HB: we can build a bug_435_B2 on unit -[1735017326.896006] HB: declare canonical structure instance +[1769427601.983781] HB: we can build a bug_435_B2 on unit +[1769427601.984110] HB: declare canonical structure instance Datatypes_unit__canonical__bug_435_B2 -[1735017326.896115] HB: structure instance for +[1769427601.984278] HB: structure instance for Datatypes_unit__canonical__bug_435_B2 is {| B2.sort := unit; B2.class := {| B2.bug_435_A2_mixin := HB_unnamed_factory_5 |} |} -[1735017326.913608] HB: structure instance +[1769427601.985714] HB: structure instance Datatypes_unit__canonical__bug_435_B2 declared -[1735017326.914295] HB: we can build a should_work_but_fails_B on unit -[1735017326.914522] HB: declare canonical structure instance +[1769427601.986481] HB: we can build a should_work_but_fails_B on unit +[1769427601.986811] HB: declare canonical structure instance Datatypes_unit__canonical__should_work_but_fails_B -[1735017326.914683] HB: structure instance for +[1769427601.987044] HB: structure instance for Datatypes_unit__canonical__should_work_but_fails_B is {| B.sort := unit; @@ -1823,7 +1859,7 @@ B.bug_435_A2_mixin := HB_unnamed_factory_5 |} |} -[1735017326.915064] HB: closing instance section +[1769427601.987545] HB: closing instance section unit : B.type ?t : B.type ?t where @@ -1837,29 +1873,29 @@ COQC examples/demo2/stage11.v COQC examples/demo3/test_0_0.v COQC examples/demo3/test_1_0.v -COQC examples/demo3/test_2_0.v -COQC tests/exports2.v testTy : JustMixedParam.type ?T : JustMixedParam.type ?T where ?T : [ |- Type] +COQC examples/demo3/test_2_0.v +COQC tests/exports2.v +[1769427603.766159] HB: exporting under the module path [] +[1769427603.766452] HB: exporting modules [] +[1769427603.766702] HB: exporting CS instances [] +[1769427603.766839] HB: exporting Abbreviations [] +[1769427603.766953] HB: exporting Clauses X0 File "./examples/demo2/stage10.v", line 4, characters 0-25: Warning: Hiding binding of key Q to Q_scope [hiding-delimiting-key,parsing,default] -[1735017329.902735] HB: exporting under the module path [] -[1735017329.902844] HB: exporting modules [] -[1735017329.902883] HB: exporting CS instances [] -[1735017329.903031] HB: exporting Abbreviations [] -[1735017329.903069] HB: exporting Clauses X0 -File "./examples/demo2/stage10.v", line 112, characters 2-115: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] File "./examples/demo2/stage11.v", line 3, characters 0-25: Warning: Hiding binding of key Q to Q_scope [hiding-delimiting-key,parsing,default] File "./examples/demo2/stage11.v", line 115, characters 2-100: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] +File "./examples/demo2/stage10.v", line 112, characters 2-115: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] Qcplus_opp_r: forall q : Qc, q + - q = Q2Qc 0 File "./examples/demo2/stage10.v", line 233, characters 0-27: Warning: The default and global localities for this command outside sections @@ -1890,30 +1926,30 @@ disable this warning. [deprecated-tacopt-without-locality,deprecated-since-8.17,deprecated,default] HB: skipping section opening -[1735017333.579348] HB: declare mixin instance +[1769427605.736007] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Uniform_wo_Topology -[1735017333.586246] HB: declare canonical mixin instance +[1769427605.737177] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Uniform_wo_Topology» -[1735017333.587763] HB: declare mixin instance +[1769427605.738367] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Join_TAddAG_Uniform -[1735017333.591673] HB: declare canonical mixin instance +[1769427605.742128] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Join_TAddAG_Uniform» -[1735017333.598228] HB: declare mixin instance +[1769427605.743540] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Join_Uniform_Topology -[1735017333.601224] HB: declare canonical mixin instance +[1769427605.746140] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Join_Uniform_Topology» -[1735017333.606159] HB: declare mixin instance +[1769427605.747455] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_JoinTAddAG_wo_Uniform -[1735017333.608377] HB: declare canonical mixin instance +[1769427605.749352] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_JoinTAddAG_wo_Uniform» -[1735017333.614575] HB: we can build a Stage11_UniformSpace_wo_Topology on +[1769427605.750874] HB: we can build a Stage11_UniformSpace_wo_Topology on Qc -[1735017333.615067] HB: declare canonical structure instance +[1769427605.751312] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology -[1735017333.615359] HB: Giving name HB_unnamed_mixin_46 to mixin instance +[1769427605.751624] HB: Giving name HB_unnamed_mixin_46 to mixin instance Builders_21.Stage11_JoinTAddAG__to__Stage11_Uniform_wo_Topology Qc HB_unnamed_mixin_35 HB_unnamed_mixin_40 HB_unnamed_factory_41 -[1735017333.616575] HB: structure instance for +[1769427605.752808] HB: structure instance for Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology is {| UniformSpace_wo_Topology.sort := Qc; @@ -1923,12 +1959,12 @@ HB_unnamed_mixin_46 |} |} -[1735017333.618182] HB: structure instance +[1769427605.754277] HB: structure instance Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology declared -[1735017333.625943] HB: we can build a Stage11_UniformSpace on Qc -[1735017333.626413] HB: declare canonical structure instance +[1769427605.755193] HB: we can build a Stage11_UniformSpace on Qc +[1769427605.755400] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_UniformSpace -[1735017333.626695] HB: structure instance for +[1769427605.755534] HB: structure instance for Qcanon_Qc__canonical__Stage11_UniformSpace is {| UniformSpace.sort := Qc; @@ -1938,15 +1974,15 @@ UniformSpace.Stage11_Uniform_wo_Topology_mixin := HB_unnamed_mixin_46 |} |} -[1735017333.628220] HB: structure instance +[1769427605.756779] HB: structure instance Qcanon_Qc__canonical__Stage11_UniformSpace declared -[1735017333.629432] HB: we can build a Stage11_TAddAG_wo_Uniform on Qc -[1735017333.629817] HB: declare canonical structure instance +[1769427605.757789] HB: we can build a Stage11_TAddAG_wo_Uniform on Qc +[1769427605.758018] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform -[1735017333.630168] HB: Giving name HB_unnamed_mixin_47 to mixin instance +[1769427605.758229] HB: Giving name HB_unnamed_mixin_47 to mixin instance Builders_21.to_JoinTAddAG_wo_Uniform Qc HB_unnamed_mixin_35 HB_unnamed_mixin_40 HB_unnamed_factory_41 -[1735017333.631541] HB: structure instance for +[1769427605.759630] HB: structure instance for Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform is {| TAddAG_wo_Uniform.sort := Qc; @@ -1958,12 +1994,12 @@ HB_unnamed_mixin_47 |} |} -[1735017333.638197] HB: structure instance +[1769427605.760917] HB: structure instance Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform declared -[1735017333.639808] HB: we can build a Stage11_Uniform_TAddAG_unjoined on Qc -[1735017333.640266] HB: declare canonical structure instance +[1769427605.762279] HB: we can build a Stage11_Uniform_TAddAG_unjoined on Qc +[1769427605.762522] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined -[1735017333.640583] HB: structure instance for +[1769427605.762712] HB: structure instance for Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined is {| Uniform_TAddAG_unjoined.sort := Qc; @@ -1978,18 +2014,18 @@ HB_unnamed_mixin_46 |} |} -[1735017333.642201] HB: structure instance +[1769427605.764252] HB: structure instance Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined declared -[1735017333.651511] HB: we can build a Stage11_TAddAG on Qc -[1735017333.651997] HB: declare canonical structure instance +[1769427605.766497] HB: we can build a Stage11_TAddAG on Qc +[1769427605.766743] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_TAddAG -[1735017333.652389] HB: Giving name HB_unnamed_mixin_48 to mixin instance +[1769427605.767007] HB: Giving name HB_unnamed_mixin_48 to mixin instance Builders_21.Stage11_JoinTAddAG__to__Stage11_Join_Uniform_Topology Qc HB_unnamed_mixin_35 HB_unnamed_mixin_40 HB_unnamed_factory_41 -[1735017333.654125] HB: Giving name HB_unnamed_mixin_49 to mixin instance +[1769427605.768463] HB: Giving name HB_unnamed_mixin_49 to mixin instance Builders_21.Stage11_JoinTAddAG__to__Stage11_Join_TAddAG_Uniform Qc HB_unnamed_mixin_35 HB_unnamed_mixin_40 HB_unnamed_factory_41 -[1735017333.655825] HB: structure instance for +[1769427605.769891] HB: structure instance for Qcanon_Qc__canonical__Stage11_TAddAG is {| TAddAG.sort := Qc; @@ -2003,13 +2039,13 @@ TAddAG.Stage11_Join_TAddAG_Uniform_mixin := HB_unnamed_mixin_49 |} |} -[1735017333.662485] HB: structure instance +[1769427605.771513] HB: structure instance Qcanon_Qc__canonical__Stage11_TAddAG declared entourage : set (set (Qc * Qc)) : set (set (Qc * Qc)) -Finished transaction in 25.034 secs (9.08u,0.819s) (successful) +Finished transaction in 16.327 secs (9.642u,0.641s) (successful) Finished transaction in 0. secs (0.u,0.s) (successful) -Finished transaction in 9.441 secs (8.824u,0.6s) (successful) +Finished transaction in 10.04 secs (9.462u,0.572s) (successful) Module Type new_concept_Locked = Sig @@ -2120,12 +2156,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2284294/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2284294/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/793419 and its subdirectories -I: Current time: Mon Dec 23 17:16:02 -12 2024 -I: pbuilder-time-stamp: 1735017362 +I: removing directory /srv/workspace/pbuilder/2284294 and its subdirectories +I: Current time: Tue Jan 27 01:40:35 +14 2026 +I: pbuilder-time-stamp: 1769427635