Object

at.logic.gapt.expr.fol

undoHol2Fol

Related Doc: package fol

Permalink

object undoHol2Fol extends Logger

This is implements some heuristics to convert a fol formula obtained by at.logic.gapt.language.fol.algorithms.replaceAbstractions and at.logic.gapt.language.fol.algorithms.reduceHolToFol back to its original signature. Sometimes, types have to be guessed and the code is poorly tested, so it is unclear how general it is. It works (and is necessary) during the acnf creation of the n-tape proof.

To extract a signature, use the undoHol2Fol.getSignature, to to the back translation use undoHol2Fol.backtranslate.

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

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 backtranslate(e: LambdaExpression, sig_vars: Map[String, List[Var]], sig_consts: Map[String, List[Const]], abssymbol_map: Map[String, LambdaExpression], expected_type: Option[TA]): LambdaExpression

    Permalink

    We do some dirty stuff in here to translate a prover9 term back to the richer type signature of hol proofs, undoing replace abstractions at the same time.

  6. def backtranslate(e: LambdaExpression, sig_vars: Map[String, List[Var]], sig_consts: Map[String, List[Const]], abssymbol_map: Map[String, LambdaExpression]): HOLFormula

    Permalink

    Translate the fol formula e to a hol formula over the given signature for constants and variables.

    Translate the fol formula e to a hol formula over the given signature for constants and variables.

    e

    the fol formula.

    sig_vars

    a mapping fol name to hol var with appropriate type

    sig_consts

    a mapping fol name to hol const with appropriate type

    abssymbol_map

    a mapping fol constant name to a lambda expression (obtained by replaceAbstractions)

    returns

    the changed formula

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def debug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(msg: ⇒ String, e: Throwable): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  12. def error(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getSignature(e: LambdaExpression, csig: Map[String, Set[Const]], vsig: Map[String, Set[Var]]): (Map[String, Set[Const]], Map[String, Set[Var]])

    Permalink
  16. def getSignature(fs: List[LambdaExpression]): (Map[String, Set[Const]], Map[String, Set[Var]])

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def info(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val ivy_varname: Regex

    Permalink
  21. val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  22. def loggerName: String

    Permalink
    Definition Classes
    undoHol2FolLogger
  23. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def trace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def warn(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  33. def warn(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped