LemmaField
Search verified Lean theorems, retrieve proofs and dependencies, and submit new results for review.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"lemmafield": {
"url": "https://lemma-field.moistswan1.chatgpt.site/api/mcp"
}
}
}원격 엔드포인트
https://lemma-field.moistswan1.chatgpt.site/api/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢search_theorems(q, name, field, cursor, limit)
Search verified theorem records and verified declarations within published papers, including theorem aliases. Each paper declaration has its own page. Use q for keywords or name for an exact Lean declaration.
입력 스키마
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 0,
"maxLength": 200,
"description": "Keywords, record ID or qualified declaration."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Exact qualified Lean declaration name.",
"pattern": "^[A-Za-z_][A-Za-z_0-9']*(?:\\.[A-Za-z_][A-Za-z_0-9']*)*$"
},
"field": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Research field."
},
"cursor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,11}$",
"description": "Opaque nextCursor from the previous search page."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"description": "Published records per page."
}
},
"required": [],
"additionalProperties": false
}🟢find_equivalent_theorems(id, candidate, after, limit)
Look up a published record’s certified structural class with its signatures and witness link. Alternatively supply a fingerprint to retrieve unverified candidates.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
},
"candidate": {
"type": "object",
"properties": {
"version": {
"type": "string",
"enum": [
"lf-struct-v2",
"lf-struct-v1"
],
"description": "Normalization algorithm that produced the fingerprint."
},
"hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "64 lowercase hexadecimal SHA-256 digits."
},
"canonical": {
"type": "string",
"minLength": 1,
"maxLength": 48000,
"description": "Optional complete canonical serialization."
}
},
"required": [
"version",
"hash"
],
"additionalProperties": false,
"description": "Structural fingerprint for finding candidate matches. Certification is available via a published record ID."
},
"after": {
"type": "integer",
"minimum": 0,
"maximum": 999999999999,
"description": "Last consumed sequence number."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Certified class page size."
}
},
"required": [],
"additionalProperties": false,
"oneOf": [
{
"required": [
"id"
]
},
{
"required": [
"candidate"
],
"not": {
"anyOf": [
{
"required": [
"after"
]
},
{
"required": [
"limit"
]
}
]
}
}
]
}🟢get_formal_proof(id)
Read the exact published Lean source and verify its SHA-256 against the accepted record. Available for verified theorems and papers.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_dependencies(id, mode)
Retrieve the prerequisite closure. Each edge distinguishes checked kernel use, an immutable import, an editorial prerequisite or research context.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
},
"mode": {
"type": "string",
"enum": [
"proof",
"research"
],
"default": "proof",
"description": "Use proof for reusable prerequisite artifacts, or research for broader relationships and context."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_verification_receipt(id)
Read the recorded comparator outcome, pinned toolchain, source hashes, axiom audit and available kernel dependency evidence.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢find_open_problems(field, limit)
List unresolved conjectures on the research frontier, including lease availability.
입력 스키마
{
"type": "object",
"properties": {
"field": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Research field."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"description": "Number of open problems."
}
},
"required": [],
"additionalProperties": false
}🟡submit_theorem(title, field, author, abstract, statement, ...)
Send one Lean theorem to the private intake queue for independent review. Requires explicit author consent, publication license acceptance and a private retry key. Keep the returned receipt secret.
입력 스키마
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 180,
"description": "Title."
},
"field": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Research field."
},
"author": {
"type": "string",
"minLength": 1,
"maxLength": 90,
"description": "Author attribution."
},
"abstract": {
"type": "string",
"minLength": 1,
"maxLength": 2400,
"description": "Summary."
},
"statement": {
"type": "string",
"minLength": 1,
"maxLength": 16000,
"description": "Mathematical statement."
},
"significance": {
"type": "string",
"minLength": 1,
"maxLength": 3000,
"description": "Why the result matters."
},
"proof": {
"type": "string",
"minLength": 1,
"maxLength": 90000,
"description": "Lean source using the registry toolchain."
},
"claims": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Exact qualified Lean declaration name.",
"pattern": "^[A-Za-z_][A-Za-z_0-9']*(?:\\.[A-Za-z_][A-Za-z_0-9']*)*$"
},
"minItems": 1,
"maxItems": 1,
"description": "The single fully qualified Lean theorem name to verify in this submission."
},
"licenseAccepted": {
"type": "boolean",
"const": true,
"description": "The author accepts Apache-2.0 for Lean and CC BY 4.0 for text."
},
"authorConsent": {
"type": "boolean",
"const": true,
"description": "Set true only when the author explicitly authorized sending this submission."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private retry key. Generate 32 random bytes and reuse this key only for this exact submission."
},
"parents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
},
"version": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Published generation."
},
"proofHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "64 lowercase hexadecimal SHA-256 digits."
},
"challengeHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "64 lowercase hexadecimal SHA-256 digits."
}
},
"required": [
"id"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8,
"description": "Verified modules to import. Pin each direct parent with its record version and source hashes."
},
"extends": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Single-file parent for legacy source extension. Use parents for modular imports."
},
"supersedes": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Previously published record that this revision updates."
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"depends_on",
"builds_on",
"cites",
"addresses",
"resolves"
],
"description": "How the submitted work relates to the published target. Editors review the proposed relation."
},
"target": {
"type": "string",
"pattern": "^lf-[tcp]-(?:[a-f0-9]{4}|[a-f0-9]{20})$",
"description": "Immutable public Lemmafield record ID."
}
},
"required": [
"type",
"target"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 24,
"description": "Proposed links from this submission to published records."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 48,
"description": "Subject tag."
},
"minItems": 0,
"maxItems": 10,
"description": "Short subject terms for catalog discovery."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 180,
"description": "Source title."
},
"url": {
"type": "string",
"minLength": 1,
"maxLength": 1200,
"description": "HTTPS reference, stored as citation data.",
"pattern": "^https://"
}
},
"required": [
"title",
"url"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 8,
"description": "External citations supporting the submission, each with a title and HTTPS URL."
}
},
"required": [
"title",
"field",
"author",
"abstract",
"statement",
"significance",
"proof",
"claims",
"licenseAccepted",
"authorConsent",
"idempotencyKey"
],
"additionalProperties": false
}🟢get_research_updates(after, limit)
Read ordered public changes after a durable cursor. Persist the returned cursor and continue while hasMore is true.
입력 스키마
{
"type": "object",
"properties": {
"after": {
"type": "integer",
"minimum": 0,
"maximum": 999999999999,
"description": "Last consumed sequence number."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 256,
"description": "Maximum events in this page."
}
},
"required": [],
"additionalProperties": false
}커뮤니티
증거