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

Quelle  NumberNotationsUnivPoly.v   Sprache: Coq

 
Set Universe Polymorphism.
Axiom A : Type.

Inductive B : A -> Type :=
| x {a} : B a
| y {a} : B a -> B a
.

Number Notation B Nat.of_num_uint Nat.to_num_uint
  (via nat mapping [[x] => O, [y] => S]) : nat_scope.

Check 0.
Check 1.
Check 2.

(* check it generates independent univs *)
Definition foo@{v v' | v <= prod.u0, v' <= prod.u1} :=
  fun (v:A@{v}) (v':A@{v'}) => (x : B v, y x : B v').

Set Printing Universes.
Print foo.

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

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