engine.proof_notebook¶
Optional IPython helpers for rendering proofs inside notebooks.
Classes¶
Notebook display adapter for markdown and Mermaid proof renderings. |
Functions¶
|
Render and display a direct proof as markdown. |
|
Render and display a direct proof as Mermaid. |
Module Contents¶
- class engine.proof_notebook.NotebookProofRenderer¶
Notebook display adapter for markdown and Mermaid proof renderings.
- namespace_manager: rdflib.namespace.NamespaceManager | None = None¶
- markdown(proof: engine.proof.DirectProof) str¶
Display markdown rendering in a notebook output cell.
- mermaid(proof: engine.proof.DirectProof) str¶
Display Mermaid rendering in a notebook output cell.
- engine.proof_notebook.display_proof_markdown(proof: engine.proof.DirectProof, *, namespace_manager: rdflib.namespace.NamespaceManager | None = None) None¶
Render and display a direct proof as markdown.
- engine.proof_notebook.display_proof_mermaid(proof: engine.proof.DirectProof, *, namespace_manager: rdflib.namespace.NamespaceManager | None = None) None¶
Render and display a direct proof as Mermaid.