Zulip Chat Archive

Stream: Is there code for X?

Topic: Tactics for restate propositions


SnO2WMaN (Oct 15 2024 at 05:31):

In our project, we thought cumbersome to generate documentation each repository, so create repository for generating documentation across repos (like mathlib). Now in this repository we'd like to restate some important result/theorems as summary, is there any such tactic? I expect this tactic (such below): on a page by doc-gen re-show the content of theorem and comments but essentially acts as a redirect.

import Incompleteness.Arith.First
import Incompleteness.Arith.Second

restate LO.FirstOrder.Arith.goedel_first_incompleteness

restate LO.FirstOrder.Arith.goedel_second_incompleteness

Johan Commelin (Oct 15 2024 at 06:32):

See docs#recall

Johan Commelin (Oct 15 2024 at 06:32):

Ooops that didn't work

Johan Commelin (Oct 15 2024 at 06:33):

test/Recall.lean should help

SnO2WMaN (Oct 16 2024 at 01:39):

recall is works on editor, but not in doc-gen's documentation (nothing to view...)


Last updated: May 02 2025 at 03:31 UTC