Sup for Step Functions on Q.

Definition StepQSup : (StepQ)->Q := StepFfold (fun x => x) (fun b (x y:QS) => Qmax x y)%Q.

The Sup of the glue of two step functions.
Lemma StepQSup_glue : forall o s t, (StepQSup (glue o s t) = Qmax (StepQSup s) (StepQSup t))%Q.

The sup of the split of a step function.
Lemma StepQSupSplit : forall (o:OpenUnit) x,
 (StepQSup x == Qmax (StepQSup (SplitL x o)) (StepQSup (SplitR x o)))%Q.
How the sup interacts with various arithmetic operations on step functions.
Lemma StepQSup_resp_le : forall x y, x <= y -> (StepQSup x <= StepQSup y)%Q.

Lemma StepQSup_plus : forall x y, (StepQSup (x + y) <= StepQSup x + StepQSup y )%Q.

The Linf metric on step function over Q.
Sup is uniformly continuous.
There is an injection from Linf to L1.