Skip to content
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

feat: Switch to using bv_decide to decide memory goals instead of bv_omega #197

Draft
wants to merge 69 commits into
base: main
Choose a base branch
from

Commits on Sep 26, 2024

  1. feat: bitvector constant folding simprocs

    This simproc simplifies expressions by attempting to constant fold using `omega`
    to make sure we never see modulos, and moves all arithmetic constants to the left.
    
    The goal is for this to be upstreamed sooner rather than later.
    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    878735e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16301d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6719e45 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-authored-by: Alex Keizer <[email protected]>
    bollu and alexkeizer authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    50ee21b View commit details
    Browse the repository at this point in the history
  5. chore: reword docstring

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    22cbb4c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2380071 View commit details
    Browse the repository at this point in the history
  7. chore: add more docstring

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    2c6b28d View commit details
    Browse the repository at this point in the history
  8. chore: cleanup

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    1bef14e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0ac3b69 View commit details
    Browse the repository at this point in the history
  10. chore: directly invoke simp instead of using evalTactic. Next step:…

    … directly invoke `omega`
    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3eab45f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d5dbe2b View commit details
    Browse the repository at this point in the history
  12. chore: cleanup

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b818e0c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    954d0d7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f22c0f6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4d0181a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8c7edfc View commit details
    Browse the repository at this point in the history
  17. chore: don't call simproc

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d3bbd3c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e67134d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3db1ded View commit details
    Browse the repository at this point in the history
  20. chore: see that mem_decide_bv works well when we don't have arithmeti…

    …c on nats
    
    I'm considering switching the `n` in `mem_legal' a n` to a `BitVec 64`, but
    it maybe possible to write preprocessing to write the proof state purely
    in terms of bitvectors; Let's first get enough to try to push `memcpy`
    proof through.
    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7924c21 View commit details
    Browse the repository at this point in the history
  21. chore: fine-tune tactic a bit

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    83d0e6d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f2cc13c View commit details
    Browse the repository at this point in the history
  23. I'm going crazy x(

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5822a39 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1672dff View commit details
    Browse the repository at this point in the history
  25. chore: hunt down inconsistency.

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    920a1c6 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f0ede47 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    67c25c8 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    610147d View commit details
    Browse the repository at this point in the history
  29. chore: rewrite to use bitvectors.

    This one is particularly interesting, since we see where bitvec
    theory limits us: we can't reason about the fact that the length = 80!.
    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    92d0290 View commit details
    Browse the repository at this point in the history
  30. chore: make progress on memcpy proof, it's actually... usable? it doe…

    …sn't hang for 10+ seconds each time
    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    4532ae2 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    e4285fe View commit details
    Browse the repository at this point in the history
  32. chore: add missing assumption

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    fbe42a5 View commit details
    Browse the repository at this point in the history
  33. chore: kill a 'sorry'

    bollu committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    66bb359 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    b398471 View commit details
    Browse the repository at this point in the history
  2. chore: use proof 2

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    73b3fb4 View commit details
    Browse the repository at this point in the history
  3. chore: get memcpy proof through

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    3c96aa5 View commit details
    Browse the repository at this point in the history
  4. chore: shrink

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6d59e51 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d734d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1987f9a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a9846b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8b37715 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e41f03 View commit details
    Browse the repository at this point in the history
  10. chore: fixup simp_mem some more

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    1014266 View commit details
    Browse the repository at this point in the history
  11. chore: checkpoint

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    31a63df View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    436765c View commit details
    Browse the repository at this point in the history
  13. chore: checkpoint state

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    c027175 View commit details
    Browse the repository at this point in the history
  14. chore: give up on calling bv_decide and simp programatically, too muc…

    …h stuff is messed up
    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b2ce27d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dfb0309 View commit details
    Browse the repository at this point in the history
  16. chore: update memcpy proof

    bollu committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2a81df4 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    dcc5a95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fea3c6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    966473d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    057237e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    301a4cd View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    1a996fc View commit details
    Browse the repository at this point in the history
  2. chore: regenerate LRAT proofs

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    bbf03e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8eecc1e View commit details
    Browse the repository at this point in the history
  4. chore: fixup paths

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    747f9cd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    988ca19 View commit details
    Browse the repository at this point in the history
  6. chore: fixup proof

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    65b4bb5 View commit details
    Browse the repository at this point in the history
  7. chore: update popcount32

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    f70432b View commit details
    Browse the repository at this point in the history
  8. chre: fixup MemCpyVCG

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    b092887 View commit details
    Browse the repository at this point in the history
  9. chore: CSE changed

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    24546b6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c6c15a0 View commit details
    Browse the repository at this point in the history
  11. chore: clenup AddLoop

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    1c9b15c View commit details
    Browse the repository at this point in the history
  12. chore: Henrik's fix worked

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    c5c7379 View commit details
    Browse the repository at this point in the history
  13. chore: merge conflict resolved

    bollu committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6deed7e View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. chore: write alternative for read/write_bytes called read/write_bytes…

    …' that takes bitvec as argument
    bollu committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    421619e View commit details
    Browse the repository at this point in the history
  2. chore: explore changing read_mem_bytes and write_mem_bytes to read_me…

    …m_bytes' and write_mem_bytes', this is a total disaster.
    bollu committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e8995e4 View commit details
    Browse the repository at this point in the history