Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMT/urtheories/source/subtypes.mmt needs building twice #20

Closed
cmaeder opened this issue Jun 19, 2015 · 4 comments
Closed

MMT/urtheories/source/subtypes.mmt needs building twice #20

cmaeder opened this issue Jun 19, 2015 · 4 comments

Comments

@cmaeder
Copy link

cmaeder commented Jun 19, 2015

Because theory Inhabitation is (textually) given after the theory PredicateSubtypes that includes Inhabitation the source files needs to be build twice. The first time error: unbound token: ! is reported for PredicateSubtypes (line 17, column 25 or char 553 in the source file)

Luckily, building all of urtheories (in alphabetical order) twice is sufficient. theory PLF (from lf.mmt) needs to be known before subtypes.mmt any way.

@cmaeder
Copy link
Author

cmaeder commented Jun 19, 2015

user: build [urtheories] mmt-omdoc  subtypes.mmt
archive: [source -> narration] /var/data/localmh/MathHub/MMT/urtheories/source/subtypes.mmt -> /var/data/localmh/MathHub/MMT/urtheories/narration/subtypes.omdoc
      error: unbound token: !
    error: invalid unit: http://cds.omdoc.org/urtheories?PredicateSubtypes?sub?type:  |- {A,P}{x:A}! (P x)→A|P INHABITABLE
user: build [urtheories] mmt-omdoc  subtypes.mmt finished

use "build urtheories -mmt-omdoc subtypes.mmt" to remove it first.

@cmaeder cmaeder changed the title MMT/urtheories/source/subtypes.mmt needs to be build twice MMT/urtheories/source/subtypes.mmt needs building twice Jun 19, 2015
@cmaeder
Copy link
Author

cmaeder commented Sep 4, 2015

Meanwhile, I've moved the theory PredicateSubtypes to the end of the file, yet an error remains:

 archive: [source -> narration] /home/travis/build/KWARC/MMT/urtheories/source/subtypes.mmt -> /home/travis/build/KWARC/MMT/urtheories/narration/subtypes.omdoc

    error: invalid unit: http://cds.omdoc.org/urtheories?PredicateSubtypes?subA_subA?type:  |- {A,P,Q}({x}P x→Q x)→A|P⊆‍A|Q INHABITABLE

@cmaeder
Copy link
Author

cmaeder commented Sep 4, 2015

@florian-rabe This is actually a new error introduced by revision 3163 185c583 (as git bisect revealed)

@cmaeder
Copy link
Author

cmaeder commented Oct 13, 2015

fixed a while ago by florian

@cmaeder cmaeder closed this as completed Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant