{"id":15389234,"url":"https://github.com/m4b/algos","last_synced_at":"2025-10-28T17:39:42.667Z","repository":{"id":67890526,"uuid":"12096992","full_name":"m4b/algos","owner":"m4b","description":"Algebraic arithmetization of boolean algebra and its implementation.","archived":false,"fork":false,"pushed_at":"2014-03-20T17:28:27.000Z","size":460,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T01:02:54.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4b.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}},"created_at":"2013-08-14T01:21:46.000Z","updated_at":"2023-05-26T13:16:51.000Z","dependencies_parsed_at":"2023-02-20T22:46:14.078Z","dependency_job_id":null,"html_url":"https://github.com/m4b/algos","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/m4b%2Falgos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4b%2Falgos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4b%2Falgos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4b%2Falgos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4b","download_url":"https://codeload.github.com/m4b/algos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249146262,"owners_count":21220100,"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-01T14:59:48.942Z","updated_at":"2025-10-28T17:39:37.633Z","avatar_url":"https://github.com/m4b.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"algos\n=====\n\n ἔνθ᾽ οἵ γ᾽ ἄλγε᾽ ἔχοντες ὑπὸ χθονὶ ναιετάοντες\n εἵατ᾽ ἐπ᾽ ἐσχατιῇ, μεγάλης ἐν πείρασι γαίης,\n δηθὰ μάλ᾽ ἀχνύμενοι, κραδίῃ μέγα πένθος ἔχοντες. \n\n and he made them live beneath the wide-pathed earth,\n where they were afflicted, being set to dwell under the ground,\n at the end of the earth, at its great borders,\n in bitter anguish for a long time and with great grief at heart.\n Hesiod, Theogony, 620\n\n=====\n\nAlgebraic arithmetization of boolean algebra and its OCaml implementation.\n\nTo compile:\n\nocamlbuild main.native\n\n----\n\nA different kind of SAT solver, boolean formulas are represented as algebraic expressions.\n\nFor example:\n\na → b ≡ (1 + −a + (a × b))\n\nThe solver performs cancellation, idempotency reductions, x^2 = x holds in this algebra, and so on and so forth, until either a fully reduced algebraic expression in sum of product forms is found; or 0, or 1.  Reduction to 1 is a tautology, 0 a contradiction, and anything else a satisfiable expression.\n\nThe ``interpreter'' accepts unicode (∨, →, ¬, etc.), in addition to the usual ascii representations of the logical formulae (\\/, -\u003e, ~, etc.)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4b%2Falgos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4b%2Falgos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4b%2Falgos/lists"}