package electrod
Formal analysis for the Electrod formal pivot language
Install
Dune Dependency
Authors
Maintainers
Sources
electrod-0.3.2.tbz
sha256=c58502de17f5b8d739963b5b5d7c761883305bc2b6464fc37769aae4bb31a28c
sha512=bc15032cbda06b0eb64d55cc7800d6c992c0823bb86609ddc5e56744fd0c76ea25b4f4ad7cafdee6fcaa2f109e48ca99f4270919f9a2ea4c7bf53f30b0ee3677
doc/src/electrod.libelectrod/Instance.ml.html
Source file Instance.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
(******************************************************************************* * electrod - a model finder for relational first-order linear temporal logic * * Copyright (C) 2016-2019 ONERA * Authors: Julien Brunel (ONERA), David Chemouil (ONERA) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * SPDX-License-Identifier: MPL-2.0 * License-Filename: LICENSE.md ******************************************************************************) open Containers module Map = Name.Map type t = Tuple_set.t Map.t let empty = Map.empty let mem = Map.mem let add name rel ts = assert (not @@ Map.mem name ts) ; Map.add name rel ts let get_exn = Map.find let get = Map.get let to_list = Map.to_list let of_list = Map.of_list let to_map x = x let pp out rels = let open Fmtc in (styled `Bold pf) out "inst@ " ; pf out " %a" ( vbox @@ Map.pp ~sep:" " ~arrow:" = " ~start:"" ~stop:"" (styled `Cyan Name.pp) Tuple_set.pp ) rels let rename atom_renaming name_renaming inst = to_list inst |> List.map (fun (name, ts) -> ( List.assoc ~eq:Name.equal name name_renaming , Tuple_set.rename atom_renaming ts )) |> of_list module P = Intf.Print.Mixin (struct type nonrec t = t let pp = pp end) include P
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>