mirror of
https://github.com/DebarghaG/proofofthought.git
synced 2025-10-07 23:24:54 +03:00
21 lines
513 B
JSON
21 lines
513 B
JSON
{
|
|
"sorts": [
|
|
{"name": "Color", "type": "EnumSort", "values": ["red", "green", "blue"]}
|
|
],
|
|
"functions": [
|
|
{"name": "brightness", "domain": ["Color"], "range": "IntSort"}
|
|
],
|
|
"knowledge_base": [
|
|
"brightness(red) == 100",
|
|
"brightness(green) == 50",
|
|
"brightness(blue) == 75"
|
|
],
|
|
"verifications": [
|
|
{
|
|
"name": "Red is brightest",
|
|
"constraint": "And(brightness(red) > brightness(green), brightness(red) > brightness(blue))"
|
|
}
|
|
],
|
|
"actions": ["verify_conditions"]
|
|
}
|