Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineOfProof

Class representing a line in a natural deduction proof.

Hierarchy

  • LineOfProof

Implements

Index

Constructors

constructor

  • Constructor

    Parameters

    • args: ConstructorArgsInterface

      { proposition - The Formula for the current line, rule - The rule cited to justify for this line, citedLines - The lines cited in the justification }

    Returns LineOfProof

Properties

assumptions

assumptions: number[]

Does the current line rely on any other lines which are Assumptions (i.e., statements introduced for indirect/conditional proof)? Ultimately, in order to check validity, we need to confirm that the Proof.conclusion does not rely on any non-discharged assumptions.

citedLines

citedLines: number[]

Optional lineNumber

lineNumber: number

The line number of the proof.

proposition

proposition: Formula

rule

rule: string

Methods

setAssumptions

  • setAssumptions(assumptions: number[]): void
  • Set the current LineOfProof assumptions

    Parameters

    • assumptions: number[]

      the list of assumed line numbers

    Returns void

Generated using TypeDoc