Documentation

Pretty.Supports.MeasRender

theorem MeasRender_dom_monotonic {α : Type} {d : Doc} {c : } {i : } {m₁ : Meas} {c' : } {i' : } {m₂ : Meas} {F : Factory α} (h : MeasRender F d c i m₁) (h' : MeasRender F d c' i' m₂) (h_c : c c') (h_i : i i') :
dominates F m₁ m₂ = true

Measure computation at higher column position or indentation level is worse

theorem MeasRender_doc :
∀ {α : Type} {F : Factory α} {d : Doc} {c i : } {m : Meas}, MeasRender F d c i mChoiceless dm.doc = d

Measure computation on a choiceless document preserves the doc component

theorem MeasRender_dom_is_good {α : Type} {d : Doc} {c : } {i : } {m₁ : Meas} {c' : } {i' : } {m₂ : Meas} {F : Factory α} (h : MeasRender F d c i m₁) (h' : MeasRender F d c' i' m₂) (h_c : c c') (h_i : i i') (h_x : m₂.x F.W) (h_y : m₂.y F.W) :
m₁.x F.W m₁.y F.W

If measure computation at higher column position or indentation level does not exceed the computation width limit, then the current measure computation also does not exceed the computation width limit