Documentation

Pretty.Defs.Factory

structure Factory (α : Type) :
  • le : ααBool
  • concat : ααα
  • text : α
  • nl : α
  • W :
  • text_monotonic : ∀ {c c' l : }, c c'le (text c l) (text c' l) = true
  • nl_monotonic : ∀ {i i' : }, i i'le (nl i) (nl i') = true
  • concat_monotonic : ∀ {cost₁ cost₂ cost₃ cost₄ : α}, le cost₁ cost₂ = truele cost₃ cost₄ = truele (concat cost₁ cost₃) (concat cost₂ cost₄) = true
  • le_trans : ∀ {c₁ c₂ c₃ : α}, le c₁ c₂ = truele c₂ c₃ = truele c₁ c₃ = true
  • le_antisymm : ∀ {c₁ c₂ : α}, le c₁ c₂ = truele c₂ c₁ = truec₁ = c₂
  • le_total : ∀ (c₁ c₂ : α), le c₁ c₂ = true le c₂ c₁ = true

Cost factory interface definition (Figure 8)

Instances For