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


Quelle  PrintPrimProj.v   Sprache: Coq

 
Set Primitive Projections.

Record Box (A:Type) := box { unbox : A }.

Definition ubox := @unbox.

Axiom trip : nat -> nat -> nat -> Prop.

Ltac show_goal := match goal with |- ?g => idtac g end.

Lemma foo (n:Box nat) :
  (* constant, folded, unfolded *)
    trip (ubox _ n) (unbox _ n) (match n with box _ n => n end).
Proof.
  simpl(* remove extra letins introduced by match compilation *)
  cbv delta [ubox].
  show_goal.

  Set Printing Unfolded Projection As Match.
  show_goal.

  Set Printing Projections.
  show_goal.

  Unset Printing Unfolded Projection As Match.
  show_goal.

  Arguments unbox {_}.
  show_goal.

  Set Printing Unfolded Projection As Match.
  show_goal.

  Unset Printing Projections.
  show_goal.
Abort.

Messung V0.5
C=98 H=99 G=98

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