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


Quelle  bug_13428.v   Sprache: Coq

 
Arguments plus : simpl never.

Lemma test1 P : P 3 -> P (1 + 2).
Proof.
intros p3.
simpl.
match goal with |- P (_ + _) => idtac "ok" end.
assumption.
Qed.

Definition plus' := plus.

Lemma test2 P : P 3 -> P (plus' 1 2).
Proof.
intros p3.
simpl.
match goal with |- P (plus' _ _) => idtac "ok" end.
assumption.
Qed.

Lemma test3 P : P 3 -> P (1 + 2).
Proof.
intros p3.
pose (plus'' := plus).
assert (P (plus'' 1 2)).
simpl.
match goal with |- P (plus'' _ _) => idtac "ok" end.
assumption.
assumption.
Qed.

Fixpoint rec_id (x : nat) := match x with O => O | S p => S (rec_id p) end.

Arguments rec_id : simpl never.

Lemma test4 P : P 3 -> P (rec_id 3).
Proof.
intros p3.
simpl.
match goal with |- P (rec_id _) => idtac "ok" end.
assumption.
Qed.

Arguments rec_id ! _ / .
Lemma test5 P : P 3 -> P (rec_id 3).
Proof.
intros p3.
simpl.
match goal with |- P 3 => idtac "ok" end.
assumption.
Qed.

Messung V0.5
C=95 H=100 G=97

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