Guest User

Untitled

a guest
Jul 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. diff --git a/AAC_coq.ml b/AAC_coq.ml
  2. index b3ee180..ea1601e 100644
  3. --- a/AAC_coq.ml
  4. +++ b/AAC_coq.ml
  5. @@ -27,7 +27,7 @@ let init_constant dir s = find_constant contrib_name dir s
  6. in the goal *)
  7. let nowhere =
  8. { Tacexpr.onhyps = Some [];
  9. - Tacexpr.concl_occs = Rawterm.no_occurrences_expr
  10. + Tacexpr.concl_occs = Glob_term.no_occurrences_expr
  11. }
  12.  
  13. let cps_mk_letin
  14. @@ -164,7 +164,7 @@ end
  15.  
  16. module Pos = struct
  17.  
  18. - let path = ["Coq" ; "NArith"; "BinPos"]
  19. + let path = ["Coq" ; "PArith"; "BinPos"]
  20. let typ = lazy (init_constant path "positive")
  21. let xI = lazy (init_constant path "xI")
  22. let xO = lazy (init_constant path "xO")
  23. @@ -578,7 +578,7 @@ let rewrite ?(abort=false)hypinfo subst k =
  24. hypinfo.l2r
  25. Termops.all_occurrences
  26. false
  27. - (rew,Rawterm.NoBindings)
  28. + (rew,Glob_term.NoBindings)
  29. true
  30. else
  31. Tacticals.tclIDTAC
  32. diff --git a/Instances.v b/Instances.v
  33. index bb309fe..c3c9732 100644
  34. --- a/Instances.v
  35. +++ b/Instances.v
  36. @@ -19,7 +19,7 @@ Proof. intros x y ->. reflexivity. Qed.
  37. (* At the moment, all the instances are exported even if they are packaged into modules. Even using LocalInstances in fact*)
  38.  
  39. Module Peano.
  40. - Require Import Arith NArith Max.
  41. + Require Import Arith NArith Max Min.
  42. Instance aac_plus_Assoc : Associative eq plus := plus_assoc.
  43. Instance aac_plus_Comm : Commutative eq plus := plus_comm.
  44.  
  45. @@ -82,7 +82,7 @@ End Lists.
  46.  
  47.  
  48. Module N.
  49. - Require Import NArith Nminmax.
  50. + Require Import NArith.
  51. Open Scope N_scope.
  52. Instance aac_Nplus_Assoc : Associative eq Nplus := Nplus_assoc.
  53. Instance aac_Nplus_Comm : Commutative eq Nplus := Nplus_comm.
Add Comment
Please, Sign In to add comment