coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Donald Leung <i.donaldl AT me.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] how to require file in subdirectory
- Date: Wed, 5 Feb 2020 16:59:03 +0800
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=i.donaldl AT me.com; spf=Pass smtp.mailfrom=i.donaldl AT me.com; spf=None smtp.helo=postmaster AT pv50p00im-ztdg10022001.me.com
- Ironport-phdr: 9a23:Smy8Kxy5HWrhGgHXCy+O+j09IxM/srCxBDY+r6Qd1OMXIJqq85mqBkHD//Il1AaPAdyHra8cwLOM7eigATVGvc/a9ihaMdRlbFwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfQV6Kf7oFYHMks+5y/69+4HJYwVPmTGxfa5+IA+5oAnMucQam4tvJro+xhfUvHdFevldyWd0KV6OhRrx6dq88ZB5/yhMp/4t8tNLXLnncag/UbFWFiktPXov5M3suxnDTA+P6WUZX24LjBdGABXL4Q/jUJvpvST0quRy2C+BPc3rVr80Qiit771qSBDzligKMSMy/XzNhcxxiKJbpw+hpwB6zoXJboyZKOZyc6XAdt4cWGFPXNteVzZZD428c4QBAOUOM/tWoYnzuVUBrxiwCw63CePz0z9Ig2P63a0m3+kjFwzNwQwuH8gJsHTRtNj7OqASUeavw6nM0DrIcvVY1ing6IjOfRAqvPaBXbNqfcXMzkkvERnKjlGNpozhJD6V0/oCv3KH4OpnUOKikmgqoBx/rDiow8cjkIjJhoQNx1DF8yV52oc1KseiRE51e96pFoZbuSKCN4ZuX88vQXtktSY5x7EcuJO3ZigHxZc/yxLCdvCLbZKE7g/+WOuVOzt0mm9pdK6lixqs7EStxevxXdSu3llQtCpKiNzMu2gN1xPN7siHTeNw/l+/2TuPywzT8v1ILVw1lareMpIgw6IwmYccsUjeAiP6hFv6gLGKekk45+Sk8eHnbav8qpCAMI90jxnyMqUomsOhHeQ1KhUCUmqB9em817Dv50z0TK9Kg/A1iqXZtYrVJcUfpq63GQ9V1YMj5g6+Dzu8zdsYmn8HI0hBeB2ai4jkIFTOL+7iAfijhFSslS9nx+raMb35HpXNMn/Dna/9crZ68k5Q0RY8zdRC551PEbwBO/LyWkrptNPCFBM5Mgq0w/zmCNpnzI8eV3iPUeelN/bZtkbN7eYyKcGNYpUUsXDzMasL/fnr2FM+n1YZceGN0IYRZzjsH7JqJEOQZXboqtIMV2wNu1xtH6TRlFSeXGsLND6JVKUm62RjUdP0PcL4XomoxYe58mK+F5xSaHpBDwDeFHqufIKBCa5VNXCiZ/R5mzlBboCPDo8s0Rb17V3i1ec/NrKM+yhdp47v24Etv7eJzUlrszl5Sc+a1jPVFj0mriYzXzYzmZtHjwll0F7Tg611xfdfEI4L6g==
Dear Jeremy,
Try adding a `_CoqProject` file in the root directory of your Coq development
with the following contents:
```
-Q ./tttt/TTT/ tttt.TTT
./tttt/TTT/ssss.v
./tttt/TTT/file2.v
./tttt/TTT/file3.v
…
./tttt/TTT/filen.v
```
where file2.v, file3.v, …, filen.v are the other vernacular files in your Coq
development that you would also like to compile. Then run:
```bash
$ coq_makefile -f _CoqProject -o Makefile
```
in your command line and select `Compile > Make` in your CoqIDE (or similar).
Provided the build is successful, you should then be able to step through the
line:
```coq
From tttt.TTT Require Import ssss.
```
in your CoqIDE (or similar) without any issues.
Yours sincerely,
Donald
> Jeremy Dawson
> <Jeremy.Dawson AT anu.edu.au>於2020年2月5日
> 15:00寫道:
>
> Hi,
>
> I'm trying to run a command which I was guessing should be
>
> From tttt.TTT Require Import ssss.
>
> but I get the error
>
> Cannot find a physical path bound to logical path matching suffix
> <> and prefix tttt.TTT.
>
> What does this mean?
>
> How do I use a file tttt/TTT/ssss.vo?
>
>
> The documentation contains
> Variant From dirpath Require qualid
> (in
> https://coq.inria.fr/distrib/current/refman/proof-engine/vernacular-commands.html#coq:cmdv.from-require)
>
> What should a dirpath look like, and where is it to be found in the
> documentation? (Some of these syntax constructs seem to be defined in
> https://coq.inria.fr/distrib/current/refman/language/gallina-specification-language.html
> but dirpath isn't - and none of them seem to be in the index)
>
> Thanks
>
> Jeremy
- [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] how to require file in subdirectory, Donald Leung, 02/05/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] how to require file in subdirectory, Gaëtan Gilbert, 02/05/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Théo Zimmermann, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Ralf Jung, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Pierre Courtieu, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/07/2020
- Re: [Coq-Club] how to require file in subdirectory, Pierre Courtieu, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Théo Zimmermann, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Ralf Jung, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Théo Zimmermann, 02/06/2020
- Re: [Coq-Club] how to require file in subdirectory, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] how to require file in subdirectory, Donald Leung, 02/05/2020
Archive powered by MHonArc 2.6.18.