Skip to content

Commit a06930d

Browse files
authored
Merge pull request #276 from math-comp/faster-hb-pack
do not unfold letins in instances
2 parents ff2d94f + f11da02 commit a06930d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.nix/config.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
mathcomp-single-planB.job = true;
1313
graph-theory.job = false;
1414
fourcolor.override.version = "master";
15-
odd-order.override.version = "master";
15+
odd-order.override.version = "hirarchy-builder";
1616
mathcomp-finmap.override.version = "#84";
1717
};
1818
in {

HB/pack.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ synth-instance Params KC KS T Tkey [Factory|Factories] Instance :-
4343
synth-instance Params KC KS T Tkey [] Instance :- coq.safe-dest-app Tkey (global _) _, !,
4444
synthesis.under-local-canonical-mixins-of.do! Tkey [
4545
std.assert-ok! (synthesis.infer-all-args-let Params Tkey KC ClassInstance) "HB.pack: cannot infer the instance",
46-
std.append Params [T, {unwind {hd-beta-zeta ClassInstance []}}] InstanceArgs,
46+
std.append Params [T, ClassInstance] InstanceArgs,
4747
Instance = app[global KS | InstanceArgs]
4848
].
4949
synth-instance Params KC KS T Tkey [] Instance :- std.do! [
5050
std.assert-ok! (synthesis.infer-all-args-let Params Tkey KC ClassInstance) "HB.pack: cannot infer the instance",
51-
std.append Params [T, {unwind {hd-beta-zeta ClassInstance []}}] InstanceArgs,
51+
std.append Params [T, ClassInstance] InstanceArgs,
5252
Instance = app[global KS | InstanceArgs]
5353
].
5454

0 commit comments

Comments
 (0)