trilean 1.1.0

Kleene's three-valued logic (boolean + unknown).
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 4 items with examples
  • Size
  • Source code size: 19.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 918.45 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ptal/trilean
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ptal

Three-valued logics

ptal on Travis CI

This library provides the strong Kleene's three-valued logic which contains the boolean values true and false and an additional unknown variant. The semantics of unknown usually means that the current value is neither true or false yet, but might evolve to one or the other later. In particular, we have false && unknown equals to false, although the second value is unknown, we can evaluate the full expression.

Truth tables are available in the documentation.

This library compiles on stable Rust.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

References

M. Fitting, “Kleene’s three valued logics and their children,” Fundamenta informaticae, vol. 20, no. 1, 2, 3, pp. 113–131, 1994.