reduceHolToFol
gapt.expr.formula.fol.reduceHolToFol
object reduceHolToFol
Creates a FOL formula from a HOL formula, but applies transformations which do not preserve validity! Transformations applied:
- Replace all subterms (\x.t[v]) by a function q_n(v). The scope parameter is needed to pass existing term-constant mappings.
- Change the type of constants and variables s.t. they are first order (i.e. Const("c", To->Ti) is mapped to FOLConst("c",Ti)
- Logical operators inside the term structure are replaced by first order terms
Attributes
- Note
-
Make sure you need all of these tricks. To only replace abstraction subterms, use replaceAbstractions.
- Source
- hol2fol.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
reduceHolToFol.type
Members list
In this article