Config
is the type of arguments that can be provided to blueprint
.
By default, only theorems have separate proof parts. This option overrides this behavior.
The proof of the node in text. Uses proof docstrings if not present.
The set of nodes that this node depends on. Infers from the constant if not present.
The set of nodes that the proof of this node depends on. Infers from the constant's value if not present.
- notReady : Bool
The surrounding environment is not ready to be formalized, typically because it requires more blueprint work.
A GitHub issue number where the surrounding definition or statement is discussed.
The short title of the node in LaTeX.
The LaTeX environment to use for the node.
- trace : Bool
Enable debugging.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- BlueprintGen.instReprConfig = { reprPrec := BlueprintGen.instReprConfig.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The blueprint
attribute tags a constant to add to the blueprint.
You may optionally add:
"Title"
: The title of the node in LaTeX.hasProof := true
: If the node has a proof (default: true if the node is a theorem).proof := /-- ... -/
: The proof of the node in text.uses := [a, b]
: The dependencies of the node (default: inferred from the used constants).proofUses := [a, b]
: The dependencies of the proof of the node (default: inferred from the used constants).notReady := true
: Whether the node is not ready.discussion := 123
: The discussion issue number of the node.latexEnv := "lemma"
: The LaTeX environment to use for the node (default: "theorem" or "definition").
For more information, see blueprint-gen.
Use blueprint?
to show the raw data of the added node.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The blueprint
attribute tags a constant to add to the blueprint.
You may optionally add:
"Title"
: The title of the node in LaTeX.hasProof := true
: If the node has a proof (default: true if the node is a theorem).proof := /-- ... -/
: The proof of the node in text.uses := [a, b]
: The dependencies of the node (default: inferred from the used constants).proofUses := [a, b]
: The dependencies of the proof of the node (default: inferred from the used constants).notReady := true
: Whether the node is not ready.discussion := 123
: The discussion issue number of the node.latexEnv := "lemma"
: The LaTeX environment to use for the node (default: "theorem" or "definition").
For more information, see blueprint-gen.
Use blueprint?
to show the raw data of the added node.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Elaborates the configuration options for blueprint
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Whether a node has a proof part.
Equations
- BlueprintGen.hasProof name cfg = do let __do_lift ← Lean.getEnv pure (cfg.hasProof.getD (cfg.proof.isSome || Lean.wasOriginallyTheorem __do_lift name))
Instances For
Returns a pair of sets (constants used by statement, constants used by proof).
They are disjoint except that possibly both contain sorryAx
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Raises an error if newName
occurs in the (irreflexive transitive) dependencies of node
.
If ignored, this would create a cycle and then an error during leanblueprint web
.
(Note: this check will only raise an error if blueprint.ignoreUnknownConstants
is true,
which may permit cyclic dependencies.)