Skip to content

MM Diff #99

@tirix

Description

@tirix

@benjub asked in a thread:

how easy/useful would it be to have the CI check/warn if dependencies were added in any proof in an MR ? (by comparing the outputs of show trace xxx /axioms for all xxx modified by the PR) ?

I think generally it would be interesting to make a tool to check differences between two versions of a MM file and output useful information like:

  • which theorems were changed
  • which comments were changed
  • are the changes in the Mathboxes?
  • axiom usage change, etc.

I don't think any existing tool provides this kind of functionality.
git diff provides the lines changed, so its output could be used as an input for computing these changes.
And git diff can be run within a GitHub action to get the changes in the current PR.

My question is: should this functionality be built-in in metamath-knife, or should we consider a new mm-diff tool based on metamath-knife?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions