Skip to content

Releases: Azumabashi/nim-propositional-logic

v3.3.0

19 Oct 00:03
Compare
Choose a tag to compare
  • Support Nim v1.6.16.
  • Add test for Nim v1.6.16.

Note that there are no changes on source codes.

v3.2.1

22 Sep 13:04
Compare
Choose a tag to compare

Bug fix

  • Fixed the bug of parsing formulae

v3.2.0

17 Sep 08:00
Compare
Choose a tag to compare
  • Support parsing from string corresponds to a formula to formula expressed with a PropLogicFormula type.

v3.1.0

03 Sep 07:54
Compare
Choose a tag to compare

Feature

  • Support hashing for TruthValue

v3.0.0

31 Aug 07:02
Compare
Choose a tag to compare

Breaking changes

  • The key of Interpretations is now atomic propositions.
  • The id of atomic propositions are now private.

How to migrate

  • Replace P.id to P.getId() where P is an atomic propositions.

Other features

New procedures

  • hash: Hashing procedure for AtomicPropFormula
  • $ for TruthValue
  • getNumberOfAtomicPropositions: returns the number of atomic propositions
  • getNumberOfInterpretations: returns the number of interpretations
  • getId: returns id of an atomic proposition

v2.3.1

29 Aug 04:22
Compare
Choose a tag to compare

Bug fix

  • returns itself when a formula which is tautology is given to simplification.

v2.3.0

24 Aug 14:52
Compare
Choose a tag to compare
  • Fix bug of simplification
  • Add new proc iff

v2.2.2

23 Aug 01:29
Compare
Choose a tag to compare
  • export generateAtomicPropByGivenId
    • You can specify atomic proposition's id by the argument
    • This proc should be used for generating existing atomic propositions. Use generateAtomicProp to generate new atomic propositions. This proc will raise AssertionDefect when the atomic proposition which has given id does not exist.

v2.2.1

22 Aug 03:47
Compare
Choose a tag to compare
  • export type Interpretation
  • update how to install because install via nimble.directory is now available

v2.2.0

21 Aug 11:39
Compare
Choose a tag to compare
  • Support simplification of logical formulae.
    • Note that the proc does not always return the simplest formula, but returns simpler formula than given one.
  • make TruthValue more safer.