Add some documentation

This commit is contained in:
2026-06-27 18:11:19 -05:00
parent b6b30958aa
commit 1120e01605
2 changed files with 33 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ inductive EvalBasicStmt : Env → BasicStmt → Env → Type
| assign (ρ : Env) (x : String) (e : Expr) (v : Value) :
EvalExpr ρ e v EvalBasicStmt ρ (.assign x e) ((x, v) :: ρ)
/-- Inference rules for evaluating a basic-statement-or-nothing,
which is the current representation of CFGs nodes. -/
inductive EvalBasicStmtOpt : Env Option BasicStmt Env Type
| none {ρ : Env} : EvalBasicStmtOpt ρ Option.none ρ
| some {ρ₁ ρ₂ : Env} {bs : BasicStmt} :