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 813 B image not shown  

Quelle  case_let_conversion.v   Sprache: Coq

 
Axiom checker_flags : Set.

Inductive Box (R : Type) : Type := box : Box R.

Inductive typing (H : checker_flags) : Type :=
| type_Rel : typing H -> typing H
| type_Case : let i := tt in Box (typing H) -> typing H.

Definition unbox (P : Type) (b : Box P) := match b with box _ => 0 end.

Definition size (H : checker_flags) (d : typing H) : nat.
Proof.
revert d.
fix size 1.
destruct 1.
exact (size d).
exact (unbox _ b).
Defined.

Definition foo (H : checker_flags) (a : typing H) :
  size H (type_Rel H a) = size H a.
Proof.
simpl.
reflexivity.
Qed.

Definition bar (H : checker_flags) (a : typing H) :
  size H (type_Rel H a) = size H a.
Proof.
vm_compute.
reflexivity.
Qed.

Definition qux (H : checker_flags) (a : typing H) :
  size H (type_Rel H a) = size H a.
Proof.
native_compute.
reflexivity.
Qed.

Messung V0.5
C=92 H=99 G=95

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