Skip to content

Adds Global Variable Model - #121

Open
hypnoticOxbow wants to merge 12 commits into
mainfrom
ian/adds-global-variables
Open

Adds Global Variable Model#121
hypnoticOxbow wants to merge 12 commits into
mainfrom
ian/adds-global-variables

Conversation

@hypnoticOxbow

Copy link
Copy Markdown
Contributor

Describe your changes
This branch adds modeling of global variables with ITtrees, with events that create global references, write to them, and read from them.

This adds an extraction to CPP, where references are stored in a global map as elements of std::any, and casted out on reads.

This also adds a functional model of global references.

Testing performed
Extracted versions of fibonacci and a "gensym" function are extracted and tested.

Proofs demontrate that fibonacci over global variables and Fibonacci in a functional style are observationally equivalent.

@hypnoticOxbow
hypnoticOxbow requested a review from joom August 3, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant