{"id":52016192,"url":"https://github.com/leanprover/hex-poly","last_synced_at":"2026-07-31T22:00:27.962Z","repository":{"id":373874658,"uuid":"1317258281","full_name":"leanprover/hex-poly","owner":"leanprover","description":"Mathlib-free verified dense polynomials for Lean 4","archived":false,"fork":false,"pushed_at":"2026-07-30T13:29:21.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-30T15:08:47.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lean","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanprover.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null,"disclosure":null}},"created_at":"2026-07-30T12:43:22.000Z","updated_at":"2026-07-30T13:30:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/leanprover/hex-poly","commit_stats":null,"previous_names":["leanprover/hex-poly"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/leanprover/hex-poly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Fhex-poly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Fhex-poly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Fhex-poly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Fhex-poly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanprover","download_url":"https://codeload.github.com/leanprover/hex-poly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Fhex-poly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36134849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-31T02:00:06.731Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-07-31T22:00:22.313Z","updated_at":"2026-07-31T22:00:27.929Z","avatar_url":"https://github.com/leanprover.png","language":"Lean","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hex-poly\n\nPart of [`hex`](https://github.com/kim-em/hex-dev), a computer algebra\nlibrary for Lean 4. The aim is fast executable code, fully verified, built\nwith spec-driven development.\n\nNormalized dense univariate polynomials for Lean 4, with no Mathlib dependency.\n\n`Hex.DensePoly R` stores coefficients in ascending order and maintains the\ncanonical invariant that trailing zeroes are removed. The library supplies\nconstructors, arithmetic, evaluation, division, gcd-related operations,\ncontent, and Chinese-remainder helpers used throughout Hex.\n\n# Quickstart\n\n```toml\n[[require]]\nname = \"hex-poly\"\ngit = \"https://github.com/leanprover/hex-poly.git\"\nrev = \"main\"\n```\n\n```lean\nimport HexPoly\nopen Hex\n```\n\n# Functionality\n\nAll public operations return normalized polynomials. Algorithms may use mutable\narrays internally, but the public representation and its equality are\ncanonical. For interoperability with Mathlib's `Polynomial`, use\n[`hex-poly-mathlib`](https://github.com/leanprover/hex-poly-mathlib).\n\n# Verification\n\nSee the [SPEC](SPEC/hex-poly.md) for representation invariants, executable\ncontracts, complexity expectations, and test strategy.\n\n# Contributing\n\nDevelopment happens in the\n[`hex-dev`](https://github.com/kim-em/hex-dev) monorepo, not in this published\nmirror. Contributions are welcome as pull requests to the `SPEC/` directory:\ndescribe the behavior you want and leave the implementation to the maintainer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Fhex-poly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanprover%2Fhex-poly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Fhex-poly/lists"}