Packages

c

edu.cmu.cs.ls.keymaerax.core

ProgramConst

case class ProgramConst(name: String, space: Space = AnyArg) extends NamedSymbol with AtomicProgram with SpaceDependent with Product with Serializable

Uninterpreted program constant symbol / game symbol, possibly limited to the given state space. The semantics of ProgramConst symbol is looked up by the state, with the additional promise that taboos are neither free nor bound, so the run does not depend on the value of taboos nor does the value of taboos change when space=Except(taboos).

space

The part of the state space that the interpretation/replacement of this symbol is limited to have free or bound.

  • AnyArg is the default allowing full read/write access to the state.
  • Taboo(x) means x can neither be free nor bound. Written a{|x|} in internal syntax.
Note

In theory, a; is written a. By analogy, a{|x|} has read/write access to the entire state except the taboo x.

Linear Supertypes
Serializable, Serializable, Product, Equals, SpaceDependent, StateDependent, AtomicProgram, Atomic, Program, NamedSymbol, Ordered[NamedSymbol], Comparable[NamedSymbol], Expression, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProgramConst
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SpaceDependent
  7. StateDependent
  8. AtomicProgram
  9. Atomic
  10. Program
  11. NamedSymbol
  12. Ordered
  13. Comparable
  14. Expression
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProgramConst(name: String, space: Space = AnyArg)

    space

    The part of the state space that the interpretation/replacement of this symbol is limited to have free or bound.

    • AnyArg is the default allowing full read/write access to the state.
    • Taboo(x) means x can neither be free nor bound. Written a{|x|} in internal syntax.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: NamedSymbol): Boolean
    Definition Classes
    Ordered
  4. def <=(that: NamedSymbol): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: NamedSymbol): Boolean
    Definition Classes
    Ordered
  7. def >=(that: NamedSymbol): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asString: String

    Get name with index of this NamedSymbol.

    Get name with index of this NamedSymbol.

    Definition Classes
    ProgramConstNamedSymbol
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compare(other: NamedSymbol): Int

    Compare named symbols lexicographically: by name, index, category.

    Compare named symbols lexicographically: by name, index, category.

    returns

    0 for equal symbols <0 if this is lexicographically before other >0 if this is lexicographically after other

    Definition Classes
    NamedSymbol → Ordered
    Note

    not used in the core, so not soundness-critical, but breaks tactics if wrong.

  12. def compareTo(that: NamedSymbol): Int
    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): scala.Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fullString: String

    Full string with names and full types

    Full string with names and full types

    Definition Classes
    NamedSymbol
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final val index: Option[Int]
    Definition Classes
    SpaceDependent
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val kind: Kind

    What kind of an expression this is, e.g., TermKind, FormulaKind, ProgramKind.

    What kind of an expression this is, e.g., TermKind, FormulaKind, ProgramKind.

    Definition Classes
    ProgramExpression
  20. val name: String
    Definition Classes
    ProgramConstNamedSymbol
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): scala.Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): scala.Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def prettyString: String

    Pretty-printed string representing this expression

    Pretty-printed string representing this expression

    Definition Classes
    Expression
  25. final val sort: Sort

    The sort of this expression, e.g., Real, Bool.

    The sort of this expression, e.g., Real, Bool.

    Definition Classes
    ProgramExpression
  26. val space: Space

    The space that this expression lives on.

    The space that this expression lives on.

    Definition Classes
    ProgramConstSpaceDependent
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    NamedSymbolExpression → AnyRef → Any
  29. final def wait(): scala.Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): scala.Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): scala.Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SpaceDependent

Inherited from StateDependent

Inherited from AtomicProgram

Inherited from Atomic

Inherited from Program

Inherited from NamedSymbol

Inherited from Ordered[NamedSymbol]

Inherited from Comparable[NamedSymbol]

Inherited from Expression

Inherited from AnyRef

Inherited from Any

Ungrouped