Skip to content

Commit aadd0e8

Browse files
committed
add loadpath commands for interactive "Foundations" access
Now that we are using fully qualified library names, such as Foundations.Generalities.uu0, we have to arrange for coqtop to work, especially when run by Proof General. One way would be to give it "-R . Foundations" as command line options. But Proof General has a strange sort of bug that causes it to loop forever when starting up coq after you evaluate (setq coq-prog-args '("-emacs" "-R" "." "Foo")) . The best solution seems to be to add lines Add LoadPath ".." as Foundations. to our *.v source files, which we do in this commit.
1 parent 73b0b9c commit aadd0e8

File tree

13 files changed

+24
-0
lines changed

13 files changed

+24
-0
lines changed

Generalities/uu0.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Unset Automatic Introduction. (* This line has to be removed for the file to com
1616

1717
(** Imports *)
1818

19+
Add LoadPath ".." as Foundations.
20+
1921
Require Export Foundations.Generalities.uuu.
2022

2123
(** Universe structure *)

Proof_of_Extensionality/funextfun.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This file contains the formulation of the univalence axiom and the proof that it
1111

1212
Unset Automatic Introduction. (** This line has to be removed for the file to compile with Coq8.2 *)
1313

14+
Add LoadPath ".." as Foundations.
15+
1416
Require Export Foundations.Generalities.uu0.
1517

1618

hlevel1/hProp.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Unset Automatic Introduction. (* This line has to be removed for the file to com
2525

2626
(** Imports *)
2727

28+
Add LoadPath ".." as Foundations.
2829

2930
Require Export Foundations.Generalities.uu0 .
3031

hlevel2/algebra1a.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1313

1414
(** Imports *)
1515

16+
Add LoadPath ".." as Foundations.
17+
1618
Require Export Foundations.hlevel2.hSet .
1719

1820

hlevel2/algebra1b.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1313

1414
(** Imports *)
1515

16+
Add LoadPath ".." as Foundations.
17+
1618
Require Export Foundations.hlevel2.algebra1a .
1719

1820

hlevel2/algebra1c.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1313

1414
(** Imports *)
1515

16+
Add LoadPath ".." as Foundations.
17+
1618
Require Export Foundations.hlevel2.algebra1b .
1719

1820

hlevel2/algebra1d.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1313

1414
(** Imports *)
1515

16+
Add LoadPath ".." as Foundations.
17+
1618
Require Export Foundations.hlevel2.algebra1c .
1719

1820

hlevel2/finitesets.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Unset Automatic Introduction. (* This line has to be removed for the file to com
1818

1919
(** Imports. *)
2020

21+
Add LoadPath ".." as Foundations.
22+
2123
Require Export Foundations.hlevel1.hProp .
2224
Require Export Foundations.hlevel2.stnfsets .
2325
Require Export Foundations.hlevel2.hSet .

hlevel2/hSet.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1717

1818
(** Imports *)
1919

20+
Add LoadPath ".." as Foundations.
21+
2022
Require Export Foundations.hlevel1.hProp .
2123

2224

hlevel2/hnat.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Unset Automatic Introduction. (* This line has to be removed for the file to com
1717

1818
(** Imports. *)
1919

20+
Add LoadPath ".." as Foundations.
21+
2022
Require Export Foundations.hlevel2.algebra1d .
2123

2224
(** To up-stream files *)

hlevel2/hq.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1616

1717
(** Imports *)
1818

19+
Add LoadPath ".." as Foundations.
20+
1921
Require Export Foundations.hlevel2.hz .
2022

2123
Opaque hz .

hlevel2/hz.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Unset Automatic Introduction. (** This line has to be removed for the file to co
1616

1717
(** Imports *)
1818

19+
Add LoadPath ".." as Foundations.
20+
1921
Require Export Foundations.hlevel2.hnat .
2022
Require Export Foundations.hlevel2.algebra1d .
2123

hlevel2/stnfsets.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Unset Automatic Introduction. (* This line has to be removed for the file to com
1515

1616
(** Imports. *)
1717

18+
Add LoadPath ".." as Foundations.
1819

1920
Require Export Foundations.hlevel2.hnat .
2021

0 commit comments

Comments
 (0)