Diff of the two buildlogs: -- --- b1/build.log 2025-09-12 02:20:09.468778256 +0000 +++ b2/build.log 2025-09-12 02:21:50.440875648 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 14 20:40:03 -12 2026 -I: pbuilder-time-stamp: 1792053603 +I: Current time: Fri Sep 12 16:20:11 +14 2025 +I: pbuilder-time-stamp: 1757643611 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking coq-hierarchy-builder_1.8.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2828891/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3302734/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 Sep 12 02:20 /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/3302734/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3302734/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4cf7d1462318421c921a40d3e8bb4c85' - 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='2828891' - PS1='# ' - PS2='> ' + INVOCATION_ID=5a08dfd8dc4849a3b9b0e41c0d326174 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3302734 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.9F4Hxw17/pbuilderrc_WnoZ --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9F4Hxw17/b1 --logfile b1/build.log coq-hierarchy-builder_1.8.1-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.9F4Hxw17/pbuilderrc_5gJB --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9F4Hxw17/b2 --logfile b2/build.log coq-hierarchy-builder_1.8.1-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2828891/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3302734/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -195,7 +227,7 @@ Get: 78 http://deb.debian.org/debian forky/main amd64 libelpi-ocaml-dev amd64 2.0.7-1+b2 [15.3 MB] Get: 79 http://deb.debian.org/debian forky/main amd64 libcoq-elpi amd64 2.5.0-1.1+b1 [12.3 MB] Get: 80 http://deb.debian.org/debian forky/main amd64 wdiff amd64 1.2.2-9 [122 kB] -Fetched 354 MB in 15s (23.9 MB/s) +Fetched 354 MB in 4s (98.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 21054 files and directories currently installed.) @@ -467,8 +499,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Oct 15 08:41:43 UTC 2026. -Universal Time is now: Thu Oct 15 08:41:43 UTC 2026. +Local time is now: Fri Sep 12 02:21:14 UTC 2025. +Universal Time is now: Fri Sep 12 02:21:14 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -542,7 +574,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/coq-hierarchy-builder-1.8.1/ && 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.1-1_source.changes +I: user script /srv/workspace/pbuilder/3302734/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3302734/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/coq-hierarchy-builder-1.8.1/ && 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.1-1_source.changes dpkg-buildpackage: info: source package coq-hierarchy-builder dpkg-buildpackage: info: source version 1.8.1-1 dpkg-buildpackage: info: source distribution unstable @@ -571,7 +607,7 @@ dh_ocamlinit dh_auto_configure dh_auto_build - make -j16 "INSTALL=install --strip-program=true" + make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' make config make[2]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' @@ -595,8 +631,8 @@ make -f Makefile.test-suite.coq make[3]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' COQDEP VFILES -COQC examples/readme.v COQC examples/hulk.v +COQC examples/readme.v COQC examples/demo1/hierarchy_0.v COQC examples/demo1/hierarchy_1.v COQC examples/demo1/hierarchy_2.v @@ -607,10 +643,6 @@ COQC examples/demo3/hierarchy_0.v COQC examples/demo3/hierarchy_1.v COQC examples/demo3/hierarchy_2.v -COQC examples/demo4/hierarchy_0.v -COQC examples/demo5/hierarchy_0.v -COQC examples/FSCD2020_material/V1.v -COQC examples/FSCD2020_material/V2.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 @@ -628,8 +660,8 @@ 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] -[1792053724.460022] HB: start module and section AddComoid_of_Type -[1792053724.460449] HB: converting arguments +[1757643685.361503] HB: start module and section AddComoid_of_Type +[1757643685.361716] HB: converting arguments indt-decl (parameter A explicit X0 c0 \ record AddComoid_of_Type (sort (typ X1)) Build_AddComoid_of_Type @@ -654,23 +686,24 @@ (prod `x` (X9 c4) c5 \ app [global (indt «eq»), X10 c4 c5, app [c2, c1, c5], c5]) c5 \ end-record)) to factories -[1792053724.466583] HB: processing key parameter -[1792053724.474924] HB: converting factories +[1757643685.362156] HB: processing key parameter +[1757643685.362530] HB: converting factories w-params.nil A (sort (typ «HB.examples.readme.2»)) c0 \ [] to mixins -[1792053724.475220] HB: declaring context +[1757643685.362605] HB: declaring context w-params.nil A (sort (typ «HB.examples.readme.2»)) c0 \ [] -[1792053724.475491] HB: declaring parameters and key as section variables +[1757643685.362727] HB: declaring parameters and key as section variables Here is the list of mixins to declare (the order matters): [] -[1792053724.476434] HB: declare mixin or factory -[1792053724.476529] HB: declare record axioms_ -[1792053724.504636] HB: declare notation Build -[1792053724.531767] HB: declare notation axioms -[1792053724.548482] HB: start module Exports -[1792053724.556627] HB: end modules and sections; export -«HB.examples.readme.AddComoid_of_Type.Exports» -File "./examples/demo1/hierarchy_5.v", line 39, characters 2-97: +[1757643685.363173] HB: declare mixin or factory +[1757643685.363219] HB: declare record axioms_ +COQC examples/demo4/hierarchy_0.v +[1757643685.368255] HB: declare notation Build +[1757643685.372438] HB: declare notation axioms +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] +[1757643685.375527] HB: start module Exports +[1757643685.377502] HB: end modules and sections; export +«HB.examples.readme.AddComoid_of_Type.Exports» (* Module AddComoid_of_Type. @@ -726,84 +759,66 @@ Notation AddComoid_of_Type X1 := ( AddComoid_of_Type.phant_axioms X1). *) +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] 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] -[1792053724.611893] HB: begin module for builders -[1792053724.612169] HB: begin module Super -[1792053724.612296] HB: ended module Super -[1792053724.612610] HB: postulating factories -[1792053724.612761] HB: processing key context-item -[1792053724.613265] HB: processing mixin parameter a -[1792053724.613640] HB: declaring parameters and key as section variables +[1757643685.388945] HB: begin module for builders +[1757643685.389187] HB: begin module Super +[1757643685.389285] HB: ended module Super +[1757643685.389475] HB: postulating factories +[1757643685.389585] HB: processing key context-item +[1757643685.389803] HB: processing mixin parameter a +[1757643685.390110] HB: declaring parameters and key as section variables Here is the list of mixins to declare (the order matters): [] -[1792053724.632631] HB: start module AddComoid -[1792053724.632852] HB: declare axioms record +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] +[1757643685.396302] HB: start module AddComoid +[1757643685.396571] HB: declare axioms record w-params.nil A (sort (typ «HB.examples.readme.25»)) c0 \ [triple (indt «AddComoid_of_Type.axioms_») [] c0] -[1792053724.638353] HB: typing class field +[1757643685.396814] HB: typing class field indt «AddComoid_of_Type.axioms_» -[1792053724.643985] HB: declare type record -[1792053724.645616] HB: structure: new mixins +[1757643685.398456] HB: declare type record +[1757643685.399936] HB: structure: new mixins [indt «AddComoid_of_Type.axioms_»] -[1792053724.654283] HB: structure: mixin first class +[1757643685.400051] HB: structure: mixin first class [mixin-first-class (indt «AddComoid_of_Type.axioms_») (indt «axioms_»)] -[1792053724.654451] HB: declaring clone abbreviation -[1792053724.658053] HB: declaring pack_ constant -[1792053724.662544] HB: declaring pack_ constant = +[1757643685.400144] HB: declaring clone abbreviation +[1757643685.404308] HB: declaring pack_ constant +[1757643685.404912] 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]] -[1792053724.663375] HB: start module Exports -[1792053724.670512] HB: making coercion from type to target -[1792053724.670635] HB: declare sort coercion -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] -[1792053724.670905] HB: exporting unification hints -[1792053724.671306] HB: exporting coercions from class to mixins -[1792053724.671535] HB: export class to mixin coercion for mixin +[1757643685.405890] HB: start module Exports +[1757643685.406139] HB: making coercion from type to target +[1757643685.406231] HB: declare sort coercion +[1757643685.406465] HB: exporting unification hints +[1757643685.406676] HB: exporting coercions from class to mixins +[1757643685.406871] HB: export class to mixin coercion for mixin readme_AddComoid_of_Type -[1792053724.671826] HB: accumulating various props -[1792053724.673025] HB: stop module Exports -inhab - : ?s -where -?T : [ |- Type] -?s : [ |- s1.type ?T] -[1792053724.682698] HB: declaring on_ abbreviation -[1792053724.685180] HB: declaring `copy` abbreviation -[1792053724.685960] HB: declaring on abbreviation -[1792053724.691306] HB: end modules; export +[1757643685.407236] HB: accumulating various props +[1757643685.407803] HB: stop module Exports +[1757643685.408176] HB: declaring on_ abbreviation +[1757643685.410307] HB: declaring `copy` abbreviation +[1757643685.411183] HB: declaring on abbreviation +[1757643685.412240] HB: end modules; export «HB.examples.readme.AddComoid.Exports» -[1792053724.691783] HB: exporting operations -[1792053724.699579] HB: export operation zero -[1792053724.708766] HB: export operation add -[1792053724.715551] HB: export operation addrA -eq_refl : inhab = 7 - : inhab = 7 -COQC examples/FSCD2020_material/V3.v -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] -eq_refl : inhab = (7 :: nil)%list - : inhab = (7 :: nil)%list -where -?T : [ |- Type] -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] -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] -COQC examples/FSCD2020_material/V4.v -[1792053725.022532] HB: export operation addrC -[1792053725.024380] HB: export operation add0r -File "./examples/demo5/hierarchy_0.v", line 68, characters 2-109: +[1757643685.412675] HB: exporting operations +[1757643685.413583] HB: export operation zero +[1757643685.415557] HB: export operation add +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] -[1792053725.031277] HB: operations meta-data module: ElpiOperations -[1792053725.032184] HB: abbreviation factory-by-classname +[1757643685.418083] HB: export operation addrA +COQC examples/demo5/hierarchy_0.v +[1757643685.497632] HB: export operation addrC +[1757643685.499173] HB: export operation add0r +[1757643685.500003] HB: operations meta-data module: ElpiOperations +[1757643685.500725] HB: abbreviation factory-by-classname (* Module AddComoid. @@ -900,11 +915,20 @@ *) forall (M : AddComoid.type) (x : M), x + x = 0 : Prop -COQC examples/FSCD2020_talk/V1.v -COQC examples/FSCD2020_talk/V2.v -File "./examples/demo1/hierarchy_2.v", line 39, characters 2-91: +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] +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_4.v", line 69, characters 2-91: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] +COQC examples/FSCD2020_material/V1.v AbelianGrp.phant_on_ BinNums_Z__canonical__readme_AbelianGrp (Phant BinNums_Z__canonical__readme_AbelianGrp) : @@ -916,13 +940,58 @@ - AddComoid (from "./examples/readme.v", line 31) +[1757643685.617292] HB: declare builder from hierarchy_2_Ring_of_AddComoid +to hierarchy_2_AddAG_of_AddComoid +[1757643685.617450] 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 +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] +COQC examples/FSCD2020_material/V4.v +COQC examples/FSCD2020_talk/V1.v +HB: A is canonically equipped with structures: + - Equality + Singleton + (from "./examples/hulk.v", line 216) + +COQC examples/FSCD2020_talk/V2.v +inhab + : ?s +where +?T : [ |- Type] +?s : [ |- s1.type ?T] +eq_refl : inhab = 7 + : inhab = 7 +eq_refl : inhab = (7 :: nil)%list + : inhab = (7 :: nil)%list +where +?T : [ |- Type] +COQC examples/FSCD2020_talk/V3.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/V3.v -File "./examples/demo1/hierarchy_5.v", line 68, characters 2-91: +COQC examples/Coq2020_material/CoqWS_demo.v +COQC examples/Coq2020_material/CoqWS_abstract.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] +HB.check: +SemiRing_of_AddComoid.axioms_ +: +forall (A : Type) (m : AddMonoid_of_TYPE.axioms_ A), +AddComoid_of_AddMonoid.axioms_ A m -> Type +: +forall (A : Type) (m : AddMonoid_of_TYPE.axioms_ A), +AddComoid_of_AddMonoid.axioms_ A m -> Type +COQC examples/Coq2020_material/CoqWS_expansion/withHB.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] Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. @@ -934,8 +1003,15 @@ : forall s : Monoid.type, s -> s -> s @addNr : forall s : Ring.type, left_inverse 0 opp add -COQC examples/Coq2020_material/CoqWS_demo.v -COQC examples/Coq2020_material/CoqWS_abstract.v +COQC examples/Coq2020_material/CoqWS_expansion/withoutHB.v +COQC tests/type_of_exported_ops.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] +COQC tests/duplicate_structure.v Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. Arguments Monoid.Pack sort%type_scope class @@ -947,35 +1023,15 @@ : forall s : AbelianGroup.type, left_inverse 0 opp add @addrC : forall s : AbelianGroup.type, commutative add -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/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/Coq2020_material/CoqWS_expansion/withHB.v -COQC examples/Coq2020_material/CoqWS_expansion/withoutHB.v -HB: A is canonically equipped with structures: - - Equality - Singleton - (from "./examples/hulk.v", line 216) - -COQC tests/type_of_exported_ops.v -COQC tests/duplicate_structure.v +addrC + : commutative add +where +?s : [ |- CMonoid.type] COQC tests/instance_params_no_type.v -[1792053726.271208] HB: declare builder from hierarchy_2_Ring_of_AddComoid -to hierarchy_2_AddAG_of_AddComoid -[1792053726.271340] HB: declare builder from hierarchy_2_Ring_of_AddComoid -to hierarchy_2_Ring_of_AddAG +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/test_CS_db_filtering.v -COQC tests/subtype.v Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. Arguments Monoid.Pack sort%type_scope class @@ -987,7 +1043,41 @@ : forall s : AbelianGroup.type, left_inverse 0 opp add @addrC : forall s : AbelianGroup.type, commutative add +add + : ?s -> ?s -> ?s +where +?s : [ |- CMonoid.type] +addrC + : commutative add +where +?s : [ |- CMonoid.type] +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 +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 +File "./examples/Coq2020_material/CoqWS_demo.v", line 73, characters 0-73: +Warning: +pulling in dependencies: [CoqWS_demo_CMonoid_of_Type] + +Please list them or end the declaration with '&' +[HB.implicit-structure-dependency,HB,elpi,default] +forall x : Z, x * - (1 + x) = 0 + 1 + : Prop +forall x y : ?t, x - (y + 0) = x + : Prop +where +?t : [x : ?t y : ?t |- AbelianGrp.type] (x, y cannot be used) +COQC tests/log_impargs_record.v Record type : Type := Pack { sort : Type; class : Monoid.axioms_ sort }. Arguments Monoid.Pack sort%type_scope class @@ -999,8 +1089,12 @@ : forall s : AbelianGroup.type, left_inverse 0 opp add @addrC : forall s : AbelianGroup.type, commutative add -COQC tests/log_impargs_record.v COQC tests/compress_coe.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] +COQC tests/funclass.v +COQC tests/grefclass.v 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] @@ -1010,44 +1104,24 @@ 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] -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] list_foo' : forall P A : Type, is_foo.axioms_ P (list A) list_foo' is not universe polymorphic Arguments list_foo' (P A)%type_scope list_foo' is transparent Expands to: Constant HB.tests.instance_params_no_type.list_foo' -add - : ?s -> ?s -> ?s -where -?s : [ |- CMonoid.type] -addrC - : commutative add -where -?s : [ |- CMonoid.type] -HB.check: -SemiRing_of_AddComoid.axioms_ -: -forall (A : Type) (m : AddMonoid_of_TYPE.axioms_ A), -AddComoid_of_AddMonoid.axioms_ A m -> Type -: -forall (A : Type) (m : AddMonoid_of_TYPE.axioms_ A), -AddComoid_of_AddMonoid.axioms_ A m -> Type +COQC tests/local_instance.v +COQC tests/lock.v nat_foo : forall P : Type, is_foo.axioms_ P nat list_foo : forall P : Type, is_foo.axioms_ P (list P) -addrC - : commutative add -where -?s : [ |- CMonoid.type] foo.type : Type -> Type +forall x y : ?t, 1 + x = y * x + : Prop +where +?t : [x : ?t y : ?t |- SemiRing.type] (x, y cannot be used) Record type (P : Type) : Type := Pack { sort : Type; class : foo.axioms_ P sort }. @@ -1055,7 +1129,6 @@ Arguments foo.Pack (P sort)%type_scope class Arguments foo.sort P%type_scope record Arguments foo.class P%type_scope record -COQC tests/funclass.v Module foo := Struct @@ -1084,116 +1157,6 @@ 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/grefclass.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/local_instance.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] -[1792053728.029565] HB: start module SubInhab -[1792053728.029983] 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] -[1792053728.030358] HB: typing class field indt «is_inhab.axioms_» -[1792053728.030639] HB: typing class field indt «is_SUB.axioms_» -[1792053728.032243] HB: declare type record -[1792053728.033736] HB: structure: new mixins [] -[1792053728.033869] HB: structure: mixin first class [] -[1792053728.033992] HB: declaring clone abbreviation -[1792053728.036934] HB: declaring pack_ constant -[1792053728.037628] 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 \ - fun `m` (app [global (indt «is_inhab.axioms_»), c2]) c3 \ - fun `m` (app [global (indt «is_SUB.axioms_»), c0, c1, c2]) c4 \ - app - [global (indc «Pack»), c0, c1, c2, - app [global (indc «Class»), c0, c1, c2, c3, c4]] -[1792053728.038269] HB: start module Exports -[1792053728.038457] HB: making coercion from type to target -[1792053728.038576] HB: declare sort coercion -[1792053728.038709] HB: exporting unification hints -[1792053728.039248] HB: declare coercion subtype_SubInhab__to__subtype_SUB -[1792053728.039760] HB: declare coercion hint -subtype_SubInhab_class__to__subtype_SUB_class -[1792053728.041212] HB: declare unification hint -subtype_SubInhab__to__subtype_SUB -[1792053728.043016] HB: declare coercion subtype_SubInhab__to__subtype_Inhab -[1792053728.043681] HB: declare coercion hint -subtype_SubInhab_class__to__subtype_Inhab_class -[1792053728.045261] HB: declare unification hint -subtype_SubInhab__to__subtype_Inhab -forall (G : AbelianGrp.type) (x : G), x - x = 0 - : Prop -[1792053728.047639] HB: declare unification hint -join_subtype_SubInhab_between_subtype_Inhab_and_subtype_SUB -forall (S : SemiRing.type) (x : S), x * 1 + 0 = x - : Prop -forall (R : Ring.type) (x y : R), x * - (1 * y) = - x * y - : Prop -[1792053728.049500] HB: exporting coercions from class to mixins -[1792053728.049727] HB: export class to mixin coercion for mixin -subtype_is_inhab -[1792053728.050332] HB: export class to mixin coercion for mixin -subtype_is_SUB -[1792053728.050769] HB: accumulating various props -[1792053728.051341] HB: stop module Exports -[1792053728.052903] HB: declaring on_ abbreviation -[1792053728.055026] HB: declaring `copy` abbreviation -[1792053728.055997] HB: declaring on abbreviation -[1792053728.056851] HB: end modules; export -«HB.tests.subtype.SubInhab.Exports» -[1792053728.058033] HB: exporting operations -[1792053728.058274] HB: operations meta-data module: ElpiOperations -[1792053728.058592] HB: abbreviation factory-by-classname -forall x : Z, x * - (1 + x) = 0 + 1 - : Prop -File "./examples/Coq2020_material/CoqWS_demo.v", line 73, characters 0-73: -Warning: -pulling in dependencies: [CoqWS_demo_CMonoid_of_Type] - -Please list them or end the declaration with '&' -[HB.implicit-structure-dependency,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) -COQC tests/lock.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] -COQC tests/interleave_context.v -COQC tests/not_same_key.v -COQC tests/hb_pack.v -COQC tests/declare.v -list_bar - : forall P : b.type, is_bar.axioms_ P (list P) -COQC tests/short.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 -forall x y : ?t, 1 + x = y * x - : Prop -where -?t : [x : ?t y : ?t |- SemiRing.type] (x, y cannot be used) -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/instance_before_structure.v forall (R : Ring.type) (x y : R), 1 * x = y - x : Prop forall @@ -1210,19 +1173,13 @@ : Prop add : A -> A -> A -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 forall x : Z, x * - (1 + x) = 0 + 1 : Prop -HB.check: forall w : wp.type nat Init.Nat.mul, w = w : Prop -p : pred nat - : pred nat -COQC tests/primitive_records.v -COQC tests/non_forgetful_inheritance.v -COQC tests/fix_loop.v +list_bar + : forall P : b.type, is_bar.axioms_ P (list P) +COQC tests/interleave_context.v +COQC tests/not_same_key.v +COQC tests/hb_pack.v (* Module A. @@ -1271,7 +1228,54 @@ Notation A X1 := ( A.phant_axioms X1). *) -COQC tests/test_synthesis_params.v +[1757643687.415163] HB: start module SubInhab +[1757643687.415347] 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] +[1757643687.415509] HB: typing class field indt «is_inhab.axioms_» +[1757643687.415620] HB: typing class field indt «is_SUB.axioms_» +[1757643687.416729] HB: declare type record +[1757643687.417625] HB: structure: new mixins [] +[1757643687.417683] HB: structure: mixin first class [] +[1757643687.417711] HB: declaring clone abbreviation +[1757643687.419361] HB: declaring pack_ constant +[1757643687.419844] 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 \ + fun `m` (app [global (indt «is_inhab.axioms_»), c2]) c3 \ + fun `m` (app [global (indt «is_SUB.axioms_»), c0, c1, c2]) c4 \ + app + [global (indc «Pack»), c0, c1, c2, + app [global (indc «Class»), c0, c1, c2, c3, c4]] +[1757643687.420282] HB: start module Exports +[1757643687.420397] HB: making coercion from type to target +[1757643687.420450] HB: declare sort coercion +[1757643687.420527] HB: exporting unification hints +[1757643687.420905] HB: declare coercion subtype_SubInhab__to__subtype_SUB +[1757643687.421258] HB: declare coercion hint +subtype_SubInhab_class__to__subtype_SUB_class +[1757643687.422129] HB: declare unification hint +subtype_SubInhab__to__subtype_SUB +[1757643687.423312] HB: declare coercion subtype_SubInhab__to__subtype_Inhab +[1757643687.423675] HB: declare coercion hint +subtype_SubInhab_class__to__subtype_Inhab_class +[1757643687.424576] HB: declare unification hint +subtype_SubInhab__to__subtype_Inhab +[1757643687.425802] HB: declare unification hint +join_subtype_SubInhab_between_subtype_Inhab_and_subtype_SUB +[1757643687.426977] HB: exporting coercions from class to mixins +[1757643687.427183] HB: export class to mixin coercion for mixin +subtype_is_inhab +[1757643687.427581] HB: export class to mixin coercion for mixin +subtype_is_SUB +[1757643687.427917] HB: accumulating various props +[1757643687.428390] HB: stop module Exports +[1757643687.429440] HB: declaring on_ abbreviation +[1757643687.430822] HB: declaring `copy` abbreviation A.p : forall [T : Type] (record : A.axioms_ T) [x : T], A.f record x = x -> True @@ -1280,13 +1284,19 @@ Arguments A.p [T]%type_scope record [x] _ A.p is transparent Expands to: Constant HB.tests.log_impargs_record.A.p -COQC tests/hnf.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/fun_instance.v +[1757643687.431511] HB: declaring on abbreviation +[1757643687.432110] HB: end modules; export +«HB.tests.subtype.SubInhab.Exports» +[1757643687.433115] HB: exporting operations +[1757643687.433326] HB: operations meta-data module: ElpiOperations +[1757643687.433583] HB: abbreviation factory-by-classname +COQC tests/declare.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 Notation big := big.body Expands to: Notation HB.tests.lock.X.big @@ -1295,39 +1305,29 @@ 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 -[1792053729.798084] HB: start module and section hasA -[1792053729.806410] 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 -[1792053729.806663] HB: processing key parameter -[1792053729.807123] HB: converting factories -w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] to mixins -[1792053729.807296] HB: declaring context -w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] -[1792053729.807520] HB: declaring parameters and key as section variables -Here is the list of mixins to declare (the order matters): [] -[1792053729.808042] HB: declare mixin or factory -[1792053729.808169] HB: declare record axioms_ -[1792053729.815657] HB: declare notation Build -[1792053729.823580] HB: declare notation axioms -[1792053729.825326] HB: start module Exports -[1792053729.826347] HB: end modules and sections; export -«HB.tests.hb_pack.hasA.Exports» -hasA.type not a defined object. -COQC tests/issue284.v -COQC tests/issue287.v -hasB.type not a defined object. -[1792053730.084385] HB: exporting under the module path [] -[1792053730.087680] HB: exporting modules +COQC tests/short.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 +p : pred nat + : pred nat +COQC tests/instance_before_structure.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". +[1757643687.615832] HB: exporting under the module path [] +[1757643687.616156] HB: exporting modules [Ring_of_TYPE.Exports, Ring.Exports, RingElpiOperations, RingExports, Dummy.Exports, URing.Exports, URingElpiOperations, dummy.Exports, Builders_1.Builders_Export_5] -[1792053730.088935] HB: exporting CS instances +[1757643687.617067] HB: exporting CS instances [«Z_ring_axioms», «BinNums_Z__canonical__Enclosing_Ring»] -[1792053730.098563] HB: exporting Abbreviations [addr0, addrNK] -[1792053730.098840] HB: exporting Clauses X0 +[1757643687.617431] HB: exporting Abbreviations [addr0, addrNK] +[1757643687.617604] HB: exporting Clauses X0 forall (R : Enclosing.Ring.type) (x : R), x = x : Prop 0%G @@ -1336,6 +1336,38 @@ ?s : [ |- Enclosing.Ring.type] Enclosing.zero : Z : Z +COQC tests/primitive_records.v +COQC tests/non_forgetful_inheritance.v +COQC tests/fix_loop.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 +HB.check: forall w : wp.type nat Init.Nat.mul, w = w : Prop +COQC tests/test_synthesis_params.v +[1757643687.803335] HB: start module and section hasA +[1757643687.803703] 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 +[1757643687.803830] HB: processing key parameter +[1757643687.804160] HB: converting factories +w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] to mixins +[1757643687.804271] HB: declaring context +w-params.nil T (sort (typ «HB.tests.hb_pack.8»)) c0 \ [] +[1757643687.804401] HB: declaring parameters and key as section variables +Here is the list of mixins to declare (the order matters): [] +[1757643687.804766] HB: declare mixin or factory +[1757643687.804838] HB: declare record axioms_ +[1757643687.805920] HB: declare notation Build +[1757643687.806631] HB: declare notation axioms +[1757643687.807751] HB: start module Exports +[1757643687.808689] HB: end modules and sections; export +«HB.tests.hb_pack.hasA.Exports» +hasA.type not a defined object. +COQC tests/hnf.v Datatypes_prod__canonical__compress_coe_D = fun D D' : D.type => {| @@ -1357,33 +1389,15 @@ : D.type -> D.type -> D.type Arguments Datatypes_prod__canonical__compress_coe_D D D' -HB: nat is canonically equipped with structures: - - s1 - (from "./tests/instance_before_structure.v", line 11) - -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] -COQC tests/two_hier.v -aType - : Type -HB: nat is canonically equipped with structures: - - s1 - (from "./tests/instance_before_structure.v", line 11) - -COQC tests/instance_merge_with_param.v hasB.type not a defined object. -hasAB.type not a defined object. -HB: nat is canonically equipped with structures: - - s1 - (from "./tests/instance_before_structure.v", line 11) - +COQC tests/fun_instance.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] +hasAB.type not a defined object. hasA'.type not a defined object. forall T : AB.type, unkeyed @@ -1398,10 +1412,13 @@ |} |} : Type +aType + : Type A : A.type : A.type A : A.type : A.type +COQC tests/issue284.v AB1 : hasB.phant_axioms A -> AB.type : hasB.phant_axioms A -> AB.type Bm : hasB.phant_axioms A @@ -1412,31 +1429,33 @@ : T * T AB3 : AB.type : AB.type -COQC tests/instance_merge_with_distinct_param.v -Datatypes_nat__canonical__hnf_S = -{| S.sort := nat; S.class := {| S.hnf_M_mixin := HB_unnamed_mixin_8 |} |} - : S.type -HB_unnamed_mixin_8 = -{| M.x := f.y nat HB_unnamed_factory_6 + 1 |} - : M.axioms_ nat -Datatypes_bool__canonical__hnf_S = -{| S.sort := bool; S.class := {| S.hnf_M_mixin := HB_unnamed_mixin_12 |} |} - : S.type -COQC tests/instance_merge.v -HB_unnamed_mixin_12 = -Builders_1.HB_unnamed_factory_3 bool HB_unnamed_factory_9 - : M.axioms_ bool +hasB.type not a defined object. Query assignments: Ind = «hasA.axioms_» -COQC tests/unit/enrich_type.v -COQC tests/unit/mixin_src_has_mixin_instance.v Query assignments: -COQC tests/unit/mk_src_map.v Ind = «A.axioms_» Query assignments: Ind = «A.type» X : Foo.type A P : Foo.type A P +HB: nat is canonically equipped with structures: + - s1 + (from "./tests/instance_before_structure.v", line 11) + +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] +HB: nat is canonically equipped with structures: + - s1 + (from "./tests/instance_before_structure.v", line 11) + +COQC tests/issue287.v +T : Fun.type nat + : Fun.type nat +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] @@ -1455,6 +1474,14 @@ 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] +COQC tests/two_hier.v +erefl : ?t = ?t + : ?t = ?t +where +?t : [ |- Sq.type] +hasAB.type not a defined object. +hasA'.type not a defined object. +COQC tests/instance_merge_with_param.v HB: nat is canonically equipped with structures: - s1 (from "./tests/instance_before_structure.v", line 11) @@ -1472,50 +1499,28 @@ : nat default3 : nat -T : Fun.type nat - : Fun.type nat +COQC tests/instance_merge_with_distinct_param.v +Datatypes_nat__canonical__hnf_S = +{| S.sort := nat; S.class := {| S.hnf_M_mixin := HB_unnamed_mixin_8 |} |} + : S.type +HB_unnamed_mixin_8 = +{| M.x := f.y nat HB_unnamed_factory_6 + 1 |} + : M.axioms_ nat +Datatypes_bool__canonical__hnf_S = +{| S.sort := bool; S.class := {| S.hnf_M_mixin := HB_unnamed_mixin_12 |} |} + : S.type +HB_unnamed_mixin_12 = +Builders_1.HB_unnamed_factory_3 bool HB_unnamed_factory_9 + : M.axioms_ bool +COQC tests/instance_merge.v +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 -erefl : ?t = ?t - : ?t = ?t -where -?t : [ |- Sq.type] COQC tests/bug_435.v -hasAB.type not a defined object. -hasA'.type not a defined object. -COQC tests/bug_447.v -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: - 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] -COQC tests/unimported_irrelevant_class.v -HB: list is canonically equipped with structures: - - s2 - (from "./tests/instance_merge_with_param.v", line 12) - - s1 - (from "./tests/instance_merge_with_param.v", line 10) - -COQC examples/demo1/test_0_0.v Query assignments: X = global (indt «nat») Query assignments: @@ -1605,6 +1610,25 @@ WEAK CONSTRAINTS: +COQC tests/bug_447.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) +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 Query assignments: X = app [global (indt «list»), X0] X1_ = X1 @@ -1631,7 +1655,23 @@ Query assignments: Z = global (indt «nat») -COQC examples/demo1/test_1_0.v +Query assignments: + 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] +HB: list is canonically equipped with structures: + - s2 + (from "./tests/instance_merge_with_param.v", line 12) + - s1 + (from "./tests/instance_merge_with_param.v", line 10) + Query assignments: X = app [global (const «Inj»), X0, X1, X2, X3, X4] X2_ = X0 @@ -1685,16 +1725,6 @@ WEAK CONSTRAINTS: -COQC examples/demo1/test_2_0.v -HB: list is canonically equipped with structures: - - s3 - (from "./tests/instance_merge_with_param.v", line 23) - - s2 - (from "./tests/instance_merge_with_param.v", line 12) - - s1 - (from "./tests/instance_merge_with_param.v", line 10) - -COQC examples/demo1/test_3_0.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] @@ -1702,40 +1732,38 @@ M1_ = const «m1.phant_axioms» Y = has-mixin-instance (cs-gref (indt «nat»)) (const «m1.phant_axioms») (const «nat_m1») -testTy : JustMixedParam.type ?T - : JustMixedParam.type ?T -where -?T : [ |- Type] 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_3_3.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 examples/demo1/test_4_0.v -COQC examples/demo1/test_4_3.v +COQC tests/unimported_relevant_class.v +COQC tests/unimported_irrelevant_class.v +COQC examples/demo1/test_0_0.v +HB: list is canonically equipped with structures: + - s3 + (from "./tests/instance_merge_with_param.v", line 23) + - s2 + (from "./tests/instance_merge_with_param.v", line 12) + - s1 + (from "./tests/instance_merge_with_param.v", line 10) + +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 nat : s3.type : s3.type +COQC examples/demo1/test_1_0.v 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/saturate_on.v", line 5, characters 0-64: -Warning: HB: no new instance is generated -[HB.no-new-instance,HB,elpi,default] -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] -COQC examples/demo1/test_5_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 @@ -1744,41 +1772,37 @@ : 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_5_3.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/saturate_on.v", line 5, characters 0-64: +Warning: HB: no new instance is generated +[HB.no-new-instance,HB,elpi,default] +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] +COQC examples/demo1/test_2_0.v +COQC examples/demo1/test_3_0.v +COQC examples/demo1/test_3_3.v list unit : Pointed.type : Pointed.type -COQC examples/demo2/stage10.v -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 -[1792053734.243396] HB: postulating X -[1792053734.245447] HB: declare canonical mixin instance +COQC examples/demo1/test_4_0.v +COQC examples/demo1/test_4_3.v +[1757643689.295159] HB: postulating X +[1757643689.296632] HB: declare canonical mixin instance «HB_unnamed_factory_5» -[1792053734.245930] HB: we can build a bug_435_B2 on unit -[1792053734.246103] HB: declare canonical structure instance +[1757643689.296990] HB: we can build a bug_435_B2 on unit +[1757643689.297133] HB: declare canonical structure instance Datatypes_unit__canonical__bug_435_B2 -[1792053734.246240] HB: structure instance for +[1757643689.297211] 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 |} |} -[1792053734.247178] HB: structure instance +[1757643689.297913] HB: structure instance Datatypes_unit__canonical__bug_435_B2 declared -[1792053734.247623] HB: we can build a should_work_but_fails_B on unit -[1792053734.247795] HB: declare canonical structure instance +[1757643689.298219] HB: we can build a should_work_but_fails_B on unit +[1757643689.298333] HB: declare canonical structure instance Datatypes_unit__canonical__should_work_but_fails_B -[1792053734.247932] HB: structure instance for +[1757643689.298419] HB: structure instance for Datatypes_unit__canonical__should_work_but_fails_B is {| B.sort := unit; @@ -1788,7 +1812,7 @@ B.bug_435_A2_mixin := HB_unnamed_factory_5 |} |} -[1792053734.248196] HB: closing instance section +[1757643689.298594] HB: closing instance section unit : B.type ?t : B.type ?t where @@ -1797,20 +1821,35 @@ : B.type ?t where ?t : [ |- S.type] +COQC examples/demo1/test_5_0.v +COQC examples/demo1/test_5_3.v +COQC examples/demo2/stage10.v +COQC examples/demo2/stage11.v +testTy : JustMixedParam.type ?T + : JustMixedParam.type ?T +where +?T : [ |- Type] +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 +[1757643690.163698] HB: exporting under the module path [] +[1757643690.163815] HB: exporting modules [] +[1757643690.163870] HB: exporting CS instances [] +[1757643690.163919] HB: exporting Abbreviations [] +[1757643690.163967] HB: exporting Clauses X0 +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/stage10.v", line 4, 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] -[1792053735.301232] HB: exporting under the module path [] -[1792053735.301506] HB: exporting modules [] -[1792053735.301671] HB: exporting CS instances [] -[1792053735.301846] HB: exporting Abbreviations [] -[1792053735.301992] HB: exporting Clauses X0 -File "./examples/demo2/stage11.v", line 3, characters 0-25: -Warning: Hiding binding of key Q to Q_scope -[hiding-delimiting-key,parsing,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 @@ -1823,9 +1862,6 @@ any surrounding modules. If you are fine with the change of semantics, disable this warning. [deprecated-tacopt-without-locality,deprecated-since-8.17,deprecated,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/stage11.v", line 288, characters 2-117: Warning: HB: no new instance is generated [HB.no-new-instance,HB,elpi,default] @@ -1844,30 +1880,30 @@ disable this warning. [deprecated-tacopt-without-locality,deprecated-since-8.17,deprecated,default] HB: skipping section opening -[1792053738.345551] HB: declare mixin instance +[1757643691.289302] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Uniform_wo_Topology -[1792053738.351050] HB: declare canonical mixin instance +[1757643691.289963] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Uniform_wo_Topology» -[1792053738.351947] HB: declare mixin instance +[1757643691.290546] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Join_TAddAG_Uniform -[1792053738.354422] HB: declare canonical mixin instance +[1757643691.292709] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Join_TAddAG_Uniform» -[1792053738.355133] HB: declare mixin instance +[1757643691.293246] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_Join_Uniform_Topology -[1792053738.356828] HB: declare canonical mixin instance +[1757643691.294717] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_Join_Uniform_Topology» -[1792053738.362867] HB: declare mixin instance +[1757643691.295245] HB: declare mixin instance Stage11_JoinTAddAG__to__Stage11_JoinTAddAG_wo_Uniform -[1792053738.364176] HB: declare canonical mixin instance +[1757643691.296257] HB: declare canonical mixin instance «Stage11_JoinTAddAG__to__Stage11_JoinTAddAG_wo_Uniform» -[1792053738.365198] HB: we can build a Stage11_UniformSpace_wo_Topology on +[1757643691.297009] HB: we can build a Stage11_UniformSpace_wo_Topology on Qc -[1792053738.365414] HB: declare canonical structure instance +[1757643691.297105] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology -[1792053738.365586] HB: Giving name HB_unnamed_mixin_46 to mixin instance +[1757643691.297175] 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 -[1792053738.366229] HB: structure instance for +[1757643691.297652] HB: structure instance for Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology is {| UniformSpace_wo_Topology.sort := Qc; @@ -1877,12 +1913,12 @@ HB_unnamed_mixin_46 |} |} -[1792053738.367008] HB: structure instance +[1757643691.298255] HB: structure instance Qcanon_Qc__canonical__Stage11_UniformSpace_wo_Topology declared -[1792053738.367543] HB: we can build a Stage11_UniformSpace on Qc -[1792053738.367736] HB: declare canonical structure instance +[1757643691.298683] HB: we can build a Stage11_UniformSpace on Qc +[1757643691.298774] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_UniformSpace -[1792053738.367910] HB: structure instance for +[1757643691.298840] HB: structure instance for Qcanon_Qc__canonical__Stage11_UniformSpace is {| UniformSpace.sort := Qc; @@ -1892,15 +1928,15 @@ UniformSpace.Stage11_Uniform_wo_Topology_mixin := HB_unnamed_mixin_46 |} |} -[1792053738.368693] HB: structure instance +[1757643691.299414] HB: structure instance Qcanon_Qc__canonical__Stage11_UniformSpace declared -[1792053738.374822] HB: we can build a Stage11_TAddAG_wo_Uniform on Qc -[1792053738.375010] HB: declare canonical structure instance +[1757643691.299849] HB: we can build a Stage11_TAddAG_wo_Uniform on Qc +[1757643691.299934] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform -[1792053738.375206] HB: Giving name HB_unnamed_mixin_47 to mixin instance +[1757643691.300020] 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 -[1792053738.375956] HB: structure instance for +[1757643691.300568] HB: structure instance for Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform is {| TAddAG_wo_Uniform.sort := Qc; @@ -1912,12 +1948,12 @@ HB_unnamed_mixin_47 |} |} -[1792053738.376754] HB: structure instance +[1757643691.301116] HB: structure instance Qcanon_Qc__canonical__Stage11_TAddAG_wo_Uniform declared -[1792053738.377699] HB: we can build a Stage11_Uniform_TAddAG_unjoined on Qc -[1792053738.377917] HB: declare canonical structure instance +[1757643691.301765] HB: we can build a Stage11_Uniform_TAddAG_unjoined on Qc +[1757643691.301851] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined -[1792053738.378123] HB: structure instance for +[1757643691.301941] HB: structure instance for Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined is {| Uniform_TAddAG_unjoined.sort := Qc; @@ -1932,18 +1968,18 @@ HB_unnamed_mixin_46 |} |} -[1792053738.379017] HB: structure instance +[1757643691.302491] HB: structure instance Qcanon_Qc__canonical__Stage11_Uniform_TAddAG_unjoined declared -[1792053738.380639] HB: we can build a Stage11_TAddAG on Qc -[1792053738.380845] HB: declare canonical structure instance +[1757643691.303699] HB: we can build a Stage11_TAddAG on Qc +[1757643691.303801] HB: declare canonical structure instance Qcanon_Qc__canonical__Stage11_TAddAG -[1792053738.381113] HB: Giving name HB_unnamed_mixin_48 to mixin instance +[1757643691.303915] 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 -[1792053738.381992] HB: Giving name HB_unnamed_mixin_49 to mixin instance +[1757643691.304576] 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 -[1792053738.386900] HB: structure instance for +[1757643691.305191] HB: structure instance for Qcanon_Qc__canonical__Stage11_TAddAG is {| TAddAG.sort := Qc; @@ -1957,13 +1993,13 @@ TAddAG.Stage11_Join_TAddAG_Uniform_mixin := HB_unnamed_mixin_49 |} |} -[1792053738.387810] HB: structure instance +[1757643691.305875] HB: structure instance Qcanon_Qc__canonical__Stage11_TAddAG declared entourage : set (set (Qc * Qc)) : set (set (Qc * Qc)) -Finished transaction in 13.862 secs (6.483u,0.766s) (successful) +Finished transaction in 6.731 secs (5.692u,0.862s) (successful) Finished transaction in 0. secs (0.u,0.s) (successful) -Finished transaction in 12.658 secs (6.276u,0.817s) (successful) +Finished transaction in 6.111 secs (5.446u,0.663s) (successful) Module Type new_concept_Locked = Sig @@ -2026,7 +2062,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' dh_auto_install --destdir=debian/tmp/ - make -j16 install DESTDIR=/build/reproducible-path/coq-hierarchy-builder-1.8.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j12 install DESTDIR=/build/reproducible-path/coq-hierarchy-builder-1.8.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' make -f Makefile.coq install make[3]: Entering directory '/build/reproducible-path/coq-hierarchy-builder-1.8.1' @@ -2073,12 +2109,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/3302734/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3302734/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/2828891 and its subdirectories -I: Current time: Wed Oct 14 20:43:08 -12 2026 -I: pbuilder-time-stamp: 1792053788 +I: removing directory /srv/workspace/pbuilder/3302734 and its subdirectories +I: Current time: Fri Sep 12 16:21:49 +14 2025 +I: pbuilder-time-stamp: 1757643709