Class/Object

edu.tum.cs.isabelle

System

Related Docs: object System | package isabelle

Permalink

sealed abstract class System extends AnyRef

A running instance of a prover.

This class is thread-safe, that is, running multiple operations at the same time is expected and safe.

See also

edu.tum.cs.isabelle.setup.Setup

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. System
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cancellableInvoke[I, O](operation: Operation[I, O])(arg: I): CancellableFuture[ProverResult[O]]

    Permalink

    Invoke an operation on the prover, that is, encode the input argument, send it to the prover and stream the results to the observer of the operation.

    Invoke an operation on the prover, that is, encode the input argument, send it to the prover and stream the results to the observer of the operation.

    The observer is automatically instantiated with the underlying environment specified when creating the system.

    The returned future gets fulfilled when the observer transitions into either Success or Failure state.

    Any well-formed response, even if it is an "error", is treated as a success. Only ill-formed responses, e.g. due to decoding errors, will mark the future as failed. Custom observers may deviate from this, but it is generally safe to assume that a failed future represents an internal error (e.g. due to a wrong codec), whereas a successful future may contain expected errors (e.g. due to a wrong input argument or a failing proof).

  2. abstract def dispose: Future[Unit]

    Permalink

    Instruct the prover to shutdown.

    Instruct the prover to shutdown.

    Includes unchecked cancellation of all running operations by virtue of the system shutting down completely. Pending futures will not be marked as failed.

    It is recommended to wait for all pending futures to complete, or call cancel on them before shutdown. It is guaranteed that when the returned future succeeds, the prover has been shut down.

    Calling anything after dispose is undefined. The object should not be used afterwards.

    Depending on the implementation details of the environment used to create this system, it may be unneccessary to call this method. In any case, it is good practice to call it.

    See also

    executionContext

  3. implicit abstract val executionContext: ExecutionContext

    Permalink

    The execution context used internally for bi-directional communication with the prover.

    The execution context used internally for bi-directional communication with the prover.

    Guaranteed to be the same execution context as the execution context of the environment used to create this system.

    It is fine to use this execution context for other purposes, for example to transform the futures produced by invoking operations.

    Since it is marked as implicit, it can be readily imported and used.

    See also

    dispose

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def invoke[I, O](operation: Operation[I, O])(arg: I): Future[ProverResult[O]]

    Permalink
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped