Skip to content

Improve speed of xcf, xfun_spec etc. #345

@xrchz

Description

@xrchz

These tactics use the stateful simplifier and can become rather inefficient. This issue is to minimise the use of the simplifier in cfTacticsLib.sml, using lower-level/more specific proof tools instead. For example, something like

rpt(CHANGED_TAC (disch_then (mp_tac o CONV_RULE reduce_conv o PURE_ONCE_REWRITE_RULE[cf_def])))

might do better than

disch_then(mp_tac o CONV_RULE reduce_conv o simp_rule [cf_def])

Although this can probably be improved further.

If everything in examples builds and there is any noticeable speed increase, this issue can be closed. (Or if there's an argument put forward for why better speed of xcf is impossible.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions