https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 520e1cb70184040b512c2e4530cda21648cb6c8a authored by Antoine Séré on 12 August 2022, 17:30:24 UTC
Existence of a generator of the multiplicative group of a finite field proven
Tip revision: 520e1cb
ecTypeClass.mli
(* -------------------------------------------------------------------- *)
open EcPath

type node = path

type graph
type nodes

exception CycleDetected

module Graph : sig
  val empty : graph
  val add : src:node -> dst:node -> graph -> graph
  val has_path : src:node -> dst:node -> graph -> bool
  val dump : graph -> string
end

module Nodes : sig
  val empty : graph -> nodes
  val add : node -> nodes -> nodes
  val toset : nodes -> Sp.t
  val reduce : Sp.t -> graph -> Sp.t
end
back to top