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

Lean statement not rendered for theorems defined as def thm : Prop := statement #155

Closed
utensil opened this issue Oct 8, 2023 · 0 comments · Fixed by CBirkbeck/FltRegulartest#2

Comments

@utensil
Copy link

utensil commented Oct 8, 2023

Lean statement not rendered for theorems defined as def thm : Prop := statement

Issue Example

For FltRegular doc, it shows only Prop instead of the statement:

image

corresponding source code:

image

Expected solution

For definitions of the type Prop, treat it like a theorem, renders the part aftet :=, like the following example:

image

Possibly fixable by adding a branch for DocGen4.Process.DocInfo.ofConstant or DocGen4.Process.DefinitionInfo.ofDefinitionVal.

Related Zulip discussion

here

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

Successfully merging a pull request may close this issue.

1 participant