{"id":22202898,"url":"https://github.com/logsem/two_pcf_models","last_synced_at":"2025-03-25T01:47:34.989Z","repository":{"id":180105069,"uuid":"664593689","full_name":"logsem/two_pcf_models","owner":"logsem","description":"Two models of PCF in siProp","archived":false,"fork":false,"pushed_at":"2023-07-14T09:05:41.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-30T03:28:08.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Coq","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logsem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-10T10:18:24.000Z","updated_at":"2023-07-10T10:25:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f35868c-f781-4ed7-bc21-2e84964ca6de","html_url":"https://github.com/logsem/two_pcf_models","commit_stats":null,"previous_names":["logsem/two_pcf_models"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logsem%2Ftwo_pcf_models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logsem%2Ftwo_pcf_models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logsem%2Ftwo_pcf_models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logsem%2Ftwo_pcf_models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logsem","download_url":"https://codeload.github.com/logsem/two_pcf_models/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383120,"owners_count":20606265,"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":[],"created_at":"2024-12-02T16:38:48.629Z","updated_at":"2025-03-25T01:47:34.963Z","avatar_url":"https://github.com/logsem.png","language":"Coq","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Two models of PCF in siProp/Iris\n\nIn this repository you can find two formalized models of PCF in a form\nof \"guarded type theory\" provided by Iris.\n\nThe first model is the \"typed\" model, described in [2]. It interprests\nevery type as a certain pointed \"guarded domain\".\n\nThe second model is an \"untyped\" model, a-la Scott's model for untyped\nλ-calculus. It interprets all types in the same \"guarded domain\".\n\nThe formalization is organized as follows:\n\n- `lang.v` contains the syntax and operational semantics of PCF, using\n  the well-typed representation as in [1].\n- `typed/model.v` contains the interpretation of PCF in the \"typed\"\n  model, with the lift functor, and `typed/logrel.v` contains the\n  logical relation for proving adequacy of the model\n- `untyped/model.v` contains the intepretation of PCF in the \"untyped\"\n  model, with the guarded-recursive universal domain, and\n  `untyped/logrel.v` contains the logical relation for adequacy\n- `prelude.v` contains some material that has been missing from Iris\n\n## Installation instructions\n\nTo compile the source code, make sure that you have Iris, std++, and Equations installed, and then compile the project with `make`, for example:\n```\nopam install . --deps-only\nmake -j 2\n```\n\n\n## References\n\n- [1]: \"Strongly Typed Term Representations in Coq\", N. Benton, C.-K. Hur, A. Kennedy, C. McBride, 2012\n- [2]: \"A Model of PCF in Guarded Type Theory\", M. Paviotti, R. Møgelberg, L. Birkedal, 2015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogsem%2Ftwo_pcf_models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogsem%2Ftwo_pcf_models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogsem%2Ftwo_pcf_models/lists"}