tirix / metamath-web

Metamath web server
http://metamath.tirix.org/mpeuni/toc
MIT License
4 stars 0 forks source link

wff and class definitions don't work again #26

Closed GinoGiotto closed 10 months ago

GinoGiotto commented 10 months ago

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

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

tirix commented 10 months ago

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

GinoGiotto commented 10 months ago

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 commented 10 months ago

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:

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 commented 10 months ago

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.