package catala

  1. Overview
  2. Docs
Compiler and library for the literate programming language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.0.tar.gz
md5=b22e238d5d5c8452067109e9c7c0f427
sha512=ccc8c557c67c2f9d1bed4b957b2367f0f6afc0ef9b8b83237cf2a2912b3e8829b7e8af78ea7fe00b20ecf28b436ad04b591e5fff4f82fd08725d40a18c9924d0

doc/catala.verification/Verification/Conditions/index.html

Module Verification.ConditionsSource

Generates verification conditions from scope definitions

Sourcetype verification_condition_kind =
  1. | NoEmptyError
    (*

    This verification condition checks whether a definition never returns an empty error

    *)
  2. | NoOverlappingExceptions
    (*

    This verification condition checks whether a definition never returns a conflict error

    *)
Sourcetype verification_condition = {
  1. vc_guard : Dcalc.Ast.expr Utils.Pos.marked;
    (*

    This expression should have type bool

    *)
  2. vc_kind : verification_condition_kind;
  3. vc_scope : Dcalc.Ast.ScopeName.t;
  4. vc_variable : Dcalc.Ast.Var.t Utils.Pos.marked;
  5. vc_free_vars_typ : Dcalc.Ast.typ Utils.Pos.marked Dcalc.Ast.VarMap.t;
    (*

    Types of the locally free variables in vc_guard. The types of other free variables linked to scope variables can be obtained with Dcalc.Ast.variable_types.

    *)
}
Sourceval generate_verification_conditions : Dcalc.Ast.program -> verification_condition list
OCaml

Innovation. Community. Security.