Lean Formalization

Skill id: lean-formalization

Generated from JSON Schema — do not edit by hand. Run bun run cat-harness/scripts/gen-schema-docs.ts.

Input

Input schema for the lean-formalization skill. Describes source material to be formalized in Lean 4.

FieldTypeRequiredDescription
sourceFilestringyesPath to the source material (LaTeX, markdown, or existing Lean file) to formalize.
targetModulestringyesLean module path for the output (e.g. ‘Qou.CategoryTheory.Functors’).
proofStrategy"tactic" | "term" | "mixed"noPreferred proof style. (default: "tactic")
dependenciesarraynoLean package dependencies (lake packages).

Raw schema · ✎ Edit

Output

Output schema for the lean-formalization skill.

FieldTypeRequiredDescription
leanFilesarrayyes
buildStatus"success" | "warnings" | "errors"yes
diagnosticsarrayno

leanFiles[]

FieldTypeRequiredDescription
pathstringyes
modulestringyes
sorryCountintegernomin: 0

diagnostics[]

FieldTypeRequiredDescription
filestringno
lineintegerno
severity"error" | "warning" | "info"no
messagestringno

Raw schema · ✎ Edit


folio-assistant — code under the Apache License 2.0, documentation under CC BY 3.0. Generated schema and API references are rebuilt from source on every push to main.

deployed b08c961 · 2026-10-23T23:11:09Z