Qcert.Basic.Data.RDataSort



Section SortableData.
  Inductive SortDesc : Set := | Descending | Ascending.
  Definition SortCriteria : Set := string × SortDesc.
  Definition SortCriterias : Set := list SortCriteria.


  Inductive sdata :=
  | sdnat : Z sdata
  | sdstring : string sdata
  .

  Lemma sort_desc_eq_dec : x y:SortDesc, {x=y}+{xy}.

Equality is decidable for sdata
  Lemma sdata_eq_dec : x y:sdata, {x=y}+{xy}.