TheCoqProofAssistantATutorialNovember21,20061Versionv8.1GérardHuet,GillesKahnandChristinePaulin MohringLogiCalProject1ThisresearchwaspartlysupportedbyISTworkinggroup“Types”Vv8.1,November21,2006cINRIA1999 2004(C OQ versions7.x)c2004 2006(C OQ v8.x)GettingstartedCOQ isaProofAssistantforaLogicalFrameworkknownastheCalculusofInductiveConstructions. Itallows the interactive construction of formal proofs, and also the manipulation of functional programsconsistentlywiththeirspecifications. Itrunsasacomputerprogramonmanyarchitectures. Itisavailablewithavarietyofuserinterfaces. ThepresentdocumentdoesnotattempttopresentacomprehensiveviewofallthepossibilitiesofCOQ,butrathertopresentinthemostelementarymanneratutorialonthebasicspecification language, called Gallina, in which formal axiomatisations may be developed, and on themain proof tools. For more advanced information, the reader could refer to the COQ Reference ManualortheCoq’Art,anewbookbyY.BertotandP.Castéranonpracticalusesofthe COQ system.Coq can be used from a standard teletype like shell window but preferably through the graphical1userinterfaceCoqIde .Instructionsoninstallationprocedures,aswellasmorecomprehensivedocumentation,maybefoundinthestandarddistributionofCOQ,whichmaybeobtainedfromCOQwebsitehttp://coq.inria.fr.In the following, we assume that COQ is called from a standard teletype like shell window. AllexamplesprecededbythepromptingsequenceCoq < representuserinput,terminatedbyaperiod ...
Voir