Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/failure/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 745 B image not shown  

Quelle  Uminus.v   Sprache: Coq

 
(* Check that the encoding of system U- fails *)

Inductive prop : Prop := down : Prop -> prop.

(* Coq should reject the following access of a Prop buried inside
   a prop. *)


Fail Definition up (p:prop) : Prop := let (A) := p in A.

(* Otherwise, we would have a proof of False via Hurkens' paradox *)

Axiom Hurkens_NoRetractFromSmallPropositionToProp_paradox :
  forall (bool : Prop) (p2b : Prop -> bool) (b2p : bool -> Prop),
    (forall A : Prop, b2p (p2b A) -> A) ->
    (forall A : Prop, A -> b2p (p2b A)) -> forall B : Prop, B.

Fail Definition paradox : False :=
 Hurkens_NoRetractFromSmallPropositionToProp_paradox
   prop
   down
   up
   (fun (A:Prop) (x:up (down A)) => (x:A))
   (fun (A:Prop) (x:A) => (x:up (down A)))
   False.

Messung V0.5
C=95 H=96 G=95

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.