std/logic

  Source   Edit

This module provides further logic operators like 'forall' and 'exists' They are only supported in .ensures etc pragmas.

Procs

proc `->`(a, b: bool): bool {.magic: "Implies", ...raises: [], tags: [].}
  Source   Edit
proc `<->`(a, b: bool): bool {.magic: "Iff", ...raises: [], tags: [].}
  Source   Edit
proc exists(args: varargs[untyped]): bool {.magic: "Exists", ...raises: [],
    tags: [].}
  Source   Edit
proc forall(args: varargs[untyped]): bool {.magic: "Forall", ...raises: [],
    tags: [].}
  Source   Edit
proc old[T](x: T): T {.magic: "Old", ...raises: [], tags: [].}
  Source   Edit