Cypher 是图查询语言:通过 2-计数器机模拟的正式证明
Cypher is Turing-Complete: A Formal Proof via 2-Counter Machine Simulation
AI总结:
本文证明了 Neo4j 的图查询语言 Cypher 25 是图查询语言:通过 2-计数器机模拟的正式证明
摘要:
我们证明了 Neo4j 的图查询语言 Cypher 25 是图查询语言:通过 2-计数器机模拟的正式证明。证明显示,一个使用 reduce()、CASE 表达式和列表推导的单个 RETURN 语句可以模拟任何 2-计数器机(Minsky 1967)。我们通过两种互补的解决方法回应了有限步数的反对意见,并提出了一种第三种图原生的模拟方法,使用带有 allReduce 的量化路径模式(QPP)。所有三种构造都在一个实时的 Neo4j Aura 实例上得到验证。
英文摘要:
We prove that Cypher 25, the graph query language of Neo4j, is Turing-complete. The proof shows that a single RETURN statement using reduce(), CASE expressions, and list comprehensions can simulate any 2-counter machine (Minsky 1967). We address the bounded-step objection via two complementary resolutions and present a third graph-native simulation using quantified path patterns (QPP) with allReduce. All three constructions were verified on a live Neo4j Aura instance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。