Skip to content

Commit

Permalink
that one was easy!
Browse files Browse the repository at this point in the history
  • Loading branch information
MevenBertrand committed Jan 30, 2024
1 parent 89cb044 commit a7498ce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
opam_file:
- 'coq-autosubst-ocaml.opam'
image:
- 'coqorg/coq:8.18.0-ocaml-4.14.1-flambda'
- 'coqorg/coq:8.19.0-ocaml-4.14.1-flambda'
fail-fast: false # don't stop jobs if one fails
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- Maintainer:
- Yannick Forster ([**@yforster**](https://github.com/yforster))
- License: [MIT License](LICENSE)
- Compatible Coq versions: 8.18.0
- Compatible Coq versions: 8.19.0
- Related publication(s):
- Adrian Dapprich's [bachelor thesis](https://www.ps.uni-saarland.de/~dapprich/bachelor.php) (Advisor: Andrej Dudenhefner, Supervisor: Gert Smolka)

Expand Down
2 changes: 1 addition & 1 deletion coq-autosubst-ocaml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license: "MIT"

depends: [
"ocaml" { >= "4.09" & < "4.15" }
"coq" { >= "8.18.0" & < "8.19" }
"coq" { >= "8.19.0" & < "8.20" }
"angstrom" { >= "0.15.0" }
"dune" { >= "2.5" }
"ocamlgraph" { >= "2.0.0" }
Expand Down
1 change: 1 addition & 0 deletions lib/automationGen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module TacGen = struct
rZeta = true;
rDelta = delta;
rConst = consts;
rStrength = Norm ;
} in
let cbn = Genredexpr.Cbn flags in
(CAst.make (TacAtom (TacReduce (cbn, locus_clause))))
Expand Down
6 changes: 3 additions & 3 deletions lib/gallinaGen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ let name_id_ s = Names.Id.of_string s
let lident_ s = CAst.make (name_id_ s)
let name_ s = Names.Name.mk_name (name_id_ s)

let underscore_ = CAst.make Constrexpr.(CHole (None, Namegen.IntroAnonymous))
let underscore_ = CAst.make Constrexpr.(CHole None)
let prop_ = CAst.make Constrexpr.(CSort (Glob_term.UNamed (None,[CProp, 0])))
let type_ = CAst.make Constrexpr.(CSort (Glob_term.UAnonymous { rigid = true }))
let type_ = CAst.make Constrexpr.(CSort (Glob_term.UAnonymous { rigid = UnivRigid }))

let app_ f xs =
Constrexpr_ops.mkAppC (f, xs)
Expand Down Expand Up @@ -91,7 +91,7 @@ let match_ cexpr ?rtype bexprs =
let binder_ ?(implicit=false) ?btype bnames =
let open Constrexpr in
let bk = Default (if implicit then Glob_term.MaxImplicit else Glob_term.Explicit) in
let btype = Option.default (CAst.make @@ CHole (None, Namegen.IntroAnonymous)) btype in
let btype = Option.default (CAst.make @@ CHole None) btype in
CLocalAssum (List.map lname_ bnames, bk, btype)

let binder1_ ?implicit ?btype bname =
Expand Down

0 comments on commit a7498ce

Please sign in to comment.