Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Automatically generate the MM0 file from the MM1 file #111

@segf00lt

Description

@segf00lt

I've been playing around a little bit in the language and, as far as I've understood, the only difference between an mm0 file and mm1 is the absence of proofs. This makes me wonder: could a simple text substitution be used to create an mm0 file from an mm1 file? Why must the 2 files be written separately?
So for example, could one extract all lines from peano.mm1 that start with 'axiom' 'pub theorem' etc and write them to peano.mm0 (with the 'pub' stripped off and such), and get a valid mm0 file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions