{"id":21540601,"url":"https://github.com/tchajed/dafny-syntax-tutorial","last_synced_at":"2026-02-08T13:31:22.843Z","repository":{"id":163685388,"uuid":"630194512","full_name":"tchajed/dafny-syntax-tutorial","owner":"tchajed","description":"Short introduction to Dafny","archived":false,"fork":false,"pushed_at":"2023-09-27T16:25:39.000Z","size":137,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-10T08:46:30.043Z","etag":null,"topics":["dafny","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Dafny","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tchajed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-19T21:43:55.000Z","updated_at":"2025-02-10T14:24:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2b75b03-cd0f-4c87-bd49-c3c790c9b73c","html_url":"https://github.com/tchajed/dafny-syntax-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tchajed/dafny-syntax-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchajed%2Fdafny-syntax-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchajed%2Fdafny-syntax-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchajed%2Fdafny-syntax-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchajed%2Fdafny-syntax-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tchajed","download_url":"https://codeload.github.com/tchajed/dafny-syntax-tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchajed%2Fdafny-syntax-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29231509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T13:10:22.947Z","status":"ssl_error","status_checked_at":"2026-02-08T13:08:18.779Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dafny","tutorial"],"created_at":"2024-11-24T04:19:32.020Z","updated_at":"2026-02-08T13:31:22.806Z","avatar_url":"https://github.com/tchajed.png","language":"Dafny","readme":"# Introduction to Dafny\n\nShort introduction to Dafny as a vehicle for proofs, as well as a reference for\nDafny syntax. Focuses on mathematical objects, so no executable functions,\nloops, or heap reasoning.\n\nIf you'd prefer a video version, we have a [series of YouTube\nlectures](https://www.youtube.com/playlist?list=PLGRomBFFLGeou_T_ce3nfRagJarH21lim)\nbased on this code. The comments in the Dafny files are intended to be\nstandalone if you prefer text (or if you want to reference something).\n\n## Outline\n\n[Lecture 1 (logic)](src/lec1_logic.dfy): lemmas, functions, and assertions\n\n[Lecture 2 (sequences)](src/lec2_sequences.dfy): the built-in sequence data type\n\n[Lecture 3 (algebraic datatypes)](src/lec3_algebraic_datatypes.dfy): algebraic\ndatatypes for user-defined data\n\n[Lecture 4 (advanced topics)](src/lec4_advanced.dfy): an assortment of advanced\ntopics: opacity/revealing, recursion, and assign-such-that.\n\n----\n\nThis tutorial was originally written for a [VMware protocol verification\ncourse](https://github.com/jonhnet/vmware-verification-2023), but we hope it's\nuseful to others!\n\nThe text of this tutorial is licensed under\n[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). The code is licensed\nunder the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchajed%2Fdafny-syntax-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftchajed%2Fdafny-syntax-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchajed%2Fdafny-syntax-tutorial/lists"}