gapt.proofs.resolution
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
AllL.type
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass WeakQuantResolutionRuleclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AllR.type
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Introduces a clause component.
Introduces a clause component.
------
C <- a
Attributes
- Source
- avatar.scala
- Supertypes
-
trait Serializableclass InitialClauseclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Moves an assertion back to the sequent.
Moves an assertion back to the sequent.
S <- A
------------
S ++ ¬A <-
Attributes
- Source
- avatar.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Clause component together with its associated propositional atom.
Clause component together with its associated propositional atom.
Attributes
- Source
- avatar.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- avatar.scala
- Supertypes
- Known subtypes
-
class AvatarNegNonGroundCompclass AvatarNonGroundComp
Attributes
- Source
- avatar.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AvatarDefinitionclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- avatar.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AvatarDefinitionclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Source
- avatar.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AvatarDefinitionclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- avatar.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AvatarNonGroundComp.type
Removes a clause component.
Removes a clause component.
S ++ C <- A
----------------
S <- A ∧ ¬a
Attributes
- Companion
- object
- Source
- avatar.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- avatar.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AvatarSplit.type
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- structuralCNF.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Clausification.type
Definition introduction.
Definition introduction.
Γ :- Δ, φ(x)
--------
Γ :- Δ, D(x)
This inference should only be used on descendants of Input inferences.
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Definition.
Definition.
---------------------
:- ∀x (D(x) <-> φ(x))
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass InitialClauseclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass WeakQuantResolutionRuleclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExR.type
Converts an expansion proof to a resolution proof.
Converts an expansion proof to a resolution proof.
Attributes
- Source
- ExpansionToResolutionProof.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Factoring.
Factoring.
l, l, Γ :- Δ
-----------
l, Γ :- Δ
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Factor.type
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Flip.type
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
class LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Input sequent.
Input sequent.
-------
sequent
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass InitialClauseclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class AvatarContradictionclass AvatarSplitclass Factorclass InitialClauseclass AvatarComponentclass Defnclass Inputclass Reflclass Tautclass Paramodclass AndLclass AndR1class AndR2class BottomRclass DefIntroclass Flipclass ImpL1class ImpL2class ImpRclass NegLclass NegRclass OrL1class OrL2class OrRclass AllLclass ExRclass TopLclass WeakQuantResolutionRuleclass AllRclass ExLclass ResolutionShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MguFactor.type
Attributes
- Source
- resolution.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MguResolution.type
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Given a sequent s and a clause a in CNF(-s), PCNF computes an LK proof of a subsequent of s ++ a containing at least a
Given a sequent s and a clause a in CNF(-s), PCNF computes an LK proof of a subsequent of s ++ a containing at least a
Attributes
- Source
- PCNF.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PCNF.type
Paramodulation.
Paramodulation.
Γ :- Δ, t=s Π :- Λ, l[t]
----------------------------
Γ, Π :- Δ, Λ, l[s]
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Paramod.type
Attributes
- Source
- resolution.scala
- Supertypes
-
class LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Reflexivity.
Reflexivity.
--------------
:- term = term
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass InitialClauseclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Resolution.
Resolution.
Γ :- Δ, a a, Π :- Λ
----------------------
Γ, Π :- Δ, Λ
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Resolution.type
A converter from resolution proofs to Ral proofs, which reintroduces the lambda abstractions which we removed for the fol export.
A converter from resolution proofs to Ral proofs, which reintroduces the lambda abstractions which we removed for the fol export.
Value parameters
- cmap
-
The mapping of abstracted symbols to lambda terms. The abstracted symbols must be unique (i.e. cmap must be a bijection)
- sig_consts
-
The signature of constants in the original proof
- sig_vars
-
The signature of the variables in the original proof
Attributes
- Companion
- object
- Source
- ResolutionToRal.scala
- Supertypes
A converter from Robinson resolution proofs to Ral proofs, which reintroduces the lambda abstractions which we removed for the fol export.
A converter from Robinson resolution proofs to Ral proofs, which reintroduces the lambda abstractions which we removed for the fol export.
Attributes
- Companion
- class
- Source
- ResolutionToRal.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Proof using resolution.
Proof using resolution.
Our resolution calculus integrates higher-order reasoning, structural clausification, and Avatar-style splitting as in [Vor14].
The judgments of this calculus are A-sequents. An A-sequent is a pair of a sequent of HOL formulas, and a conjunction of propositional literals---the assertion (that's where the "A" comes from).
Γ :- Δ <- A
We store the sequent as a HOLSequent in ResolutionProof#conclusion, and the negation of the assertion as a HOLClause in ResolutionProof#assertions (as the negation of a conjunction of literals is a clause). The judgment is interpreted as one of the following equivalent formulas:
assertions.toNegConjunction --> conclusion.toDisjunction
(conclusion ++ assertions).toDisjunction // equivalent to the first one
Inferences such as Resolution or Paramod do not operate on the assertions. Unless specified otherwise, assertions are inherited by default:
Γ :- Δ, a <- A a, Π :- Λ <- B
--------------------------------
Γ, Π :- Δ, Λ <- A ∧ B
There is no factoring on assertions, duplicate assertions are automatically removed.
Reading from top to bottom, a resolution proof is usually structured as follows:
-
Input rules for formulas of the end-sequent
-
AndL, AllR, etc. for the clausification. A combination of DefIntro and Taut is used to introduce definitions for subformulas.
-
Resolution, Paramod, Subst. Factor, Refl, Taut for the refutation of the resulting clauses. Clauses are split by successively applying AvatarSplit, reducing the clause to an empty clause. The clause components can then be used using AvatarComponent.
-
Each empty clause of a splitting branch is followed by an AvatarContradiction inference, moving the assertion back to the clause.
-
A Resolution refutation of the AvatarContradiction clauses.
Substitutions are not absorbed into resolution, factoring, and paramodulation; they are explicitly represented using Subst.
[Vor14] Andrei Voronkov, AVATAR: The Architecture for First-Order Theorem Provers. CAV 2014: pp. 696-710
Attributes
- Source
- resolution.scala
- Supertypes
-
trait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class LocalResolutionRuleclass AvatarContradictionclass AvatarSplitclass Factorclass InitialClauseclass AvatarComponentclass Defnclass Inputclass Reflclass Tautclass Paramodclass AndLclass AndR1class AndR2class BottomRclass DefIntroclass Flipclass ImpL1class ImpL2class ImpRclass NegLclass NegRclass OrL1class OrL2class OrRclass AllLclass ExRclass TopLclass WeakQuantResolutionRuleclass AllRclass ExLclass Resolutionclass SubstShow all
Attributes
- Source
- ResolutionProofVisitor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Converts a resolution proof to an expansion proof. ResolutionToExpansionProof( rp ) will return the expansion proof of rp and ResolutionToExpansionProof( rp, input ) is used by the CERES method to return the expansion proof of the ACNF, which is extracted from the proof projections.
Converts a resolution proof to an expansion proof. ResolutionToExpansionProof( rp ) will return the expansion proof of rp and ResolutionToExpansionProof( rp, input ) is used by the CERES method to return the expansion proof of the ACNF, which is extracted from the proof projections.
Let us first ignore splitting and subformula definitions for simplicity. However we may still have clausification inferences. The conversion then proceeds bottom-up through the resolution proof (to be precise: in a reverse post-order traversal).
At each point in the algorithm, we associate with every subproof a set of expansion sequents and associated substitutions, i.e. we keep a Map[ResolutionProof, Set[(Substitution, ExpansionSequent)] ] with the following properties:
- the conjunction of all deep sequents (each interpreted as a disjunction) is unsatisfiable, and
- the substitution applied to the shallow sequent is always equal to the conclusion of the subproof.
In every step we consider a subproof, empty its Set[(Substitution, ExpansionSequent)], and add in exchange the appropriate sets to its premises, while keeping the invariant. In this manner, these sets propagate upwards through the proof to the input sequents.
Let us first consider the common case that the input sequents are ground unit sequents: i.e. if we obtained a resolution proof for ∀x A(x), ∀x B(x) :- ∀x C(x), then we would have the input sequents :- ∀x A(x), :- ∀x B(x), and ∀x C(x) :-. When we have finally propagated all the sets up to the input sequents, the invariant guarantees the following: we have expansion sequents with the input sequents as shallow sequents (at this point we use the requirement that the input sequents are ground), such that the conjunction of the deep sequents (interpreted as disjunctions) is unsatisfiable. This immediately implies that if we combine the expansions of the input sequents into a sequent, we get an expansion proof of ∀x A(x), ∀x B(x) :- ∀x C(x).
In the unlikely case that the resolution proof starts from clauses, we just pretend that the clauses are derived from formulas--that is, we instead of beginning with D(x), E(x,y) :- F(y) we just imagine the proof begins with :- ∀x ∀y (¬D(x) ∨ ¬E(x,y) ∨ F(y)).
Splitting inferences are converted to cuts in the expansion proof: formally, we can first skip all the splitting inferences in the resoltion proof; the assertions now become part of the clauses, and we get additional input sequents. For example, consider the clauses :- A(x), B(y), A(c) :-, and B(c) :-. The natural way to refute these clauses is to split the first clause into :- A(x) <-- s1 and :- B(y) <-- s2, then perform unit resolution twice, and then have a propositional contradiction. After skipping the splitting inferences we would get a proof starting from :- s1, s2, s1 :- A(x), s2 :- B(x), A(c) :-, and B(c) :-. If we replace s1 := ∀x A(x) and s2 := ∀x B(x) everywhere in the resulting expansion proof, then we can package up the expansions of s1 :- A(x) and s2 :- B(x) as cuts. The other clauses are then precisely the clause we had before splitting.
Subformula definitions are eliminated after the conversion to expansion proofs, see gapt.proofs.expansion.eliminateDefsET.
Attributes
- Source
- ResolutionToExpansionProof.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- ResolutionToLKProof.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResolutionToLKProof.type
Attributes
- Companion
- class
- Source
- ResolutionToRal.scala
- Supertypes
- Self type
-
ResolutionToRal.type
Attributes
- Companion
- object
- Source
- ResolutionToRal.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ResolutionToRal.type
Attributes
- Source
- resolution.scala
- Supertypes
-
class LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Source
- resolution.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Substitution.
Substitution.
Γ :- Δ
----------------------
substitution(Γ :- Δ)
Attributes
- Companion
- object
- Source
- resolution.scala
- Supertypes
-
trait Serializabletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- resolution.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Subst.type
Tautology.
Tautology.
-------------------
formula :- formula
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass InitialClauseclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- resolution.scala
- Supertypes
-
trait Serializableclass LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- UnitResolutionToLKProof.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- resolution.scala
- Supertypes
-
class LocalResolutionRuletrait ResolutionProoftrait DagProof[ResolutionProof]trait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Source
- package.scala
- Supertypes
- Self type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Eliminate AvatarSplit, AvatarComponent, AvatarContradiction splitting inferences from a resolution proof.
Eliminate AvatarSplit, AvatarComponent, AvatarContradiction splitting inferences from a resolution proof.
Attributes
- Source
- eliminateSplitting.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
eliminateSplitting.type
Attributes
- Source
- expansionProofFromInstances.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- fixDerivation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Sometimes, we have a resolution refutation R of a set of clauses C and want a refutation R' of a set C' such that C implies C'.
Sometimes, we have a resolution refutation R of a set of clauses C and want a refutation R' of a set C' such that C implies C'.
This algorithm tries to obtain R' by trying to replace clauses c from C in R by derivations of C from C'.
In general, if R is a derivation of a clause c, the result R' of fixDerivation(R) is a derivation of a subclause of c.
Attributes
- Source
- fixDerivation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
fixDerivation.type
Attributes
- Source
- clauseOperations.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
forgetfulPropParam.type
Attributes
- Source
- clauseOperations.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
forgetfulPropResolve.type
Attributes
- Source
- mapInputClauses.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
mapInputClauses.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- package.scala
- Supertypes
- Self type
Attributes
- Source
- simplifyResolutionProof.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- structuralCNF.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
structuralCNF.type
Attributes
- Source
- fixDerivation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type