Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Proof that if 0 = 1 then all naturals are the same number. All definitions of naturals and equality, even their properties are entirely made directly. No external or library definition was used.

Notifications You must be signed in to change notification settings

mayconamaro/natural-explosion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Naturals Explosion

typecheck

What is it?

A formally verified proof that if 0 equals 1 then all naturals are the same number. I’m a computer scientist so 0 is natural for me. 😁

Why? It’s about making a point.

It may look unuseful, but did you ever wondered the consequences of simple false statements? Have you ever thought that simply supposing that zero equals one can lead to natural numbers being blown up?

But not really. I’m just practicing Agda

Here, using the knowledge acquired with the Equality Chapter from the book Programming Language Foundations in Agda (Kokke & Wadler), I’ve proved that for practicing purposes. The proof is self-contained: every definition and property is explicitly defined.

And you can use the idea to practice whatever you wish

Learning a proof assistant? Try out the idea! I’d love to see it.

About

Proof that if 0 = 1 then all naturals are the same number. All definitions of naturals and equality, even their properties are entirely made directly. No external or library definition was used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages