Notices: This section not yet converted to new layout. Download stats are rolling back out.

The Coq proof assistant

8.9.1

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 7/21/2019.

Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs. Typical applications include the certification of properties of programming languages (e.g. the CompCert compiler certification project, or the Bedrock verified low-level programming library), the formalization of mathematics (e.g. the full formalization of the Feit-Thompson theorem or homotopy type theory) and teaching.

Coq implements a program specification and mathematical higher-level language called Gallina that is based on an expressive formal language called the Calculus of Inductive Constructions that itself combines both a higher-order logic and a richly-typed functional programming language. Through a vernacular language of commands, Coq allows:

  • to define functions or predicates, that can be evaluated efficiently;
  • to state mathematical theorems and software specifications;
  • to interactively develop formal proofs of these theorems;
  • to machine-check these proofs by a relatively small certification "kernel";
  • to extract certified programs to languages like Objective Caml, Haskell or Scheme.

As a proof development system, Coq provides interactive proof methods, decision and semi-decision algorithms, and a tactic language for - letting the user define its own proof methods. Connection with external computer algebra system or theorem provers is available.

As a platform for the formalization of mathematics or the development of programs, Coq provides support for high-level notations, implicit contents and various other useful kinds of macros.

To install The Coq proof assistant, run the following command from the command line or from PowerShell:

C:\> choco install coq

To upgrade The Coq proof assistant, run the following command from the command line or from PowerShell:

C:\> choco upgrade coq

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageArgs = @{
      packageName    = $env:ChocolateyPackageName
      fileType       = 'exe'
      url            = 'https://github.com/coq/coq/releases/download/V8.9.1/coq-8.9.1-installer-windows-i686.exe'
      url64bit       = 'https://github.com/coq/coq/releases/download/V8.9.1/coq-8.9.1-installer-windows-x86_64.exe'
      softwareName   = 'coq*'
      checksum       = '6aab12fce6d919a474d4f46a909d5ea1399b8e20c2fd38173d0dd2b3ed87860f'
      checksumType   = 'sha256'
      checksum64     = 'd388223276b4624e6ff16c8e1b620cf36b0817edd32dcebdd48d41898811e469'
      checksumType64 = 'sha256'
      silentArgs     = '/S'
      validExitCodes = @(0)
    }
    
    Install-ChocolateyPackage @packageArgs
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageArgs = @{
      packageName    = $env:ChocolateyPackageName
      softwareName   = 'coq*'
      fileType       = 'exe'
      silentArgs     = '/S'
      validExitCodes = @(@(0))
    }
    
    $uninstalled = $false
    
    [array]$key = Get-UninstallRegistryKey @packageArgs
    
    if ($key.Count -eq 1) {
      $key | ForEach-Object {
        $packageArgs['file'] = "$($_.UninstallString)"
    
        Uninstall-ChocolateyPackage @packageArgs
    
        Write-Host "^^ No it hasn't just yet..."
        Write-Host "Waiting for the uninstall process to close..."
        # Sleep a few seconds to allow the uninstall process to spawn
        Start-Sleep -seconds 5
    
        while (($process = Get-Process "AU_*", "Coq*" -ea 0)) {
    
          if ($process) {
            $process | Wait-Process
          }
        }
      }
    }
    elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    }
    elseif ($key.Count -gt 1) {
      Write-Warning "$($key.Count) matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert the package maintainer that the following keys were matched:"
      $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • INRIA

Copyright

Copyright 1999-2016 The Coq development team, INRIA, CNRS, UniversityParis Sud, University Paris 7, Ecole Polytechnique

Tags

Release Notes

Package Changelog

Software Release Notes

Coq 8.9.1 contains
- some quality-of-life bug fixes,
- many improvements to the documentation,
- a critical bug fix related to primitive projections and native_compute,
- several additional Coq libraries shipped with the Windows installer.

Version History

Version Downloads Last updated Status
The Coq proof assistant 8.9.0 154 Monday, January 21, 2019 approved
The Coq proof assistant 8.8.2 1859 Thursday, October 25, 2018 approved
The Coq proof assistant 8.8.1 173 Monday, July 9, 2018 approved
The Coq proof assistant 8.8.0 208 Tuesday, April 17, 2018 approved
The Coq proof assistant 8.7.2 219 Saturday, February 17, 2018 approved
The Coq proof assistant 8.7.1 236 Saturday, December 16, 2017 approved
The Coq proof assistant 8.7.0 195 Saturday, October 21, 2017 approved
The Coq proof assistant 8.6.1 259 Wednesday, July 26, 2017 approved
The Coq proof assistant 8.6 261 Friday, June 9, 2017 approved
Show More

Discussion for the The Coq proof assistant Package

Ground rules:

  • This discussion is only about The Coq proof assistant and the The Coq proof assistant package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or The Coq proof assistant, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok