Skip to content

Add log-timing for implies and simplify in docs #3844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions docs/2022-07-18-JSON-RPC-Server-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,12 +337,13 @@ Not all backends support logging processing time, and some won't have the differ
"params": {
"antecedent": {"format": "KORE", "version": 1, "term": {}},
"consequent": {"format": "KORE", "version": 1, "term": {}},
"module": "MODULE-NAME"
"module": "MODULE-NAME",
"log-timing": true
}
}
```

Optional parameters: `module` (main module name)
Optional parameters: `module` (main module name), `log-timing`

### Error Response:

Expand Down Expand Up @@ -390,7 +391,8 @@ If the implication holds, `satisfiable` is `true` and `condition` contains a wit
"condition": {
"substitution": {"format": "KORE", "version": 1, "term": {}},
"predicate": {"format": "KORE", "version": 1, "term": {}}
}
},
"logs": []
}
}
```
Expand All @@ -403,7 +405,8 @@ If the implication cannot be shown to hold, `satisfiable` is false.
"id": 1,
"result": {
"implication": {"format": "KORE", "version": 1, "term": {}},
"satisfiable": false
"satisfiable": false,
"logs": []
}
}
```
Expand All @@ -429,12 +432,13 @@ indicating that the program configuration can be rewritten further => `satisfiab
"method": "simplify",
"params": {
"state": {"format": "KORE", "version": 1, "term": {}},
"module": "MODULE-NAME"
"module": "MODULE-NAME",
"log-timing": true
}
}
```

Optional parameters: `module` (main module name)
Optional parameters: `module` (main module name), `log-timing`

### Error Response:

Expand All @@ -447,7 +451,8 @@ Same as for execute
"jsonrpc": "2.0",
"id": 1,
"result": {
"state": {"format": "KORE", "version": 1, "term": {}}
"state": {"format": "KORE", "version": 1, "term": {}},
"logs": []
}
}
```
Expand Down