Skip to content

Commit 5a320a0

Browse files
committed
1 parent a9987d6 commit 5a320a0

File tree

13 files changed

+29
-28
lines changed

13 files changed

+29
-28
lines changed

apps/derive/elpi/bcongr.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func bo-args term, term, term, list arg -> term.
2020
bo-args (prod N S T) K1 K2 Hs (fun `x` S x\ fun `y` S y\ fun `b` {{bool}} b\ R x y b) :- !,
2121
@pi-decl `x` S x\
2222
@pi-decl `y` S y\
23-
@pi-decl `b` {{ Coq.Init.Datatypes.bool }} b\
23+
@pi-decl `b` {{ Corelib.Init.Datatypes.bool }} b\
2424
@pi-decl Hn (TH x y b) h\
2525
do! [
2626
TH x y b = {{ lib:elpi.reflect (lib:@elpi.eq lp:S lp:x lp:y) lp:b }},

apps/derive/tests-stdlib/test_derive.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Redirect "tmp" Check list_eqb_correct.
6767
Redirect "tmp" Check list_eqb_refl.
6868
(* ---------------------------------------------------- *)
6969

70-
Require Vector.
70+
From Stdlib Require Vector.
7171
Elpi Print derive "elpi.apps.derive.tests/derive".
7272
#[only(eqOK), verbose] derive nat.
7373
Module Vector.

apps/derive/theories/derive/eq.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ From elpi.apps Require Import derive.
1212
From Corelib Require Import PrimInt63 PrimFloat.
1313
From elpi.apps.derive Require Import PrimStringEqb.
1414

15-
Register Coq.Numbers.Cyclic.Int63.PrimInt63.eqb as elpi.derive.eq_unit63.
16-
Register Coq.Floats.PrimFloat.eqb as elpi.derive.eq_float64.
15+
Register Corelib.Numbers.Cyclic.Int63.PrimInt63.eqb as elpi.derive.eq_unit63.
16+
Register Corelib.Floats.PrimFloat.eqb as elpi.derive.eq_float64.
1717

1818
Elpi Db derive.eq.db lp:{{
1919

apps/eltac/tests-stdlib/test_injection.v

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ intro E.
1212
assumption.
1313
Qed.
1414

15-
Require Vector.
16-
Require Import ssreflect Arith.
15+
From Stdlib Require Vector.
16+
From Corelib Require Import ssreflect.
17+
From Stdlib Require Import Arith.
1718

1819
Elpi derive.projK Vector.t.
1920

@@ -28,4 +29,4 @@ split.
2829
exact Eab.
2930
rewrite -[v2](projT2_eq Esigv12) /=.
3031
by rewrite (UIP_nat _ _ (projT1_eq Esigv12) (eq_refl n)).
31-
Qed.
32+
Qed.

apps/tc/tests-stdlib/bigTest.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ abstract interfaces for ordered structures, sets, and various other data
77
structures. *)
88

99
(* We want to ensure that [le] and [lt] refer to operations on [nat].
10-
These two functions being defined both in [Coq.Bool] and in [Coq.Peano],
11-
we must export [Coq.Peano] later than any export of [Coq.Bool]. *)
12-
(* We also want to ensure that notations from [Coq.Utf8] take precedence
13-
over the ones of [Coq.Peano] (see Coq PR#12950), so we import [Utf8] last. *)
10+
These two functions being defined both in [Stdlib.Bool] and in [Stdlib.Peano],
11+
we must export [Stdlib.Peano] later than any export of [Stdlib.Bool]. *)
12+
(* We also want to ensure that notations from [Stdlib.Utf8] take precedence
13+
over the ones of [Stdlib.Peano] (see Coq PR#12950), so we import [Utf8] last. *)
1414
From Corelib Require Export Morphisms RelationClasses ListDef Setoid.
1515
From Stdlib Require Export Bool List Peano Utf8 Permutation.
1616
From Stdlib Require Export Program.Basics Program.Syntax.

apps/tc/tests-stdlib/eqSimplDef.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Require Import Bool Arith List.
1+
From Stdlib Require Import Bool Arith List.
22

33
Class Eqb A : Type := eqb : A -> A -> bool.
44
Global Hint Mode Eqb + : typeclass_instances.
@@ -7,5 +7,5 @@ Notation " x == y " := (eqb x y) (no associativity, at level 70).
77

88
Global Instance eqU : Eqb unit := { eqb x y := true }.
99
Global Instance eqB : Eqb bool := { eqb x y := if x then y else negb y }.
10-
Global Instance eqP {A B} `{Eqb A} `{Eqb B} : Eqb (A * B) := {
11-
eqb x y := (fst x == fst y) && (snd x == snd y) }.
10+
Global Instance eqP {A B} `{Eqb A} `{Eqb B} : Eqb (A * B) := {
11+
eqb x y := (fst x == fst y) && (snd x == snd y) }.

builtin-doc/coq-builtin.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ external func coq.ltac.collect-simple-goals term -> list goal,
16761676
% Note that each TACTIC EXTEND block can have many entries and their
16771677
% numbering
16781678
% starts from 0. Also, each block has a name, "Lia" in this case.
1679-
%
1679+
%
16801680
% When the diagnostic is (error Msg), then GL is not set.
16811681
%
16821682
% Supported attributes:

examples-stdlib/example_open_terms.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
From elpi Require Import elpi.
2-
Require Import Arith ZArith List FunctionalExtensionality.
2+
From Stdlib Require Import Arith ZArith List FunctionalExtensionality.
33

44
Axiom map2 : (nat -> nat -> nat) -> list nat -> list nat -> list nat.
55

examples-stdlib/example_reflexive_tactic.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*)
1111

1212
From elpi Require elpi.
13-
Require Arith ZArith Psatz List ssreflect.
13+
From Stdlib Require Arith ZArith Psatz List ssreflect.
1414

1515
Import elpi.
1616
Import Arith ZArith Psatz List ssreflect.

examples/tutorial_coq_elpi_HOAS.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ of constants.
416416
417417
|*)
418418

419-
Register Coq.Init.Datatypes.nat as my.N.
420-
Register Coq.Init.Logic.eq as my.eq.
419+
Register Corelib.Init.Datatypes.nat as my.N.
420+
Register Corelib.Init.Logic.eq as my.eq.
421421

422422
Elpi Query lp:{{
423423

0 commit comments

Comments
 (0)