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

gapt.logic.hol.AndOr.scala Maven / Gradle / Ivy

The newest version!
package gapt.logic.hol

import gapt.expr.formula.{And, Formula, MonoidalBinaryPropConnectiveHelper, Or}

object AndOr {
  def unapply(formula: Formula): Option[(Formula, Formula, MonoidalBinaryPropConnectiveHelper)] =
    formula match {
      case And(alpha, beta) => Some((alpha, beta, And))
      case Or(alpha, beta)  => Some((alpha, beta, Or))
      case _                => None
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy