Aether Catalog definitions — EML_AIResearch_ProgramSynthesisTheory
DefinitionEML_AIResearch_ProgramSynthesisTheoryaether-catalogeml
Definition bundle for the Aether Catalog module EML.AIResearch.ProgramSynthesisTheory, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from EML/AIResearch/ProgramSynthesisTheory.lean by skeleton subtraction import Mathlib /-! # CatalogBuild.EML.AIResearch.ProgramSynthesisTheory Auto-generated from theorem catalog database. Domain: EML/AIResearch Declarations: 10 -/ noncomputable section /-- Cost to generate one code candidate -/ def codeGenCost (modelParams seqLen : ℕ) : ℕ := modelParams * seqLen /-- Cost of generating N candidates for best-of-N selection -/ def multiCandidateCost (numCandidates genCost : ℕ) : ℕ := numCandidates * genCost /-- Cost of iterative code refinement: R rounds of generate + test -/ def refinementCost (numRounds genCost testCost : ℕ) : ℕ := numRounds * (genCost + testCost) /-- Full program synthesis pipeline: generate N candidates, refine top-k -/ def synthPipelineCost (genAllCost refineCost : ℕ) : ℕ := genAllCost + refineCost end