{"id":21676951,"url":"https://github.com/uwplse/memsynth","last_synced_at":"2026-02-23T08:02:35.501Z","repository":{"id":20072874,"uuid":"87040736","full_name":"uwplse/memsynth","owner":"uwplse","description":"An advanced automated reasoning tool for memory consistency model specifications. ","archived":false,"fork":false,"pushed_at":"2021-12-06T19:18:25.000Z","size":546,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-25T10:26:36.722Z","etag":null,"topics":["racket","rosette"],"latest_commit_sha":null,"homepage":"http://memsynth.uwplse.org","language":"Alloy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uwplse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-03T05:21:15.000Z","updated_at":"2025-01-13T03:00:59.000Z","dependencies_parsed_at":"2022-08-07T09:15:50.562Z","dependency_job_id":null,"html_url":"https://github.com/uwplse/memsynth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwplse%2Fmemsynth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwplse%2Fmemsynth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwplse%2Fmemsynth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwplse%2Fmemsynth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uwplse","download_url":"https://codeload.github.com/uwplse/memsynth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244590102,"owners_count":20477658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["racket","rosette"],"created_at":"2024-11-25T14:16:58.964Z","updated_at":"2025-10-25T05:04:31.902Z","avatar_url":"https://github.com/uwplse.png","language":"Alloy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MemSynth\n\n[![Build Status](https://travis-ci.org/uwplse/memsynth.svg?branch=master)](https://travis-ci.org/uwplse/memsynth)\n\n[MemSynth](http://memsynth.uwplse.org)\nis a system for automatic synthesis of axiomatic memory model specifications from litmus tests.\n\nRead more about MemSynth in our [PLDI 2017 paper](http://memsynth.uwplse.org/memsynth-pldi17.pdf).\n\n## Getting started\n\nMemSynth requires [Racket](https://download.racket-lang.org/), [Rosette](http://emina.github.io/rosette/), and [Ocelot](https://github.com/jamesbornholt/ocelot).\n\nAssuming you have Racket installed, run:\n\n    raco pkg install --auto ocelot\n\nto install Ocelot and Rosette.\n\nTo check that everything is working, run MemSynth's tests:\n\n    make test\n\n### Reproducing our experiments\n\nOur [artifact evaluation guide](http://memsynth.uwplse.org/pldi17-aec/)\ncontains a thorough walkthrough to reproducing all the results from our paper.\n\n### Exploring the MemSynth API\n\nOne of our case studies uses MemSynth to automatically repair an existing\nmemory model framework.\n[This example](case-studies/repair/repair.rkt)\nalso serves as a readable walkthrough of verification and synthesis using the MemSynth API.\n\n## Memory model synthesis\n\nMemSynth (in the [`memsynth`](memsynth/) directory) provides\nsynthesis and verification algorithms for memory models.\nThese algorithms take as input a memory model *framework sketch*.\nTwo examples of framework sketches are included\nin the [`frameworks`](frameworks/) directory:\none based on work by [Alglave et al.](http://www0.cs.ucl.ac.uk/staff/J.Alglave/papers/cav10.pdf) \nand the other by [Mador-Haim et al.](http://dl.acm.org/citation.cfm?id=2024842).\n\nWe use the Alglave framework to synthesize\na specification of the PowerPC memory model;\nthat demonstration is in [ppc0.rkt](case-studies/synthesis/ppc/ppc0.rkt). \nIt uses 768 litmus tests from Alglave's work, \nwhich are defined in our litmus test DSL in [ppc-all.rkt](litmus/tests/ppc-all.rkt).\n\n## Interacting with other tools\n\nMemSynth supports the [Herd](http://diy.inria.fr) format for litmus tests.\nWe provide a [compiler](litmus/herd/compile.rkt) from that format\n(supporting only PowerPC tests, without control flow)\nto MemSynth's litmus test DSL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwplse%2Fmemsynth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuwplse%2Fmemsynth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwplse%2Fmemsynth/lists"}