(* -*- mode: coq; coq-prog-args: ("-nois") -*- *) (* File reduced by coq-bug-finder from original input, then from 286 lines to 27lines,thenfrom224linesto53lines,thenfrom218linesto56lines, thenfrom269linesto180lines,thenfrom132linesto48lines,thenfrom
253 lines to 65 lines, then from 79 lines to 65 lines *) (* coqc version 8.6.0 (November 2016) compiled on Nov 12 2016 14:43:52 with OCaml4.02.3 coqtopversionjgross-Leopard-WS:/home/jgross/Downloads/coq/coq-v8.6,v8.6
(7e992fa784ee6fa48af8a2e461385c094985587d) *) Axiom admit : forall {T}, T. Set Printing Implicit. Inductive nat := O | S (_ : nat). Axiom f : forall (_ _ : nat), nat. Class ZLikeOps (e : nat)
:= { LargeT : Type ; SmallT : Type ; CarryAdd : forall (_ _ : LargeT), LargeT
}. Class BarrettParameters :=
{ b : nat ; k : nat ; ops : ZLikeOps (f b k) }. Axiom barrett_reduce_function_bundled : forall {params : BarrettParameters}
(_ : @LargeT _ (@ops params)),
@SmallT _ (@ops params).
GlobalInstance ZZLikeOps e : ZLikeOps (f (S O) e)
:= { LargeT := nat ; SmallT := nat ; CarryAdd x y := y }. Definition SRep := nat. LocalInstance x86_25519_Barrett : BarrettParameters
:= { b := S O ; k := O ; ops := ZZLikeOps O }. Definition SRepAdd : forall (_ _ : SRep), SRep
:= let v := (fun x y => barrett_reduce_function_bundled (CarryAdd x y)) in
v. Definition SRepAdd' : forall (_ _ : SRep), SRep
:= (fun x y => barrett_reduce_function_bundled (CarryAdd x y)). (* Error: Inenvironment x:SRep y:SRep Theterm"x"hastype"SRep"whileitisexpectedtohavetype "@LargeT?e?ZLikeOps".
*)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-09-29)
¤
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.