coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: 刘坚 <liujian AT ios.ac.cn>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: [Coq-Club] Detailed intro of libobject?
- Date: Mon, 18 Jan 2021 12:29:17 +0000
- Accept-language: zh-CN, en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=liujian AT ios.ac.cn; spf=Pass smtp.mailfrom=liujian AT ios.ac.cn; spf=None smtp.helo=postmaster AT EX01.ios.ac.cn
- Ironport-phdr: 9a23:Nh9E3RYSD6hajUzAuKCBjmP/LSx+4OfEezUN459isYplN5qZr825bnLW6fgltlLVR4KTs6sC17OH9fiwEjdRqdbZ6TZeKcMKD0dEwewt3CUYSPafDkP6KPO4JwcbJ+9lEGFfwnegLEJOE9z/bVCB6le77DoVBwmtfVEtfre9FYHdldm42P6v8JPPfQpImCC9YbRvJxmqsAndrMYbjZZmJ6or1hfEoXREdupSyGh1IV6fgwvw6t2/8ZJ+8Slcoe4t+9JFXa7nY6k2ULtUASg8PWso/sPrrx7DTQWO5nsYTGoblwdDDhbG4h/nQJr/qzP2ueVh1iaUO832Vq00Vi+576h3Uh/oiTwIOCA//WrKl8F/lqNboBampxxi347ZZZyeOfRicq/Be94RWGxMVdtTWSNcGIOxd4sBAfQcM+ZEoYfzpFoOogexCgS3Huzj1iVFi2Xq0aEmyessFxzN0gw6H9IJtXTZtNP3NqEPWu2yyKnIzCjDb/FX2Tjn7ojFaREhofaXXb5qa8Xe1VMjGB/DjliJr4HuIjya2PgXvWeB8+pgSfygi3Qhqwxpojaiyccih5fXi48XyF3I6SV0zJg0KNC7SEN1b9GpHZlNuyyZNoZ4TMwsTmVstSg1xLAKpJ61cTYXxJko2hPSZfqKeJWL7BL7TOudPCl0iX1/dL6ihhu+61Wsx+P+W8Wu0FtHoTJJnsTRun0PzRDf98aKR/pn8ku9wzqDyh3f5+VCLEspj6TUMYQhzaQ1lpcLsUTMACv2mELugaGZd0oo5vWk5/7mYrXhvZ+QLZV7hR3kPqsynMyzGeU4Mg4QUGiH4emwyaPv8ELjTLlXj/A6iLTVvZ7YKMgBpqO0DBdZ0oM55Ba+Czem3s4YnX4CLF9dfBKHjpXpO1PPIP/iC/eymFWskDBwx/zcJLLuHo/BIWTFkLv5Z7Zy91ZcyBYvzdBY/59bFrYBIOvqVkDtsNzYEwQ2Phevw+fnDdV9zpkRVXiOAq+fKqPSsEWH6vghI+mWN8cpv2O3IP88ovXqkHURmFkHfKDv04FdICSzGe0jKEGEa1LthM0AGCEEpFxtYvbtjQh6qXYHY3evXaM14Bk6D5ngBIyFTYb70+/J5zuyApADPjMOMVuLC3q9L9zYCcdJUzqbJ4paqhJBTaKoEtZz1Ba18gbxjbFhfLKNq38o8Kn73d0w3NX90BQ79Dh6FcOYijjfTmZv2GoDATQwjvkm/B5Nj2yb2K09uMR2UNxe4/QQDFUXBcaFie19EJb7UUTKeIXRRQ==
Hi all,
Currently we are developing a formal verification tool based on coq.
Here is the background:
There exist many .v files for a project, one for each C function. So when we were generating proof of a C function, it is reasonably needed to “Require Import” all proofs of its calling functions.
Suppose that: each proof script contains both the definition of a C function and the definition of its proof term.
The problem is that: in practice, when we are “Require Import”ing a proof, all we want to import is the proof term defined, not the C function definition. Because otherwise, according to the semantics of “Require Import”, the size of vo of a top level function with very deep nesting of sub function calls will be very large. We want to import the necessary constants only.
Here is the question:
Is there any way to import constants in an selective way? If not, could you please introduce me some materials about the libobject module in the src of coq? Because I am currently reading the source code but got stuck on this module. As far as I know, it will be very helpful to understand libobject before I can solve my problem.
Could you please give me some suggestions?
Thank you!
Best,
Jian
- [Coq-Club] Detailed intro of libobject?, 刘坚, 01/18/2021
- Re: [Coq-Club] Detailed intro of libobject?, Gaëtan Gilbert, 01/18/2021
Archive powered by MHonArc 2.6.19+.