X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_rg%2FbrgReduction.mli;h=840b72fd3a2999654c86ad74e31279ac5c070e58;hb=2e451dca46e509fd7e7772f3d2e438c189ce10a1;hp=e5c670dd42f91c56ab1a81da9a4f4c208e5c6596;hpb=94c6cfe7e6b833190904c6b546668d716978a812;p=helm.git diff --git a/helm/software/lambda-delta/basic_rg/brgReduction.mli b/helm/software/lambda-delta/basic_rg/brgReduction.mli index e5c670dd4..840b72fd3 100644 --- a/helm/software/lambda-delta/basic_rg/brgReduction.mli +++ b/helm/software/lambda-delta/basic_rg/brgReduction.mli @@ -9,9 +9,18 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -exception TypeError of Brg.message +type kam -(* arguments: expected type, inferred type, typed term *) -val assert_conversion: - (unit -> 'a) -> ?si:bool -> ?rt:bool -> - Brg.context -> Brg.term -> Brg.term -> Brg.term -> 'a +val empty_kam: kam + +val get: (unit -> 'a) -> (Brg.bind -> 'a) -> kam -> int -> 'a + +val push: kam -> Brg.bind -> kam + +val xwhd: Entity.status -> kam -> Brg.term -> kam * Brg.term + +(* arguments: expected type, inferred type *) +val are_convertible: + Entity.status -> kam -> Brg.term -> kam -> Brg.term -> bool + +val specs: (kam, Brg.term) Log.specs