Skip to main content

fntom

This package contains an implementation of the algorithm that serves to find all the one-element Rees co-extensions of a given finite, negative totally ordered monoid (abbreviated by f. n. tomonoid).

Note that a commutative f. n. tomonoid represents a conjunction in the semantics of a many-valued (fuzzy) logic that has finitely many totally ordered logical values.

Installation

Install the package from PyPI utilizing the pip module:

python -m pip install fntom

Alternatively, you can download and unpack this package and install it by:

python -m pip install path

where path refers to the directory where setup.py is present.

Example

The following program defines a f. n. tomonoid with the Cayley table:

0 x y z 1
0 0 0 x z
0 0 0 0 y
0 0 0 0 x
0 0 0 0 0

Subsequently, it finds all its commutative one-element Rees co-extensions and displays both the f. n. tomonoid and its co-extensions on the terminal output:

    import fntom
    counter = fntom.Counter()
    xyzTable = [['0' ,'x' ,'y' ,'z' ,'1'],
                ['0' ,'0' ,'0' ,'x' ,'z'],
                ['0' ,'0' ,'0' ,'0' ,'y'],
                ['0' ,'0' ,'0' ,'0' ,'x'],
                ['0' ,'0' ,'0' ,'0' ,'0']]
    fntom = fntom.FNTOMonoid(counter.getNew(), xyzTable = xyzTable)
    coextensions = fntom.computeCoExtensions(counter, commutative = True)
    fntom.show()
    for coext in coextensions:
        coext.show()

Documentation

For a detailed decription of the program and its purpose, see the documentation generated by pdoc3 in the directory docs/ or read the papers listed in References below.

References

For the theoretical description of the problem and for the description of the algorithm se the paper:

  • M. Petrik and Th. Vetterlein. Rees coextensions of finite, negative tomonoids. Journal of Logic and Computation 27 (2017) 337-356. DOI: 10.1093/logcom/exv047, PDF.

For a more detailed description of the algorithm see the papers:

  • M. Petrik and Th. Vetterlein. Algorithm to generate finite negative totally ordered monoids. In: IPMU 2016: 16th International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems. Eindhoven, Netherlands, June 20-24, 2016. PDF.

  • M. Petrik and Th. Vetterlein. Algorithm to generate the Archimedean, finite, negative tomonoids. In: Joint 7th International Conference on Soft Computing and Intelligent Systems and 15th International Symposium on Advanced Intelligent Systems. Kitakyushu, Japan, Dec. 3-6, 2014. DOI: 10.1109/SCIS-ISIS.2014.7044822. PDF.

For more details on one-element co-extensions of finite, negative, tomonoids see the paper:

  • M. Petrik and Th. Vetterlein. Rees coextensions of finite tomonoids and free pomonoids. Semigroup Forum 99 (2019) 345-367. DOI: 10.1007/s00233-018-9972-z, PDF.

Metadata

Release files for fntom 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fntom 0.2.0
File Size Uploaded Provenance Actions
fntom-0.2.0.tar.gz 118.2 kB Without provenance Details for fntom-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fntom 0.2.0
File Interpreter ABI Platform Actions
fntom-0.2.0-py3-none-any.whl Python 3 none any Details for fntom-0.2.0-py3-none-any.whl

Total release size: 166.0 kB

Release files / fntom-0.2.0.tar.gz

Download URL fntom-0.2.0.tar.gz
Size 118.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98263d0147d3007c2fb3f3aa2242614711373c4510e009c905e91a8a314a8347
BLAKE2b-256 checksum
How to use checksums
ad651976609e4135b1bbfe2b5a137e8ab4d262ccf8a33f73ec33dacb69804da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / fntom-0.2.0-py3-none-any.whl

Download URL fntom-0.2.0-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1faaab0947014c0e0c42cf45f92fdc2e1afefed8f090676753860804365756a1
BLAKE2b-256 checksum
How to use checksums
adce38c6e1c59975c1c38fe619138fb8324b09ad38d90a75a0a3661300123361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for fntom 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page