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


Quelle  InductiveVsImplicitsVsTC.v   Sprache: Coq

 
Module NoConv.
  Class C := {}.

  Definition useC {c:C} := nat.

  Inductive foo {a b : C} := CC : useC -> foo.
  (* If TC search runs before parameter unification it will pick the
     wrong instance for the first parameter.

     useC makes sure we don't completely skip TC search.
   *)

End NoConv.

Module ForConv.

  Class Bla := { bla : Type }.

  #[exportInstance bli : Bla := { bla := nat }.

  Inductive vs := C : forall x : bla, x = 2 -> vs.
  (* here we need to resolve TC to pass the conversion problem if we
     combined with the previous example it would fail as TC resolution
     for conversion is unrestricted and so would resolve the
     conclusion too early. *)


End ForConv.

Messung V0.5
C=94 H=80 G=87

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