kdrag.printers.pretty
Compact, width-aware display of SMT expressions and tactic goals.
Functions
|
Display an SMT expression using compact mathematical notation. |
|
Display locals, numbered hypotheses, and the conclusion. |
|
Set a binary display rule with precedence from 1 to 8 (tightest). |
- kdrag.printers.pretty.pretty_expr(expr: ExprRef, *, width: int = 80) str
Display an SMT expression using compact mathematical notation.
- Parameters:
expr (ExprRef)
width (int)
- Return type:
str
- kdrag.printers.pretty.pretty_goal(goal: Goal, *, width: int = 80) str
Display locals, numbered hypotheses, and the conclusion.
- Parameters:
goal (Goal)
width (int)
- Return type:
str
- kdrag.printers.pretty.register_infix(decl: FuncDeclRef, symbol: str, precedence: int, *, association: Literal['left', 'right', 'none'] = 'none', breaks: bool = False) None
Set a binary display rule with precedence from 1 to 8 (tightest).
- Parameters:
decl (FuncDeclRef)
symbol (str)
precedence (int)
association (Literal['left', 'right', 'none'])
breaks (bool)
- Return type:
None