Underlying structure for notes #
This file contains the necessary structures that must be imported into a file for it to be turned into a Lean note.
It allows for the
note ...command to be used to add notes to a Lean filenote_attrattribute to be used to display formally verified commands within a note.note_attr_informalattribute to be used to display informal commands within a note.
Other results relating to notes are in other files.
Environment extension to store note ....
Syntax for the note ... command
Equations
- PhysLean.note_comment = Lean.ParserDescr.node `PhysLean.note_comment 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "note ") (Lean.ParserDescr.const `str))
Instances For
Elaborator for the note ... command
Equations
- One or more equations did not get rendered due to their size.
Instances For
Note attribute #
Environment extension to store note_attr.
The note_attr attribute is used to display formally verified commands within a note.
Environment extension to store note_attr_informal.
The note_attr_informal attribute is used to display informal commands within a note.