TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Solving SAT via Positive Supercompilation

153 点作者 Hirrolot超过 1 年前

5 条评论

inasio超过 1 年前
There are many very simple heuristics for solving 3-SAT, some even with analytical convergence estimates. A simple random walk (Algorithm P in Knuth's Satisfiability fascicle), which iterates through the clauses and flips a variable at random if it encounters a violated clause, will do the trick too
kazinator超过 1 年前
Conversion of an NFA graph to DFA (in regex processing) seems to be a kind of supercompilation. The NFA is treated as a process, and is simulated for all possible input symbols at every step. The supercompiler makes note of what states it goes into and turns sets of them into DFA states.
评论 #39232461 未加载
arcastroe超过 1 年前
Ah, should&#x27;ve double checked before posting. Thank you everyone who corrected me. Leaving it up for others.<p>&gt; SAT is an NP-complete problem, meaning that it is at least as hard as any other problem in NP<p>I think this statement is backwards. Instead, any other problem in NP is at least as hard as SAT
评论 #39219323 未加载
评论 #39219360 未加载
评论 #39221518 未加载
zellyn超过 1 年前
I&#x27;m almost completely clueless with both 3-SAT and supercompilation, but I&#x27;m willing to bet that if you found a neat trick that solves 3-SAT problems easily, then either or both (a) there are classes and&#x2F;or sizes of 3-SAT problems for which your solution breaks down badly (goes exponential), or (b) what you&#x27;re doing reduces to a 3-SAT strategy that the people who enter 3-SAT contests[1] already knew about a long time ago.<p>[1] <a href="http:&#x2F;&#x2F;www.satcompetition.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.satcompetition.org&#x2F;</a>
评论 #39220641 未加载
评论 #39220471 未加载
评论 #39222040 未加载
评论 #39225377 未加载
theGnuMe超过 1 年前
Is this just compiler optimized memoization? I mean this is great for parallelization as well but I thought this was standard in the functional programming paradigm. Maybe I am wrong.
评论 #39220295 未加载
评论 #39220682 未加载