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

Quelle  bug_19284.v   Sprache: Coq

 
Require Export Corelib.Program.Tactics.

Set Printing Universes.

Polymorphic Class Countable A := { encode : A }.
Axiom NonExpansive : Prop.
Axiom gmapURF : forall K {_ : Countable K} , NonExpansive.

Local Obligation Tactic := idtac.

Program Definition gmapRF K {_ : Countable K} : NonExpansive := _.

Solve Obligations with apply gmapURF.
(* Next Obligation. apply gmapURF. Qed. *)
(*
Error: Illegal application:
The term "gmapRF_obligation_1" of type
 "forall K : Type@{gmapURF.u0}, Countable@{gmapURF.u0} K -> NonExpansive"
cannot be applied to the terms
 "K" : "Type@{gmapRF_obligation_1.u0}"
 "c" : "Countable@{gmapRF_obligation_1.u0} K"
The 1st term has type "Type@{gmapRF_obligation_1.u0}" which should be a subtype of
 "Type@{gmapURF.u0}".
*)

99%


¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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 ist noch experimentell.