Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] loadpath

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] loadpath


Chronological Thread 
  • From: Jeremy Dawson <Jeremy.Dawson AT anu.edu.au>
  • To: Ramkumar Ramachandra <artagnon AT gmail.com>
  • Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] loadpath
  • Date: Wed, 5 Feb 2020 08:03:11 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=anu.edu.au; dmarc=pass action=none header.from=anu.edu.au; dkim=pass header.d=anu.edu.au; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+4CfVXTPffW7TY93AHkxDvct7NCyTpbh62ZYt0q9bEs=; b=m6Mt3soY49XKWnO8JN7REaceXgjA8NYbkokc/dmYfh6Dr2LbWPaIewmVvZeNDcnRzWLm7iyVVZMdT9DuUeKCRYx5V0WWPcBzAOO8r4GdSD1/Wsx1jLGygu46Gai77qNOty4k3CER5Fs6dUQauDtYBlCBrU+rUoAk/ZbMWSk35M4bbqxl/MAiF6Jn4bZXciHPqI47BJVXKcnC7f2mDyGKiDCKbMSbcHd3GOKSpqQtOKnPCXzF7DYxE5X1o60VnOQlzVqui6E+HGXhngS1dZ45jLl2Vg6DVcvrUnARI+c1yJrgtWBDkPE60zFN8M1zERxD5rulnHRS6owumPgeDbM9Rw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QfeZ87Mn+JFOpiXDD9XYLIMNfcmwRAF78FNZExWHdqA4s//JHU9Ppwtu3Y/XL4+cYr+3LrEnsE2IirYgqGAKkrd2U+Q4xGVvF1717xYvFh66IRjqTDx6RA+atf7dujHJVqE7fkMHApojcVoDloxUaa6m7rg4+w46b+WM4yPYxs8oh8FGICzlCDJPYopbyQu3Ygel31Nr7pX6KViq600UxypSRaOqVSvXb5xM0w+u+F0r6kYgu3u8YDfseW5tgj/4VowXEHzTcPE2joimUdZE2qg+Y6kq6qz8doTw1DGsv/AbR3Mb0qhf8R5i602/9mYNEUDavUUW7VwZnZNf8C5Vmw==
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.mailfrom=Jeremy.Dawson AT anu.edu.au; spf=Pass smtp.helo=postmaster AT AUS01-ME1-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:hTbaPhKwBfcXV4weCtmcpTZWNBhigK39O0sv0rFitYgfKvjxwZ3uMQTl6Ol3ixeRBMOHsq4C1rKd6vmwESxYuNDd6StEKMQNHzY+yuwu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9Kev6AJPdgNqq3O6u5ZLTfx9IhD2gar9uMRm6twrcutQZjId4Kqs91hTFrmZVd+lV2GhkIU6fkwvm6sq/4ZJu/T5ct+49+8JFTK73Y7k2QbtEATo8Lms7/tfrtR7NTQuO4nsTTGAbmQdWDgbG8R/3QI7/vjP1ueRh1iaaO9b2Ta0vVjS586hrUh7ohzwZODM/7Wral9Z/jKNfoBKmuhx/34vZa5ybOfZiYq/Qe84RSGxcVchTSiNBGJuxYYsRAeQcIeZWoYrzp1UMohu/GQaiC+zgxyRUhnDtx6A2z/gtHR3E0QEmAtkAsG7UrNLwNKoKVe660rPIwivGb/JWxDzz5pLHcx46ofGLW7J7bM3cx00xGAPfkFqQrIzkMymb2OsXvWmb9O1gVeS0hmE9rQFxvyKjydkxhYnUnI4a0E3E+Dx/zY0oK9O4T0t7bsSlEJtWryyaNo12QtkjQ25yoio6xKcGtJimdyYJ0JQq3xHSZ+Cdf4SV/h7uVvydLSp2iX9kYr6zmgi+/Ey4xuDzUsS4yktGoylYntXWqHwByRPe5tKHR/Z/+EqqxCyB2BrJ6u5eJEA5jarbJIAlwr43jpcerUrMEDLqlEnrlaOYcUoq9vWx5+TgebrpuIWQN4hpigHiKasundG/AeIlPQQUR2ib4+O81KH98kLlXLVKj/o2kq/DvJDdOMQbuqq5AwhS0oYg8RqwEzCm0NEAkXkGKlJKZg6HgpDmNl3SOvz0EOuzjla2nDt2yf3LP6ftDojTInXHiLvheKxy609YyAo919Bf4JdUB6kFLv3tQE/+qtnYDx8jPwK62enmBs591oQYWW+UGKCZNr7SvUWW6e0yPumAfpUauCvlJ/g/+/HulWM5mUMafaSxwZQXb2m4Eu16LEWdfHrjmcwMEXwKvwo7VOzlkkeOUT9VZ3aoXqIz/Cs3CIy8DdSLeof4urWE3zq+F4ceXGlDA1uMGHHkbYzMD/4WdCudJMhnujMBXLmlDYQm0Ef9mhX9zu9FI/DZ/zxQmZv8z99zr7nxmAs/8C0yI82CyGaLZ2hygyUFSyJw1b0p8h818UuKzaUt268QLtdU/f4cCl5rZ66Z9PRzDpXJYiyEe96ITFi8RdD/W2M4SM93ztMTJU9gSYz70kLzmhGyCrpQrISlQYQu+/uGjXH3OoBwx2uA3bRz1wB7EPsKDnWvg+tEzyaWB4PNlBnGxY+XTvxFmQvgrSKEx2fIu1xEWgltV6mDRWoYekbdsdX+4AXFUqOqDrMkdABGzJzbJw==

