case class ForwardChain(lemmaLabel: String, targetMode: TacticApplyMode = UniqueFormula, substitution: Map[Var, Expr] = Map()) extends Tactical1[Unit] with Product with Serializable

Creates forward chaining tactics.

A forward chaining tactic replaces a goal of the form Γ, A(t), ∀x(A(t) → B(t)) ⇒ Δ by Γ, A(t), ∀x(A(t) → B(t)), B(t) ⇒ Δ.

Source
complexTactics.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForwardChain
  2. Serializable
  3. Product
  4. Equals
  5. Tactical1
  6. Tactic
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ForwardChain(lemmaLabel: String, targetMode: TacticApplyMode = UniqueFormula, substitution: Map[Var, Expr] = Map())

Type Members

  1. class FindFormula extends AnyRef
    Attributes
    protected
    Definition Classes
    Tactical1

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ForwardChain toany2stringadd[ForwardChain] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ForwardChain, B)
    Implicit
    This member is added by an implicit conversion from ForwardChain toArrowAssoc[ForwardChain] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def aka(newName: => String): Tactic[Unit]
    Definition Classes
    Tactic
  7. def andThen[S](t2: => Tactic[S]): Tactic[S]
    Definition Classes
    Tactic
  8. def apply(goal: OpenAssumption): Tactic[Unit]
    Definition Classes
    ForwardChainTactical1
  9. def apply(proofState: ProofState): Either[TacticFailure, (Unit, ProofState)]
    Definition Classes
    Tactical1Tactic
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. def cut(errorMessage: String): Tactic[Unit]
    Definition Classes
    Tactic
  13. def ensuring(cond: (ForwardChain) => Boolean, msg: => Any): ForwardChain
    Implicit
    This member is added by an implicit conversion from ForwardChain toEnsuring[ForwardChain] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ForwardChain) => Boolean): ForwardChain
    Implicit
    This member is added by an implicit conversion from ForwardChain toEnsuring[ForwardChain] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): ForwardChain
    Implicit
    This member is added by an implicit conversion from ForwardChain toEnsuring[ForwardChain] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ForwardChain
    Implicit
    This member is added by an implicit conversion from ForwardChain toEnsuring[ForwardChain] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def findFormula(goal: OpenAssumption, mode: TacticApplyMode): FindFormula
    Attributes
    protected
    Definition Classes
    Tactical1
  19. def flatMap[S](f: (Unit) => Tactic[S])(implicit file: File, line: Line): Tactic[S]
    Definition Classes
    Tactic
  20. def focused: Tactic[Unit]
    Definition Classes
    Tactic
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val lemmaLabel: String
  24. def map[S](f: (Unit) => S)(implicit file: File, line: Line): Tactic[S]
    Definition Classes
    Tactic
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def onAll[S](t2: => Tactic[S]): Tactic[Unit]
    Definition Classes
    Tactic
  29. def onAllSubGoals: Tactic[Unit]
    Definition Classes
    Tactic
  30. def onCurrentSubGoal: Tactic[Unit]
    Definition Classes
    Tactic
  31. def orElse[S >: Unit](t2: => Tactic[S]): Tactic[S]

    Returns result of first tactical, if there is any, else it returns the result of the second tactical, with the possibility of no result from either.

    Returns result of first tactical, if there is any, else it returns the result of the second tactical, with the possibility of no result from either.

    Definition Classes
    Tactic
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def quiet: Tactic[Unit]
    Definition Classes
    Tactic
  34. def quietOnly(loggers: Logger*): Tactic[Unit]
    Definition Classes
    Tactic
  35. def replace(proof: LKProof): Tactic[Unit]
    Attributes
    protected
    Definition Classes
    Tactical1
  36. val substitution: Map[Var, Expr]
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. val targetMode: TacticApplyMode
  39. def verbose: Tactic[Unit]
    Definition Classes
    Tactic
  40. def verboseOnly(loggers: Logger*): Tactic[Unit]
    Definition Classes
    Tactic
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ForwardChain toStringFormat[ForwardChain] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ForwardChain, B)
    Implicit
    This member is added by an implicit conversion from ForwardChain toArrowAssoc[ForwardChain] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Tactical1[Unit]

Inherited from Tactic[Unit]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromForwardChain to any2stringadd[ForwardChain]

Inherited by implicit conversion StringFormat fromForwardChain to StringFormat[ForwardChain]

Inherited by implicit conversion Ensuring fromForwardChain to Ensuring[ForwardChain]

Inherited by implicit conversion ArrowAssoc fromForwardChain to ArrowAssoc[ForwardChain]

Ungrouped