gapt.formats.tptp.statistics

Members list

Type members

Classlikes

case class CASCResult(path: String, prover: Prover, problem: String, extension: String) extends FileData, Serializable

A filename that comes from the CASC competition: the prover and TSTP problem name are accessible. The filename is automatically set to $path/$prover-$problem$extension

A filename that comes from the CASC competition: the prover and TSTP problem name are accessible. The filename is automatically set to $path/$prover-$problem$extension

Value parameters

extension

The file extension

path

The problem path

problem

The TSTP library problem (see http://www.cs.miami.edu/~tptp/cgi-bin/SystemOnTPTP?TPTPProblem=$problem )

prover

The prover produceing the tstp file

Attributes

Companion
object
Source
common.scala
Supertypes
trait Product
trait Equals
class FileData
trait Serializable
trait InputFile
class Object
trait Matchable
class Any
Show all
object CASCResult

Attributes

Companion
class
Source
common.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
CASCResult.type
abstract class CommonProofStats[T <: FileData](val name: T, val dagSize: BigInt, val treeSize: BigInt, val depth: Int, val rule_histogram: Map[RuleName, Int], val clause_frequency: Map[ClauseId, Int], val reused_axioms: Map[RuleName, (String, Int)], val reused_derived: Map[RuleName, (String, Int)], val clause_sizes: Statistic[Int], val clause_weights: Statistic[Int]) extends Serializable, CSVConvertible[String]

Statistical data for a gapt.proofs.resolution.ResolutionProof proof rp

Statistical data for a gapt.proofs.resolution.ResolutionProof proof rp

Type parameters

T

a subtype of FileData that represents the location and metadata of a TSTP file

Value parameters

clause_frequency

a map from the clause id to how often the clause appears

clause_sizes

statistics over the length of clauses in the proof

dagSize

the same as rp.dagSize

depth

the same as sketch.depth

name

the name of the problem

reused_axioms

the frequency of all leaf nodes that are used at least once

reused_derived

the frequency of all inner nodes that are used at least once

rule_histogram

map from a rule's name to how often the rule appears in the proof

subst_term_depths

statistics about the term depths occurring in gapt.proofs.resolution.Subst rules

subst_term_sizes

statistics about the term sizes occurring in gapt.proofs.resolution.Subst rules

treeSize

the same as rp.treeSize

Attributes

Source
common.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class RPProofStats[T]
class TstpProofStats[T]

Divides a list of TstpError into its sublasses

Divides a list of TstpError into its sublasses

Type parameters

T

an instance of FileData to describe files

Value parameters

mf

malformed file

nf

file not found

pe

parsing error

re

reconstruction error

rg

reconstruction gave up

rt

reconstruction timeout

so

stack overflow

Attributes

Companion
object
Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
object ErrorBags

Companion object to ErrorBags

Companion object to ErrorBags

Attributes

Companion
class
Source
TstpStatistics.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ErrorBags.type

Easier representation of file paths data follow a certain schema

Easier representation of file paths data follow a certain schema

Attributes

Source
common.scala
Supertypes
trait Serializable
trait InputFile
class Object
trait Matchable
class Any
Show all
Known subtypes
class CASCResult
object UnknownFile.type
case class FileNotFound[+T <: FileData](file: T) extends TstpError[T]

Signifies that the file file.fileName does not exists

Signifies that the file file.fileName does not exists

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class MalformedFile[+T <: FileData](file: T) extends TstpError[T]

Signifies an error in the TSTP DAG

Signifies an error in the TSTP DAG

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ParsingError[+T <: FileData](file: T) extends TstpError[T]

Signifies other exception that were thrown during sketch construction (e.g. the file is syntactically incorrect)

Signifies other exception that were thrown during sketch construction (e.g. the file is syntactically incorrect)

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class RPProofStats[T <: FileData](name: T, dagSize: BigInt, treeSize: BigInt, depth: Int, rule_histogram: Map[RuleName, Int], clause_frequency: Map[ClauseId, Int], reused_axioms: Map[RuleName, (String, Int)], reused_derived: Map[RuleName, (String, Int)], clause_sizes: Statistic[Int], clause_weights: Statistic[Int], subst_term_sizes: Option[Statistic[Int]], subst_term_depths: Option[Statistic[Int]]) extends CommonProofStats[T], Serializable

Statistical data for a gapt.proofs.resolution.ResolutionProof proof rp

Statistical data for a gapt.proofs.resolution.ResolutionProof proof rp

Type parameters

T

a subtype of FileData that represents the location and metadata of a TSTP file

Value parameters

clause_frequency

a map from the clause id to how often the clause appears

clause_sizes

statistics over the length of clauses in the proof

dagSize

the same as rp.dagSize

depth

the same as sketch.depth

name

the name of the problem

reused_axioms

the frequency of all leaf nodes that are used at least once

reused_derived

the frequency of all inner nodes that are used at least once

rule_histogram

map from a rule's name to how often the rule appears in the proof

subst_term_depths

statistics about the term depths occurring in gapt.proofs.resolution.Subst rules

subst_term_sizes

statistics about the term sizes occurring in gapt.proofs.resolution.Subst rules

treeSize

the same as rp.treeSize

Attributes

Companion
object
Source
common.scala
Supertypes
trait Product
trait Equals
class CommonProofStats[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
object RPProofStats

Companion object for RPProofStats

Companion object for RPProofStats

Attributes

Companion
class
Source
common.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ReconstructionError[+T <: FileData](file: T) extends TstpError[T]

Siginifies an exception during proof replay, e.g. attempting to apply a split where variables in the split clauses are not disjoint

Siginifies an exception during proof replay, e.g. attempting to apply a split where variables in the split clauses are not disjoint

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ReconstructionGaveUp[+T <: FileData](file: T) extends TstpError[T]

Signifies a termination of RefutationSketchToResolution.apply() that could not replay a step.

Signifies a termination of RefutationSketchToResolution.apply() that could not replay a step.

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ReconstructionTimeout[+T <: FileData](file: T) extends TstpError[T]

Signifies a timeout from gapt.utils.withTimeout during reconstruction.

Signifies a timeout from gapt.utils.withTimeout during reconstruction.

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ResultBundle[T <: FileData](tstp_stats: Map[T, TstpProofStats[T]], rp_stats: Map[T, RPProofStats[T]], tstp_errors: List[TstpError[T]], rp_errors: List[TstpError[T]]) extends Serializable

Collects errors and statistics from proof sketch and resolution proof reconstruction

Collects errors and statistics from proof sketch and resolution proof reconstruction

Type parameters

T

the type of input files

Value parameters

rp_errors

the replay errors that occurred

rp_stats

the resolution proof statistics

tstp_errors

the proof sketch errors that occurred

tstp_stats

the proof sketch statistics

Attributes

Source
common.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
case class StackOverflow[+T <: FileData](file: T) extends TstpError[T]

Signifies a stack overflow

Signifies a stack overflow

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Source
TstpStatistics.scala
Supertypes
trait Product
trait Equals
class TstpError[T]
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
TptpStatistics.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class TptpInputStats[T <: FileData](name: T, axiom_count: Int, input_formula_count: Int, signature_size: Int, constants: Int, unary_funs: Int, binary_funs: Int, contains_equality: Boolean, arity_statistics: Option[Statistic[Int]]) extends CSVConvertible[String]

Captures data from a TPTP problem file

Captures data from a TPTP problem file

Value parameters

arity_statistics

statistical data about the arities of function symbols (may be empty e.g. for ∀xEy.x=y)

axiom_count

the number of axioms in the problem (including included files)

binary_funs

the number of binary functions in the problem

constants

the number of constants in the problem

input_formula_count

the number statements asserting an imput formula

name

the file the data comes from

signature_size

the total number of different constants and function symbols

unary_funs

the number of unary functions in the problem

Attributes

Source
common.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TptpLibraryProblem(path: String, problem: Problem) extends FileData, Serializable

Represents a TPTP library problem of a certain category. The problem must be in $path/Problems/XYZ/ - $path/Axioms must contain the axiom files to include.

Represents a TPTP library problem of a certain category. The problem must be in $path/Problems/XYZ/ - $path/Axioms must contain the axiom files to include.

Value parameters

path

the path to the TPTP base directory

problem

a TPTP library problem

Attributes

Source
common.scala
Supertypes
trait Product
trait Equals
class FileData
trait Serializable
trait InputFile
class Object
trait Matchable
class Any
Show all
sealed abstract class TstpError[+T <: FileData](val file: T) extends Serializable

Describes various errors that may occur during proof replay

Describes various errors that may occur during proof replay

Type parameters

T

an instance of FileData

Value parameters

file

The file with the TSTP proof that was replayed

Attributes

Companion
object
Source
TstpStatistics.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class FileNotFound[T]
class MalformedFile[T]
class ParsingError[T]
class StackOverflow[T]
Show all
object TstpError

Companion object to TstpError.

Companion object to TstpError.

Attributes

Companion
class
Source
TstpStatistics.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TstpError.type
case class TstpProofStats[T <: FileData](name: T, dagSize: BigInt, treeSize: BigInt, depth: Int, rule_histogram: Map[RuleName, Int], clause_frequency: Map[ClauseId, Int], reused_axioms: Map[RuleName, (String, Int)], reused_derived: Map[RuleName, (String, Int)], clause_sizes: Statistic[Int], clause_weights: Statistic[Int]) extends CommonProofStats[T], Serializable

Statistical data for a gapt.proofs.sketch.RefutationSketch sketch

Statistical data for a gapt.proofs.sketch.RefutationSketch sketch

Type parameters

T

a subtype of FileData that represents the location and metadata of a TSTP file

Value parameters

clause_frequency

a map from the clause id to how often the clause appears

clause_sizes

statistics over the length of clauses in the proof

dagSize

the same as sketch.dagSize

depth

the same as sketch.depth

name

the name of the problem

reused_axioms

the frequency of all leaf nodes that are used at least once

reused_derived

the frequency of all inner nodes that are used at least once

rule_histogram

map from a rule's name to how often the rule appears in the proof

treeSize

the same as sketch.treeSize

Attributes

Companion
object
Source
common.scala
Supertypes
trait Product
trait Equals
class CommonProofStats[T]
trait Serializable
class Object
trait Matchable
class Any
Show all

Companion object for TstpProofStats

Companion object for TstpProofStats

Attributes

Companion
class
Source
common.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Calculates sketch statistics (TstpProofStats) and replay statistics (RPProofStats) from a list of FileData files as well as errors. Provides serialization to a file.

Calculates sketch statistics (TstpProofStats) and replay statistics (RPProofStats) from a list of FileData files as well as errors. Provides serialization to a file.

Attributes

Source
TstpStatistics.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case object UnknownFile extends FileData

Attributes

Source
common.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class FileData
trait Serializable
trait InputFile
class Object
trait Matchable
class Any
Show all
Self type

Types

type ClauseId = String

Attributes

Source
common.scala
type Problem = String

Attributes

Source
common.scala
type Prover = String

Attributes

Source
common.scala
type RuleName = String

Attributes

Source
common.scala