Replies: 2 comments
-
|
I think |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for the comment. I should have considered "context insensitive" analysis! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, when implementing return, I have some problems about memory at return point.
In the document, when the instruction is
return, it just jump to the return point with current memory.However, I think it doesn't work well.
In this example, I think
xis always 10 at the return point.In
thenbranch (base case),xis filtered to [10, 10]. Therefore it returns with memory thatxis [10,10].In
elsebranch, it calls f again. And by inductive hypothesis, it returns with memory thatxis [10, 10].So at line number 9,
xis always [10, 10], and returns with memory thatxis [10, 10]..
I think, at return point, joining the returned memory and current memory would be sound, but narrowing doesn't work well..
I think I don't understand the semantics well.
Could you explain how to solve this problem??
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions