Skip to content

acondolu/nf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nf Build Status

This repository contains the formalisation in Coq of a basic set theory with universal set. It started as an investigation into the (alleged) consistency of Quine's New Foundations, but of course, settled on a much weaker theory 😉

The set theory that we consider here is known as NF2, and the model that we provide is basically a Church-Oswald model, using an encoding inspired by the historic encoding of ZF in Coq by Aczel (see https://github.com/coq-contribs/zfc).

The basic operations of NF2 are the empty set, singletons, unions, intersections, and complement. The usual operations of ZF, like comprehension and powerset, are allowed only for so-called low sets, which correspond to the usual understanding of sets as collections of given sets.

Structure

  • Model.v defines the model, set equality, and set membership. It proves that equality is an equivalence relation, and that it is sound w.r.t. set membership.
  • Sets.v defines singleton, set complement, union, and intersection.
  • Ext.v proves extensionality of sets.
  • ZF.v proves some axioms of Zermelo-Fraenkel set theory. Some are falsified altogether (like regularity), some hold (like pairing, union, infinity), some hold only for low_ sets (comprehension, replacement, powerset).

Compiling

Just type make. The coqc executable is required.

References


© acondolu 2020

About

NF2, a basic set theory with universal set

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published