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

gapt.proofs.resolution.utils.scala Maven / Gradle / Ivy

The newest version!
package gapt.proofs.resolution

object numberOfLogicalInferencesRes {
  def apply(p: ResolutionProof): Int =
    p.subProofs.count {
      case Resolution(_, _, _, _)    => true
      case Paramod(_, _, _, _, _, _) => true
      case _                         => false
    }
}

object containsEquationalReasoning {
  def apply(p: ResolutionProof): Boolean = p.subProofs exists {
    case _: Paramod => true
    case _: Refl    => true
    case _          => false
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy