pyk.proof.implies module
- class EqualityProof(id: str, lhs_body: KInner, rhs_body: KInner, sort: KSort, constraints: Iterable[KInner] = (), simplified_constraints: KInner | None = None, simplified_equality: KInner | None = None, csubst: CSubst | None = None, proof_dir: Path | None = None, subproof_ids: Iterable[str] = (), admitted: bool = False)[source]
Bases:
ImpliesProof
- property dict: dict[str, Any]
- static from_claim(claim: KClaim, defn: KDefinition, proof_dir: Path | None = None) EqualityProof [source]
- classmethod from_dict(dct: Mapping[str, Any], proof_dir: Path | None = None) EqualityProof [source]
- static read_proof_data(proof_dir: Path, id: str) EqualityProof [source]
- property summary: EqualitySummary
- class EqualitySummary(id: 'str', status: 'ProofStatus', admitted: 'bool')[source]
Bases:
ProofSummary
- admitted: bool
- id: str
- property lines: list[str]
- status: ProofStatus
- class ImpliesProof(id: str, antecedent: KInner, consequent: KInner, bind_universally: bool = False, simplified_antecedent: KInner | None = None, simplified_consequent: KInner | None = None, csubst: CSubst | None = None, proof_dir: Path | None = None, subproof_ids: Iterable[str] = (), admitted: bool = False)[source]
Bases:
Proof
[ImpliesProofStep
,ImpliesProofResult
]- bind_universally: bool
- property can_progress: bool
- commit(result: ImpliesProofResult) None [source]
- property dict: dict[str, Any]
- classmethod from_dict(dct: Mapping[str, Any], proof_dir: Path | None = None) ImpliesProof [source]
- get_steps() list[ImpliesProofStep] [source]
- property own_status: ProofStatus
- class ImpliesProofResult(csubst: 'CSubst | None', simplified_antecedent: 'KInner | None', simplified_consequent: 'KInner | None')[source]
Bases:
object
- class ImpliesProofStep(proof: 'ImpliesProof')[source]
Bases:
object
- proof: ImpliesProof
- class ImpliesProver(proof: ImpliesProof, kcfg_explore: KCFGExplore, assume_defined: bool = False)[source]
Bases:
Prover
[ImpliesProof
,ImpliesProofStep
,ImpliesProofResult
]- assume_defined: bool
- failure_info(proof: ImpliesProof) FailureInfo [source]
- init_proof(proof: ImpliesProof) None [source]
- kcfg_explore: KCFGExplore
- proof: ImpliesProof
- step_proof(step: ImpliesProofStep) list[ImpliesProofResult] [source]
- class RefutationProof(id: str, pre_constraints: Iterable[KInner], last_constraint: KInner, simplified_antecedent: KInner | None = None, simplified_consequent: KInner | None = None, csubst: CSubst | None = None, proof_dir: Path | None = None, subproof_ids: Iterable[str] = (), admitted: bool = False)[source]
Bases:
ImpliesProof
- property dict: dict[str, Any]
- classmethod from_dict(dct: Mapping[str, Any], proof_dir: Path | None = None) RefutationProof [source]
- static read_proof_data(proof_dir: Path, id: str) RefutationProof [source]
- property summary: RefutationSummary
- class RefutationSummary(id: 'str', status: 'ProofStatus')[source]
Bases:
ProofSummary
- id: str
- property lines: list[str]
- status: ProofStatus