{"id":16313571,"url":"https://github.com/annenkov/2ltt-docker","last_synced_at":"2026-02-24T06:43:27.843Z","repository":{"id":75144650,"uuid":"218035653","full_name":"annenkov/2ltt-docker","owner":"annenkov","description":"A docker image for the two-level type theory formalisation in Lean","archived":false,"fork":false,"pushed_at":"2019-10-28T19:46:43.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T04:26:55.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/annenkov.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":"2019-10-28T11:54:47.000Z","updated_at":"2019-10-28T19:46:44.000Z","dependencies_parsed_at":"2023-06-05T13:47:41.037Z","dependency_job_id":null,"html_url":"https://github.com/annenkov/2ltt-docker","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/annenkov%2F2ltt-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annenkov%2F2ltt-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annenkov%2F2ltt-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annenkov%2F2ltt-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/annenkov","download_url":"https://codeload.github.com/annenkov/2ltt-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250254893,"owners_count":21400410,"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-10-10T21:51:34.989Z","updated_at":"2025-10-25T21:18:20.768Z","avatar_url":"https://github.com/annenkov.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A docker image for 2LTT development\n\nA docker image for the two-level type theory formalisation in Lean: https://github.com/annenkov/two-level\n\nSteps to build\n==============\n\n* Clone this repo.\n* Install `docker`.\n* In the terminal, go to the directory you cloned this repo and run (notice `.` at the end) `docker build -t lean-image .`\n* After building step is complete (this might take some time), run `docker run -it lean-image` to connect your current terminal session to the container.\n* In the container, type `emacs ~/two-level/fibrantlimits.lean` to start editing `fibrantlimits.lean` with the lean-mode in Emacs.\n\nInteracting with the Lean development\n=====================================\n\nAs we have said before, the docker image comes with Emacs and lean-mode. The lean-mode provides syntax highlighting and allows to interactively develop proofs. \nUse \u003ckbd\u003eC-c C-g\u003c/kbd\u003e to show goal in tactic proof, \u003ckbd\u003eC-c C-p\u003c/kbd\u003e to print information about identifier, \u003ckbd\u003eC-c C-t\u003c/kbd\u003e to show type, and \u003ckbd\u003eC-c C-l\u003c/kbd\u003e to comple a lean file.\n\nAlternatively, one can use the command line to compile the project or individual files:\n\n* After executing `docker run -it lean-image`, change directory to our Lean development `cd ~/two-level`.\n* Run `make clean` to clean previously compiled files\n* Run `make` again to rebuild the project.\n* Individual files can be compiled using `lean \u003cfilename.lean\u003e`.\n\nThe image comes with the preinstalled `nano` editor that can be used to view/edit the source files (but without syntax highlighting). Other editors can be installed, if required, using the `apt-get` command. For example, `apt-get install vim`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannenkov%2F2ltt-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannenkov%2F2ltt-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannenkov%2F2ltt-docker/lists"}