Skip to content

Commit

Permalink
first theorem implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddoret committed Dec 20, 2024
1 parent e2914cf commit f7d35f7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
53 changes: 28 additions & 25 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified tests/__pycache__/test_shared_library.cpython-312-pytest-8.3.2.pyc
Binary file not shown.
6 changes: 4 additions & 2 deletions tests/test_shared_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
def create_atomic_connector(c: str):
ren = pu.RendererForStringConstant(string_constant=c)
rep = pu.Representation(uid=pu.create_uid(f'rep'), renderers=(ren,))
con = pu.Connector(uid=pu.create_uid(f'con'), connector_representation=rep)
con = pu.Connector(uid=pu.create_uid(f'con'), connector_representation=rep,
formula_representation=pu.formula_notations.atomic_formula)
return con


Expand All @@ -15,5 +16,6 @@ def create_function(c: str):
'{% endfor %})')
ren = pu.RendererForStringTemplate(string_template=string_template)
rep = pu.Representation(uid=pu.create_uid(f'rep'), renderers=(ren,))
con = pu.Connector(uid=pu.create_uid(f'fun'), connector_representation=rep)
con = pu.Connector(uid=pu.create_uid(f'fun'), connector_representation=rep,
formula_representation=pu.formula_notations.function_formula)
return con

0 comments on commit f7d35f7

Please sign in to comment.