Skip to content

Translation in Coq of the HOL-Light definition of real numbers using binary natural numbers

License

Notifications You must be signed in to change notification settings

Deducteam/coq-hol-light-real-with-N

Repository files navigation

HOL-Light definition of real numbers in Coq using N

This library provides a translation in Coq of the definition of real numbers in HOL-Light, using the Coq type N for natural numbers (it is an adaptation of coq-hol-light-real-with-nat).

It has been automatically generated from HOL-Light using hol2dk and lambdapi.

Proofs are not included but can be regenerated and rechecked by running reproduce (it takes about 7 minutes on a machine with 32 processors Intel Core i9-13950HX and 64 Gb RAM).

As HOL-Light is based on higher-order logic, this library assumes classical logic, Hilbert's ε operator, functional and propositional extensionnality:

Axiom classic : forall P:Prop, P \/ ~ P.
Axiom constructive_indefinite_description : forall (A : Type) (P : A->Prop), (exists x, P x) -> { x : A | P x }.
Axiom fun_ext : forall {A B : Type} {f g : A -> B}, (forall x, (f x) = (g x)) -> f = g.
Axiom prop_ext : forall {P Q : Prop}, (P -> Q) -> (Q -> P) -> P = Q.
Axiom proof_irrelevance : forall (P:Prop) (p1 p2:P), p1 = p2.

Installation using opam

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-hol-light-real-with-N

Usage in a Coq file

Require Import HOLLight_Real_With_N.theorems.
Check thm_REAL_COMPLETE.

About

Translation in Coq of the HOL-Light definition of real numbers using binary natural numbers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages