aboutsummaryrefslogtreecommitdiff
path: root/src/Util/SideConditions/CorePackages.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-07 14:38:48 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-11-07 14:38:48 -0500
commit60c2cf3a365785210619bdc2d45030c3b0d20d7a (patch)
treee8cb11946ea9e68263335650ad910a2401f55462 /src/Util/SideConditions/CorePackages.v
parent6a9fcb91e1e7ae45ede6626bd60592a7cd53a5b0 (diff)
A bit more reorganization of autosolve
This lets other files import evar_package without having to be rebuilt every time a new package alias is added to Autosolve
Diffstat (limited to 'src/Util/SideConditions/CorePackages.v')
-rw-r--r--src/Util/SideConditions/CorePackages.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Util/SideConditions/CorePackages.v b/src/Util/SideConditions/CorePackages.v
new file mode 100644
index 000000000..19612df0a
--- /dev/null
+++ b/src/Util/SideConditions/CorePackages.v
@@ -0,0 +1,16 @@
+Import EqNotations.
+
+Record evar_package {T} (v : T) :=
+ { val : T;
+ evar_package_pf : val = v }.
+Arguments val {T v} _.
+Arguments evar_package_pf {T v} _.
+Record evard_package {s d} (v : s) :=
+ { vald : d;
+ evard_package_pfT : s = d;
+ evard_package_pf : vald = rew evard_package_pfT in v }.
+Arguments vald {s d v} _.
+Arguments evard_package_pfT {s d v} _.
+Arguments evard_package_pf {s d v} _.
+
+Ltac autosolve else_tac := else_tac ().