Skip to content

Commit

Permalink
Fix import in unscoped
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoWinterhalter committed Jul 27, 2024
1 parent 312a13f commit d6195d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions theories/autosubst/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
syntax:
autosubst -f -s ucoq -v ge813 -allfv GAST.sig -o GAST.v -p AST_preamble
autosubst -f -s ucoq -v ge813 -allfv CCAST.sig -o CCAST.v -p AST_preamble
autosubst -no-static -f -s ucoq -v ge813 -allfv GAST.sig -o GAST.v -p AST_preamble
autosubst -no-static -f -s ucoq -v ge813 -allfv CCAST.sig -o CCAST.v -p AST_preamble
6 changes: 3 additions & 3 deletions theories/autosubst/unscoped.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Version: December 11, 2019.
I changed this library a bit to work better with my generated code.
1. I use nat directly instead of defining fin to be nat and using Some/None as S/O
2. I removed the "s, sigma" notation for scons because it interacts with dependent function types "forall x, A"*)
Require Import core.
From GhostTT.autosubst Require Import core.
Require Import Setoid Morphisms Relation_Definitions.

Definition ap {X Y} (f : X -> Y) {x y : X} (p : x = y) : f x = f y :=
Expand Down Expand Up @@ -170,7 +170,7 @@ Module UnscopedNotations.
Include RenNotations.
Include SubstNotations.
Include CombineNotations.

(* Notation "s , sigma" := (scons s sigma) (at level 60, format "s , sigma", right associativity) : subst_scope. *)

Notation "s '..'" := (scons s ids) (at level 1, format "s ..") : subst_scope.
Expand Down Expand Up @@ -210,4 +210,4 @@ Ltac fsimpl :=
(* DONE had to put an underscore as the last argument to scons. This might be an argument against unfolding funcomp *)
| [|- context[funcomp _ (scons _ _)]] => setoid_rewrite scons_comp'; eta_reduce
| [|- context[scons var_zero shift]] => setoid_rewrite scons_eta_id'; eta_reduce
end.
end.

0 comments on commit d6195d3

Please sign in to comment.