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

Quelle  compare.v   Sprache: Coq

 
Require Import PrimInt63.

Set Implicit Arguments.

Open Scope uint63_scope.

Check (eq_refl : compare 1 1 = Eq).
Check (eq_refl Eq <: compare 1 1 = Eq).
Check (eq_refl Eq <<: compare 1 1 = Eq).
Definition compute1 := Eval compute in compare 1 1.
Check (eq_refl compute1 : Eq = Eq).

Check (eq_refl : compare 1 2 = Lt).
Check (eq_refl Lt <: compare 1 2 = Lt).
Check (eq_refl Lt <<: compare 1 2 = Lt).
Definition compute2 := Eval compute in compare 1 2.
Check (eq_refl compute2 : Lt = Lt).

Check (eq_refl : compare 9223372036854775807 0 = Gt).
Check (eq_refl Gt <: compare 9223372036854775807 0 = Gt).
Check (eq_refl Gt <<: compare 9223372036854775807 0 = Gt).
Definition compute3 := Eval compute in compare 9223372036854775807 0.
Check (eq_refl compute3 : Gt = Gt).

Messung V0.5
C=95 H=86 G=90

¤ 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.