Skip to content

MudroadWhite/Neo-Principia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,360 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo Principia

Screenshot

Continuation of Principia Mathematica's formalization by Landon Elkind.

WARNING: the documentation is currently under heavy WIP and can be highly volatile

Why working on it

  • Principia Mathematica has a stable version
  • Principia Mathematica is not textbook math
  • Formalized PM is a good textbook for verifiers
  • Formalizing PM feels like building an obelisk
  • Rocq doesn't need a lot of version updates

How well have you formalized?

Which means 3 questions:

  • How much can you formalize? Theoretically, the whole book. See overview for analysis and features.
  • How much have you formalized? 194 - 94 = 100 pages. See mechanics for detailed discussions.
  • How deep can you formalize? We're using shallow embedding, which is not rigorous deep embedding. We didn't type the propositions, so the proofs are still not 100% correct. See audit for our major defects.

Running the code

Coq/Rocq version: >= 8.20.0, < 9.0, installed with the opam environment:

opam update
opam install coq
opam pin add coq 8.20.0

Running the project:

make

The awesome Makefile gathered from @clarus's awesome repo, is supposed to automatically detect all .v files under the pm folder, generate the _CoqProject file and compile the whole folder. This is done without deploying the project with dune environment.

Running the code, line by line

IDEs for Coq/Rocq varies, but here is my preference:

  • WSL instance: Ubuntu 18.04 on WSL 2
  • VS Code version: 1.80.0
  • Extension installed on VSCode locally: WSL. When running the extension, it will generate a notification to help you install VSCode support in the current WSL instance.
  • Extension installed on VSCode, in its remote WSL environment: VSCoq v0.3.7 from OpenVSX.

To contribute

Although I have tried to organize the issues well to indicate the current progress, I don't have rich experience in collaborations. A contribution guideline is currently working in progress. It's still suggested to open a new issue for inquiries, and I'll see what I can give.

Related works

Other useful links

About

Continuation on formalizing Principia Mathematica

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors