All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.io.ksmt.solver.yices.TermUtils.kt Maven / Gradle / Ivy

There is a newer version: 0.5.26
Show newest version
package io.ksmt.solver.yices

import com.sri.yices.Terms

@Suppress("SpreadOperator")
object TermUtils {
    @JvmStatic
    fun andTerm(args: YicesTermArray) = Terms.and(*args)

    @JvmStatic
    fun orTerm(args: YicesTermArray) = Terms.or(*args)

    @JvmStatic
    fun addTerm(args: YicesTermArray) = Terms.add(*args)

    @JvmStatic
    fun mulTerm(args: YicesTermArray) = Terms.mul(*args)

    @JvmStatic
    fun distinctTerm(args: YicesTermArray) = Terms.distinct(*args)

    @JvmStatic
    fun funApplicationTerm(func: YicesTerm, args: YicesTermArray) = Terms.funApplication(func, *args)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy