Live data from Hacker News

Dungeon Proof Crawler: learn how to write proofs with RPG

dhilst.github.io

11–20 of 28 posts

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#11

I thought this was about writing proofs with RPG the programming language and I was intrigued. To make it clear that it is with an RPG (role playing game) it needs an "an" in the title.

Sorry, I didn't even know RPG is a language, it's too late to edit tho

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#12
The developer here! Thanks for all the feedbacks, here are some more info

There is a tutorial: https://dhilst.github.io/algae

The project (algae) is a algebraic specification tool. This means it is intended to allow you to write algebraic specs, in which you define your data types (sorts), operations (ops), and the the equations chatacterizing the operations (axioms). It is a formal specification technique. I designed because I want something to pratice/improve my proof theory skills, so, distinct from Lean4 or Roqc, all the proof information is visible in the surface syntax, but it still lack ergonomics.

About the tutorial and the game, I want it to be "proof theory introction"-like but the generated proofs are really not as good as I want they to be. The dificult progressions does not exist, the help sometimes does not help, some lemmas provide the proof in their arguments. To fix that I will need to go proof by proof and fix the help manually and also work on the progression. The AI is terrible at generating the proofs (yes it was made with AI help but I have formal specs experience).

About the game, it may still be buggy, feel free to open issues at https://github.com/dhilst/algae/issues, and I will fix it. I want to provide a cool playground for ppl to learn proof theory and for me to pratice it too.

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#15

The first and southwest-most sphinxes of seed 0 never load, which soft-locks the game. (Fortunately it doesn't corrupt the save-file.) Edit: after fighting enough other sphinxes, the first one loads, but the west-most fails with an explicit error message: > This challenge failed to load. Retreating. On the next floor, the sphinx over the exit stairs fails, preventing me from progressing.

I fixed some bugs regarding the stairs. Can you share your seed? I can play the same game and try to reproduce it. It shows up in the top-right corner

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#16

The first and southwest-most sphinxes of seed 0 never load, which soft-locks the game. (Fortunately it doesn't corrupt the save-file.) Edit: after fighting enough other sphinxes, the first one loads, but the west-most fails with an explicit error message: > This challenge failed to load. Retreating. On the next floor, the sphinx over the exit stairs fails, preventing me from progressing.

Oh you just said "seed 0" I will try it

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#17

The developer here! Thanks for all the feedbacks, here are some more info There is a tutorial: https://dhilst.github.io/algae The project (algae) is a algebraic specification tool. This means it is intended to allow you to write algebraic specs, in which you define your data types (sorts), operations (ops), and the the equations chatacterizing the operations (axioms). It is a formal specification technique. I designe…

To me, what makes a game a game is that you can learn how it works simply by interacting with it; you don't need to open a separate wiki. That is not entirely true, as for examples fighting games have been infamous for needing to go online to learn how combos work, but this is widely considered to be a major factor of why the genre is unpopular, and recent games have tried to at least give proper tools (in training mode). Right now, it feels a bit like a series of exercises with the guiding text replaced by dungeon fluff; it's pretty neat, yet you could as much say 'just give me the tutorial'.

In a game format I would for instance expect not to have to type the "proof [...] qed" part for example; its purpose is to be a bounding box, but interacting through text is cumbersome -- it isn't really for a developer who sees the benefit of plain text, but it is for a most users who might bang their head against the syntactic impedance mismatch.

To put that into perspective though, I remember Brett Victor's "Alligator Eggs", and the idea is very compelling; games are self-motivating, so if you can learn some real skills then you solved everything. Combinatory logic, sequent calculi etc naturally lend themselves pretty well to the puzzle formats, yet I don't think there's anyone who really succeeded at any real implementation of it.

I'm mostly rambling my own view on the subject here, it's certainly an interesting experiment :-)

Re: Dungeon Proof Crawler: learn how to write proofs with RPG

#18

The developer here! Thanks for all the feedbacks, here are some more info There is a tutorial: https://dhilst.github.io/algae The project (algae) is a algebraic specification tool. This means it is intended to allow you to write algebraic specs, in which you define your data types (sorts), operations (ops), and the the equations chatacterizing the operations (axioms). It is a formal specification technique. I designe…

Have you looked at Metamath Zero[1] before? You mentioned using sorts which is what reminded me of it. Just thought I'd point to some additional interesting work :)

[1] https://github.com/digama0/mm0

Post reply on HN