Skip to content

Typechecker optimization #142

Description

@Vtec234

This issue is to discuss ideas for improving performance of the SynthLean typechecker, including both the time taken to check MLTT expressions and the sizes of the resulting typing derivations.

Performance curves on four benchmarks (fn/id/pair/prod) as of commit 88fc39d are reproduced below. We see that the time taken to typecheck a SynthLean term is superlinear in the time taken to typecheck the original Lean term for fn, pair, and prod, and that typing derivation sizes are superlinear in term size for fn and pair.

fn
fn

id
id

pair
pair

prod
prod

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-metaComponent: user-facing notation, typechecker, tacticsI-critImpact: criticalO-groupOther: issue groupO-helpHelp wanted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions