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

Quelle  rewrule_quality_match.v   Sprache: Coq

 
(* -*- mode: coq; coq-prog-args: ("-allow-rewrite-rules") -*- *)

#[universes(polymorphic)] Symbol irrel@{q;u} : forall {A : Type@{q;u}}, A -> bool.

Rewrite Rule id_rew :=
| irrel@{SProp|_} _ => true
| irrel@{Type|_} _ => false.

Inductive STrue : SProp := SI.

Goal True.
  let c := constr:((irrel SI, irrel tt)) in
  let cl := eval lazy in c in
  constr_eq cl (true, false).

  let c := constr:((irrel SI, irrel tt)) in
  let cl := eval cbv in c in
  constr_eq cl (true, false).

  let c := constr:((irrel SI, irrel tt)) in
  let cl := eval cbn in c in
  constr_eq cl (true, false).

  let c := constr:((irrel SI, irrel tt)) in
  let cl := eval simpl in c in
  constr_eq cl (true, false).

  exact I.
Qed.

Messung V0.5
C=97 H=100 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.