{"id":22863536,"url":"https://github.com/kiranandcode/lean-aoc","last_synced_at":"2025-05-07T11:20:34.227Z","repository":{"id":265853743,"uuid":"895489154","full_name":"kiranandcode/lean-aoc","owner":"kiranandcode","description":"Advent of code in Lean4","archived":false,"fork":false,"pushed_at":"2024-12-25T06:43:44.000Z","size":126,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T09:33:22.266Z","etag":null,"topics":["advent-of-code","lean","lean4"],"latest_commit_sha":null,"homepage":"","language":"Lean","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/kiranandcode.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":"2024-11-28T09:57:55.000Z","updated_at":"2024-12-25T06:43:47.000Z","dependencies_parsed_at":"2024-12-01T08:29:53.989Z","dependency_job_id":"205dd4ab-8124-46c3-8cf0-4ef471692a1a","html_url":"https://github.com/kiranandcode/lean-aoc","commit_stats":null,"previous_names":["kiranandcode/lean-aoc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Flean-aoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Flean-aoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Flean-aoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiranandcode%2Flean-aoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiranandcode","download_url":"https://codeload.github.com/kiranandcode/lean-aoc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866010,"owners_count":21816374,"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":["advent-of-code","lean","lean4"],"created_at":"2024-12-13T11:16:23.059Z","updated_at":"2025-05-07T11:20:34.200Z","avatar_url":"https://github.com/kiranandcode.png","language":"Lean","readme":"# Advent of Code 2024 Lean4\n\nPlaying around with Advent of Code in Lean~\n\nMisc programming utils and macros I need will be placed under `Utils/`\n\nThis library also provides a wrapper around the AOC API (using curl internally)\n```\nlet input : IO String := AOC.getInput 3\n-- retrieves input for day 3 for the current year (call is cached, so repeated evaluations will not make network calls)\n\nlet input : IO String := AOC.getInput 4 (.some 2023)\n-- retrieves input for day 4 for 2023\n```\n\nSolutions will show up under `Solutions/`\n\nMost solutions will be written using a simple evaluation macro I wrote:\n```lean\n#example (1 + 1  : Nat)\n   evaluates to (2: Nat)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Flean-aoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiranandcode%2Flean-aoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiranandcode%2Flean-aoc/lists"}