{"id":14966225,"url":"https://github.com/bakseter/thesis","last_synced_at":"2026-01-23T21:53:11.069Z","repository":{"id":171651317,"uuid":"588578489","full_name":"bakseter/thesis","owner":"bakseter","description":"My master thesis (and related code) in Logic at the University of Bergen.","archived":false,"fork":false,"pushed_at":"2024-02-02T21:08:46.000Z","size":7842,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T05:44:26.278Z","etag":null,"topics":["coq","formalization","proof-theory","thesis"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":false,"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/bakseter.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-01-13T13:19:31.000Z","updated_at":"2023-07-07T12:29:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"bda4e342-1e4d-4916-9172-76a61d0b8c6c","html_url":"https://github.com/bakseter/thesis","commit_stats":{"total_commits":101,"total_committers":5,"mean_commits":20.2,"dds":0.03960396039603964,"last_synced_commit":"9c465d4feb403d7d112e5c378cf9f488e8775cb2"},"previous_names":["bakseter/thesis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bakseter/thesis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fthesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fthesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fthesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fthesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bakseter","download_url":"https://codeload.github.com/bakseter/thesis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakseter%2Fthesis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28700538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: 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":["coq","formalization","proof-theory","thesis"],"created_at":"2024-09-24T13:36:02.371Z","updated_at":"2026-01-23T21:53:11.052Z","avatar_url":"https://github.com/bakseter.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Case Study in Dependent Type Theory: Extracting a Certified Program from the Formal Proof of its Specification\n\n## Thesis\n\nLaTeX code for template taken from https://github.com/echo-uib/master-latex-template.\n\nSee `.tex-build/main.pdf` for pdf.\n\n## Formalization\n\n### Build Coq files\n\nProof of main theorem (Theorem 3.2) is located in `coq/src/Main.v`.\nHaskell extraction, along with some examples (and minor manual code changes, see thesis 5.1.2), is located in `coq/extr/Main.hs`.\nThe largest example uses type universe constraints taken from `Main.v`\nusing `Print Universes`.\n\n```\ncd coq\nmake -f CoqMakefile\n```\n\n**Running the above command will also re-extract the file `Main.hs`,\nthus removing some changes (done manually for QOL)!**\n\n### Compile \u0026 run Haskell example\n\n`coq/extr/Main.hs` can be compiled with Stack for much better efficiency.\n\n```\ncd coq/extr/stack-proj\nstack run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakseter%2Fthesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakseter%2Fthesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakseter%2Fthesis/lists"}