{"id":18495938,"url":"https://github.com/leanprover/lnsym","last_synced_at":"2025-10-31T15:30:42.115Z","repository":{"id":222581011,"uuid":"739003338","full_name":"leanprover/LNSym","owner":"leanprover","description":"Armv8 Native Code Symbolic Simulator in Lean","archived":false,"fork":false,"pushed_at":"2024-12-09T19:19:00.000Z","size":205229,"stargazers_count":66,"open_issues_count":20,"forks_count":18,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-12-25T17:11:14.266Z","etag":null,"topics":["lean4"],"latest_commit_sha":null,"homepage":"","language":"Lean","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanprover.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-04T14:50:35.000Z","updated_at":"2024-12-17T18:52:58.000Z","dependencies_parsed_at":"2024-04-15T22:39:03.921Z","dependency_job_id":"6460fb99-2853-44dd-ae53-fc615b518c55","html_url":"https://github.com/leanprover/LNSym","commit_stats":null,"previous_names":["leanprover/lnsym"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2FLNSym","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2FLNSym/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2FLNSym/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2FLNSym/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanprover","download_url":"https://codeload.github.com/leanprover/LNSym/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239212561,"owners_count":19600830,"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":["lean4"],"created_at":"2024-11-06T13:27:04.257Z","updated_at":"2025-10-31T15:30:42.069Z","avatar_url":"https://github.com/leanprover.png","language":"Lean","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LNSym: Native Code Symbolic Simulator in Lean\n[![Makefile CI](https://github.com/leanprover/LNSym/actions/workflows/makefile.yml/badge.svg)](https://github.com/leanprover/LNSym/actions/workflows/makefile.yml)\n\nLNSym is a symbolic simulator for Armv8 machine-code programs.\n\nPlease see the [LICENSE](./LICENSE) file for LNSym's licensing and\n[CONTRIBUTING.md](./CONTRIBUTING.md) for external contribution\nguidelines.\n\n## Prerequisites\n\nInstall Lean4 and your preferred editor's plug-in on your machine by\nfollowing [these\ninstructions](https://leanprover-community.github.io/get_started.html).\n\n## Build Instructions\n\nRun `make` at the top-level of LNSym to fetch the Lean4 dependencies,\nbuild this library (including the proofs), and run conformance\ntesting. Note that if you are not on an Aarch64 machine, conformance\ntesting will be skipped.\n\nThe default `make` command corresponds to the following invocation:\n\n```make all VERBOSE=--verbose NUM_TESTS=20```\n\n### Other Makefile targets\n\n`clean`: remove build outputs.\n\n`clean_all`: `clean` plus remove Lean dependencies and\n    all benchmarking and profiling data.\n\n`specs`: [run under `all`] builds only the specifications of\nnative-code programs of interest.\n\n`proofs`: [run under `all`] builds only the proofs.\n\n`tests`: [run under `all`] builds concrete tests.\n\n`cosim`: [run under `all`] perform conformance testing.\n\n`awslc_elf`: perform ELF loading tests for AWS-LC.\n\n`benchmarks`: run benchmarks for the symbolic simulator.\n\n`profiler`: run a single round of each benchmark, with the profiler enabled\n\n### Makefile variables that can be passed in at the command line\n\n`VERBOSE`: Verbose mode; prints disassembly of the instructions being\n tested. Default: on.\n\n`NUM_TESTS`: Number of random tests/instruction class. Default: 20.\n\n## Directory Overview\n\n- `Arm`: Formalization of the Armv8 Aarch64 ISA\n- `Specs`: Specifications of algorithms of interest\n- `Proofs`: Proofs of Arm native-code programs\n- `Tests`: Concrete tests of Arm native-code programs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Flnsym","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanprover%2Flnsym","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Flnsym/lists"}