Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  bug_9756.v   Sprache: Coq

 

Module Bad.

Record box (A : Set) : Prop := Box { _ : A }.
Record foo@{i} (A:Type@{i}) := Foo { _ : Set:Type@{i} }.
Require Import TestSuite.hurkens.
Fail Definition bad : False := NoRetractFromSmallPropositionToProp.paradox
  _ _ (fun '(Foo _ x) => box x) (fun _ '(Box _ x) => x) Box _.
(* Error: Anomaly "Bad recursive type." Please report at http://coq.inria.fr/bugs/. *)

End Bad.

Module Alt.
  Inductive Box (A:Type) := box (_:A).

  (* it would be better if pattern matching compilation used template
     poly to make this succeed *)

  Fail Check (fun v => match v with box _ x => x end)
    :> forall x : (_ (* success if this is Box True *) :> Prop), True.
End Alt.

Messung V0.5
C=93 H=96 G=94

¤ Dauer der Verarbeitung: 0.16 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge