potassco / clingo

🤔 A grounder and solver for logic programs.
https://potassco.org/clingo
MIT License
616 stars 81 forks source link

Add additional explanations in the Documentation about symbolic atoms, program literals and solver literals #329

Closed javier-romero closed 3 years ago

javier-romero commented 3 years ago

Hi,

It would be good to say something like this (if it is correct :)

There is an injective function from symbolic atoms to program literals, and there is an injective function from program literals to solver literals. But those functions do not have to be surjective.

rkaminsk commented 3 years ago

It would be great if you could go ahead and update the docstrings. The file is here: https://github.com/potassco/clingo/blob/2c348fc39e862576349ef84701d38e1901d52c51/libpyclingo/clingo/__init__.py#L12 A PR against the wip branch would be nice.

javier-romero commented 3 years ago

Done!