-
Notifications
You must be signed in to change notification settings - Fork 34
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
Alectryon displays local definitions (with set, pose) as declarations #94
Comments
Looks to be an issue specific to Latex output generation. I didn't test the other output formats. |
Cc: @cpitclaudel Here is a simpler example:
On the html output, the goal just before
Which is clearly unsolvable. |
This issue seems to be solved if one replaces in
This change has been tested successfully on the hydra-battles book. Nevertheless, it would be fine to fix this issue before the next release. |
In the following proof,
alectryon AlectryonIssue.v --backend latex
builds a document where the variablez
is presented as a simple declarationz: nat
and notz := Nat.max x y : nat
, which makes the displayed sub-goals apparently unsolvable.Indeed, the displayed sub-goal
is unsolvable, but if the definition
z := max x y: nat
were displayed, the generated doc would be OK.I noticed this issue only in Latex output mode. My alectryon version is Alectryon v1.5.0-dev
Note: this issue occurs also in the CI of hydra-battles on the top of page 227 of the doc (file https://github.com/coq-community/hydra-battles/blob/master/theories/ordinals/MoreAck/AckNotPR.v ).
The text was updated successfully, but these errors were encountered: