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

wff and class definitions don't work again #26

Closed
GinoGiotto opened this issue Nov 11, 2023 · 4 comments
Closed

wff and class definitions don't work again #26

GinoGiotto opened this issue Nov 11, 2023 · 4 comments

Comments

@GinoGiotto
Copy link

Example: https://metamath.tirix.org/mpests/wmo.html

It shows "Could not format assertion : Unknown statement" again.

@tirix
Copy link
Owner

tirix commented Nov 11, 2023

That's actually a different case, previously I fixed only hypotheses, this time I also fixed definitions.
This should be fixed with #27.

@GinoGiotto
Copy link
Author

I don't understand, the official metamath page seems to differ from the metamath-web one.

Taking wmo as example (don't mind that I'm using dark mode):

The metamath-page https://us.metamath.org/mpeuni/wmo.html shows:

Immagine 2023-11-12 002609

While the corresponding metamath-web https://metamath.tirix.org/mpests/wmo.html shows:
Immagine 2023-11-12 003026

The first shows a wff type, while the second shows a turnstile (the official website shows $f hypotheses as well, but that's maybe a topic for other discussions).

@tirix
Copy link
Owner

tirix commented Nov 12, 2023

The first shows a wff type, while the second shows a turnstile

Yes that's wrong, turnstile means provable, and that assertion is not provable in general, it's just a syntax definition.
I fix this specific problem in #28.

(the official website shows $f hypotheses as well, but that's maybe a topic for other discussions).

That's right! I had not noticed that before.
There are two kinds of hypotheses defined by metamath:

  • $f floating hypotheses (i.e. type declaration for variables)
  • $e essential hypotheses (i.e. actual semantic hypotheses)

I systematically only display the essential hypotheses. I could make an exception for syntax definitions, and display floating hypotheses in this case, in order to match with the metamath pages.

@GinoGiotto
Copy link
Author

I systematically only display the essential hypotheses. I could make an exception for syntax definitions, and display floating hypotheses in this case, in order to match with the metamath pages.

Sounds good, I'll open a new issue for this topic then.

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

2 participants