Measures #
Equations
- lengthOfProgram (·a) = 1
- lengthOfProgram (α;'β) = 1 + lengthOfProgram α + lengthOfProgram β
- lengthOfProgram (α⋓β) = 1 + lengthOfProgram α + lengthOfProgram β
- lengthOfProgram (∗α) = 1 + lengthOfProgram α
- lengthOfProgram (?'φ) = 2 + lengthOfFormula φ
Instances For
Equations
- lengthOfFormula Formula.bottom = 1
- lengthOfFormula (·a) = 1
- lengthOfFormula (~φ) = 1 + lengthOfFormula φ
- lengthOfFormula (φ⋀ψ) = 1 + lengthOfFormula φ + lengthOfFormula ψ
- lengthOfFormula (⌈α⌉φ) = 1 + lengthOfProgram α + lengthOfFormula φ
Instances For
Equations
- formulaHasLength = { lengthOf := lengthOfFormula }
Equations
- setFormulaHasLength = { lengthOf := fun (X : Finset Formula) => X.sum lengthOfFormula }
Equations
- listFormulaHasLength = { lengthOf := fun (X : List Formula) => (List.map lengthOfFormula X).sum }
Equations
- programHasLength = { lengthOf := lengthOfProgram }
Equations
- setProgramHasLength = { lengthOf := fun (X : Finset Program) => X.sum lengthOfProgram }