Lean Kodunu Derle
lean_checkCompile Lean 4 code locally against Mathlib and return status plus compiler diagnostics, so you can iterate on proofs instead of guessing.
Instructions
Verilen Lean 4 kodunu yerel Lean derleyicisiyle çalıştırır. Mathlib ve temel Lean kütüphanesi kullanılabilir. Derleme başarılıysa status=success, başarısızsa derleyicinin hata mesajları diagnostics içinde döner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Çalıştırılacak Lean 4 kaynak kodu. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Derleme sonucunun durumu. | |
| summary | Yes | Sonucun kısa açıklaması. | |
| diagnostics | Yes | Derleyiciden gelen hata, uyarı ve bilgi mesajları. |