
gapt.proofs.resolution.utils.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gapt_3 Show documentation
Show all versions of gapt_3 Show documentation
General Architecture for Proof Theory
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