-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] function overloading vs CHCs #17
Comments
In the example above, 30 and 58 are the AST ids of the function definitions, so that can be used to separate the two in the encoding. 59 is the AST id of the contract definition. And 0 is the SSA index of each predicate application |
@leonardoalt Does it mean that function that is first in the source file has a smaller id? Does json have the same order? |
If add id of ast node the tgnonlin crashed /Users/ilyazlatkin/CLionProjects/aeval/cmake-build-debug/tools/nonlin/tgnonlin --keys contract_C:a,b^f_55:_x^f_88:_x,_y constructor_2_fun_overloading.smt2 |
/Users/ilyazlatkin/CLionProjects/aeval/cmake-build-debug/tools/nonlin/tgnonlin --keys contract_C:a,b^f__55:_x^f__88:_x,_y constructor_2_fun_overloading.smt2 |
How it is possible to distinct CHCs from functions with the same name (fun. overloading)?
for example there are
summary_3_function_f__30_59_0
andsummary_5_function_f__58_59_0
Below is an example of the source file
encoding:
without adts
overloading_wo_adt.smt2.txt
original
overloading.smt2.txt
The text was updated successfully, but these errors were encountered: