Skip to Content.
Sympa Menu

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

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] _CoqProject


Chronological Thread 
  • From: Jeremy Dawson <Jeremy.Dawson AT anu.edu.au>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] _CoqProject
  • Date: Mon, 27 Apr 2020 21:38:09 +1000
  • 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=EBgCfzsItS9UNRhZPerYBZgGgPtjne8B3pUW9ywIH5w=; b=h7WvlX62JeQqZNBlP0Y3PBtXtP+nPKpKA6Mjy/WftYQ6y4mfQP9xj/8viMCr8m+svuGckNwfU6L4iEXjarBtb6N2wGICZpZAIqcfjZh7jkSS40agrF4vV0BI3hi+ftxKUppM4/LRzA6ZhrTIbzR1G6Ne4hDzGbOhjyWYokAVgk9xxc1R20hvfTcZiaJgHRfT+8nhaKnWtdNCQNS+KTPcK4XB/Ap+UI3QBoyOhTG6fLyTVSHGrW8Olt/gDWFHkZH2EEiZjY4zXgl56u/vI591fZr1kKjNUaezekaytTXy/BFzAgZ//hBuKgocCf+5mOCXOVvj0J1gXipUIZtu9DDtKQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mZcQ8jyVmLNbeVqh/D8DcEyp5/x2wmB5Ov6JBOqf9F6CO/PSUo+GbnAnLtTdjO+d3OXhmsaWT20a+CSNWhi4POJn8QTVKadSUXKls5Mp0kxn9ajCKFpkKB20MekFke2fma/KUskr/H2LvUTsIt5gJPegKVBHIGFDVEgLjgiR1a39y3SDqE0I0/qacVeeuz8DxSUxzpIh14x+TbJvFTEHYPkG90GypjjIpMKetARJCep/r7ei0FWmKNhEV/4mnFHe2i13QjiwtyJmd7bDxD/VpoavhZCJTrlQdrXPswPDGoyL4XLy50BDHYKJ0vZL/cdIHCRk+fqqsvACULhvJkc/qg==
  • 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-SY3-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:eV8L0h9tp9/DSv9uRHKM819IXTAuvvDOBiVQ1KB30+0cTK2v8tzYMVDF4r011RmVBNidtqMP0LuempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffgVFiCC9bL52Ixm7owHcvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh7W/ZlMJwgqJYrhyvqRNwwZLbbo6aO/p/Za7dYdAXSHBdUspNWSFMAIWxZJYPAeobOuZYqpHwqV8QohukGwasAePuwSJGiHDs06w6yOMhEQfb1wEnG9wBrm7Uo8vwNKYSS+y7wrPHzDvYb/NR3zfw85LHchY8of2WQ71/bNfRxVM1GAPYl1idr5HuMTCN1ukVvGWX8/BsWf+zh2MlsQ19vzaiy8U2hoXUmo4Z1EjI+Cp9zYovONG1S1J3bcSmHZZerS2WKpV6Tt8kTmp1oig10KcGtoS+fCUSyJQo2Rrfa/uffoWU7B3tSfqdLSphiHx4er2yiQ++8U+7xeLiTMW010tKrjZendnLq3AN0QHc5tKfSvtn+UehxSiA2BzP6uFFJkA0k7DXK5k8wr4skpoTtkPDHizslErqi6+Wc10o+umu6+v5frXrvpCRO5Nuhg3jLqgjmNazDfk2PwUMRWSX5Piw2KP78U38WrpKj/k2kqfDsJDdIMQWvqq3DBFP0ok97ha+Dy2q3toCkngJN1JFfxSHgpPzNFHIPfD0F+mwjEmxkDtx3f/GI6XtAo/RIXjbjLfhYbF95lZAxwo01NBT/o5bCrUcIP3oQULxr9zZDhohMwOu2ernCdN91pkfWW2VGKOZPrnS4he04bckJPDJb4sIsh78LeIk7rjglywXg1gYKIukx5YSeTiUF+t9JEPRNVjhmNoEACEmtxUlS+rCgVufFzNfejC7QvRvtXkAFIu6ANKbFciWi7ub0XLjR8wEViV9ElmJVEzQWcCBUvYIZjiVJ5Y7wDUCSP6sR5Jn3Az87VanmYoiFfLd/2gjjbym1NVx4LGMxzgPzmQtSv+siCSKRWwymX4UTTgr2qw5uVZ61lqIzal/hbpfCMBX4PRKFAw9MMyFlrAoO5XJQgvEO+yxZhO+WNz/W2M4SM93ztMTJU9gSY2v

Hi,

Thanks - but this won't work because it would mean changing dd_fc.v
and all the files in that directory, which is part of other people's work as well

So I tried some alternatives like
-Q ../lnt/tense-logic-in-Coq/
or
-Q ../lnt/tense-logic-in-Coq/ .

All of these, including your suggested
-Q ../lnt/tense-logic-in-Coq/ TL

gave a bunch or warnings, eg

-Q ../lnt/tense-logic-in-Coq/ TL
gives
Warning: ../lnt/tense-logic-in-Coq/ (used in -R or -Q) is not a subdirectory of the current directory

Warning: no common logical root
Warning: in such case INSTALLDEFAULTROOT must be defined
Warning: the install-doc target is going to install files
Warning: in orphan_TL_Top

I don't understand any of these, except the first (and I don't know what I should do about that), and I can't find any explanation of these in the documentation.

What do they all mean?

Thanks

Jeremy


On 27/4/20 12:26 am, Gaëtan Gilbert wrote:
Indeed -I is for ocaml files (for plugins)

Gaëtan Gilbert

On 26/04/2020 16:23, Dan Frumin wrote:
Hi Jeremy,

I don't know why -I doesn't work, but I think using -Q does the trick (at least with my version of Coq): I replaced

     -I ../lnt/tense-logic-in-Coq/

with
     -Q ../lnt/tense-logic-in-Coq/ TL

and then in dd_fc.v used `Require Import TL.genT`



Best,
Dan


On 26-04-2020 16:09, Jeremy Dawson wrote:

Hi,

I've constructed a _CoqProject file as follows

-I ../lnt/tense-logic-in-Coq/
-I ../gen/
../lnt/tense-logic-in-Coq/gen.v
../lnt/tense-logic-in-Coq/genT.v
../lnt/tense-logic-in-Coq/List_lemmasT.v
../lnt/tense-logic-in-Coq/lntT.v
../lnt/tense-logic-in-Coq/swappedT.v
../lnt/tense-logic-in-Coq/ddT.v
../lnt/tense-logic-in-Coq/dd_fc.v
../lnt/tense-logic-in-Coq/lntacsT.v
../gen/rtcT.v
../gen/gstep.v
../gen/gentree.v
gen_ext.v
k4.v
k4_exch.v
k4_inv.v
k4_ctr.v
k4_ca.v

I then run
  make -f Makefile
and get the following messages
COQC ../lnt/tense-logic-in-Coq/dd_fc.v
File "../lnt/tense-logic-in-Coq/dd_fc.v", line 12, characters 15-19:
Error: Unable to locate library genT.

(in fact the file
../lnt/tense-logic-in-Coq/genT.v
exists)

What do I need to put in the _CoqProject file to make this work?

Thanks

Jeremy



Archive powered by MHonArc 2.6.18.

Top of Page