aristotle-lean
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAristotle Lean
Aristotle Lean
Trit: -1 (MINUS)
Domain: Formal Verification / Theorem Proving
Provider: Harmonic (harmonic.fun)
Trit: -1 (MINUS)
领域: 形式化验证 / 定理证明
提供方: Harmonic (harmonic.fun)
Overview
概述
Aristotle is an IMO Gold Medal level Lean4 theorem prover that fills holes in proofs, auto-generates counterexamples for false statements, and integrates with Mathlib and lake dependencies.
sorryAristotle是一款具备IMO金牌水平的Lean4定理证明器,能够填补证明中的空缺,为错误命题自动生成反例,并且支持与Mathlib和lake依赖集成。
sorryAPI Configuration
API配置
Endpoint: aristotle.harmonic.fun
Auth: Auth0-based (requires signup/login at harmonic.fun)Endpoint: aristotle.harmonic.fun
Auth: Auth0-based (requires signup/login at harmonic.fun)Capabilities
功能特性
- Sorry Hole Filling: Completes incomplete Lean4 proofs
- Dual Input: Accepts English descriptions or Lean4 code
- Counterexample Generation: Auto-generates counterexamples for false statements
- Project Integration: Works with project theorems, lake dependencies, Mathlib
- PROVIDED SOLUTION Tag: Use comment tag to mark solution regions
- Sorry空缺填补:补全不完整的Lean4证明
- 双输入支持:接受英文描述或Lean4代码
- 反例生成:为错误命题自动生成反例
- 项目集成:适配项目定理、lake依赖、Mathlib
- PROVIDED SOLUTION标签:可使用注释标签标记解决方案区域
Benchmarks
基准测试
| Benchmark | Score |
|---|---|
| MiniF2F | 90% |
| VERINA | 96.8% |
| 基准测试 | 得分 |
|---|---|
| MiniF2F | 90% |
| VERINA | 96.8% |
Usage Pattern
使用示例
lean
-- English prompt in comment
-- "Prove that the sum of two even numbers is even"
theorem sum_even (a b : ℕ) (ha : Even a) (hb : Even b) : Even (a + b) := by
sorry -- Aristotle fills thislean
-- PROVIDED SOLUTION: explicit solution marker
theorem my_theorem : P → Q := by
-- PROVIDED SOLUTION
sorrylean
-- English prompt in comment
-- "Prove that the sum of two even numbers is even"
theorem sum_even (a b : ℕ) (ha : Even a) (hb : Even b) : Even (a + b) := by
sorry -- Aristotle fills thislean
-- PROVIDED SOLUTION: explicit solution marker
theorem my_theorem : P → Q := by
-- PROVIDED SOLUTION
sorryIntegration with GF(3)
GF(3)集成
This skill participates in triadic composition:
- Trit -1 (MINUS): Verification/validation/analysis
- Conservation: Σ trits ≡ 0 (mod 3) across skill triplets
本技能支持三元组合成:
- Trit -1 (MINUS): 验证/确认/分析
- 守恒规则: 技能三元组的trits总和满足 Σ trits ≡ 0 (mod 3)
Related Skills
相关技能
- lean4-metaprogramming (trit +1)
- mathlib-tactics (trit 0)
- proof-assistant (trit -1)
- formal-verification (trit -1)
Skill Name: aristotle-lean
Type: Formal Verification / Theorem Proving
Trit: -1 (MINUS)
GF(3): Conserved in triplet composition
- lean4-metaprogramming (trit +1)
- mathlib-tactics (trit 0)
- proof-assistant (trit -1)
- formal-verification (trit -1)
技能名称: aristotle-lean
类型: 形式化验证 / 定理证明
Trit: -1 (MINUS)
GF(3): 三元组合成时满足守恒规则
Non-Backtracking Geodesic Qualification
无回溯测地资格
Condition: μ(n) ≠ 0 (Möbius squarefree)
This skill is qualified for non-backtracking geodesic traversal:
- Prime Path: No state revisited in skill invocation chain
- Möbius Filter: Composite paths (backtracking) cancel via μ-inversion
- GF(3) Conservation: Trit sum ≡ 0 (mod 3) across skill triplets
- Spectral Gap: Ramanujan bound λ₂ ≤ 2√(k-1) for k-regular expansion
Geodesic Invariant:
∀ path P: backtrack(P) = ∅ ⟹ μ(|P|) ≠ 0
Möbius Inversion:
f(n) = Σ_{d|n} g(d) ⟹ g(n) = Σ_{d|n} μ(n/d) f(d)条件: μ(n) ≠ 0 (莫比乌斯无平方因子)
本技能具备无回溯测地遍历资格:
- 素路径: 技能调用链中不会重复访问状态
- 莫比乌斯过滤器: 复合路径(回溯)通过μ反转抵消
- GF(3)守恒: 技能三元组的Trit总和满足 ≡ 0 (mod 3)
- 谱间隙: k正则展开满足拉马努金界 λ₂ ≤ 2√(k-1)
Geodesic Invariant:
∀ path P: backtrack(P) = ∅ ⟹ μ(|P|) ≠ 0
Möbius Inversion:
f(n) = Σ_{d|n} g(d) ⟹ g(n) = Σ_{d|n} μ(n/d) f(d)SDF Interleaving
SDF对接
This skill connects to Software Design for Flexibility (Hanson & Sussman, 2021):
本技能对接《Software Design for Flexibility》(Hanson & Sussman, 2021):
Primary Chapter: 4. Pattern Matching
核心对应章节:4. 模式匹配
Concepts: unification, match, segment variables, pattern
涉及概念: 合一、匹配、段变量、模式
GF(3) Balanced Triad
GF(3)平衡三元组
aristotle-lean (−) + SDF.Ch4 (+) + [balancer] (○) = 0Skill Trit: -1 (MINUS - verification)
aristotle-lean (−) + SDF.Ch4 (+) + [balancer] (○) = 0技能Trit: -1 (MINUS - 验证)
Connection Pattern
对接模式
Pattern matching extracts structure. This skill recognizes and transforms patterns.
模式匹配用于提取结构,本技能可识别并转换模式。