Well, here is the _CoqProject file, just contains these two non-blank lines

-Q ttt/xxx Cat

ttt/xxx/sss.v

I don't think it built very much because the Makefile supplied to me
with the files built a lot of stuff so I just got

make[1]: Nothing to be done for ...

but the directory ttt/xxx contains lots of .vo files

I would really like to know where to find information on this topic

Thanks

Jeremy




On 5/2/20 6:49 pm, Ramkumar Ramachandra wrote:
> Did you order your _CoqProject properly? Did it build the files in the
> subdirectory first? (Do you have .vo files in the subdirectory
> corresponding to the .v files you want to import?)
>
> R.
>
> On Wed, Feb 5, 2020 at 8:43 AM Jeremy Dawson
> <Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>>
> wrote:
>
>
> Thanks - that generates a Makefile, and make seems to work OK but
> then I get
>
>  > From Cat Require Import sxxx.
>  >                         ^^^^
> Error:
> Cannot find a physical path bound to logical path matching suffix
> <> and prefix Cat.
>
> Thanks,
>
> Jeremy
>
> On 5/2/20 6:34 pm, Ramkumar Ramachandra wrote:
> > Try `coq_makefile -f _CoqProject -o Makefile`.
> >
> > R.
> >
> > On Wed, Feb 5, 2020 at 8:33 AM Jeremy Dawson
>
> <Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>
> >
> <mailto:Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>>>
> wrote:
> >
> >     Thanks - but coq_makefile doesn't generate a Makefile - it does
> >     generate
> >     a file called CoqMakefile.conf
> >
> >     Is coq_makefile documented?  It's not in the index (ie
> > https://coq.inria.fr/distrib/current/refman/genindex.html
> >
> >     Is this where I should be looking for documentation?  )
> >
> >     And the man page is hardly helpful
> >
> >     Thanks
> >
> >     Jeremy
> >
> >     On 5/2/20 6:14 pm, Ramkumar Ramachandra wrote:
> >      > Hi Jeremy,
> >      >
> >      > You need to set up an `_CoqProject` like this:
> >      >
> >      > ```
> >      > -Q category Cat
> >      >
> >      > category/cat.v
> >      > category/ncat.v
> >      > ```
> >      >
> >      > ... and run `coq_makefile` to generate a Makefile. Note
> that if
> >     you can
> >      > `make` the project, then Coq should work from Emacs just fine.
> >      >
> >      > In the example I've supplied, "category" is the
> subdirectory you
> >     want to
> >      > include, and you'd use `From Cat Require Import ...` to
> include a
> >     file
> >      > in it.
> >      >
> >      > R.
> >      >
> >      > On Wed, Feb 5, 2020 at 8:09 AM Jeremy Dawson
> >     
> <Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>
>
> <mailto:Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>>
> >      >
> <mailto:Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>
> >     
> <mailto:Jeremy.Dawson AT anu.edu.au
>
> <mailto:Jeremy.Dawson AT anu.edu.au>>>>
> wrote:
> >      >
> >      >     Hi,
> >      >
> >      >     The documentation at
> >      >
> >
>
> https://coq.inria.fr/distrib/current/refman/proof-engine/vernacular-commands.html#coq:cmd.load
> >      >     says
> >      >
> >      >           This command loads the file named ident.v, searching
> >     successively
> >      >     in each of the directories specified in the loadpath. (see
> >     Section
> >      >     Libraries and filesystem)
> >      >     but when I go to that section it doesn't tell you how
> to set a
> >      >     "loadpath" or how to view what it is (or even what it
> is, so I've
> >      >     got to
> >      >     guess it's as in other languages that I'm familiar
> with - and
> >     that
> >      >     somehow doesn't seem to fit the case)
> >      >
> >      >     So how do I load a file (eg, ttt/TTT/sss.v)
> >      >
> >      >     Thanks
> >      >
> >      >     Jeremy
> >      >
> >
>



Archive powered by MHonArc 2.6.18.

Top of Page