-
assigned issue to
BDD's generating all strings
Issue #812
open
grounding this finite theory should take a finite amount of memory
vocabulary V {
type connectionType isa string
type printerType isa string
type propertyDate isa string
type propertyInt isa int
type propertyString isa string
type task isa string
before(task,task)
execute(task)
connection : connectionType
installationDate : propertyDate
partial printHost : propertyString
printerT : printerType
roomNumber : propertyInt
}
theory T : V {
(~(printerT = "inkjet") | (connection = "USB")).
((printerT = "laser") <=> execute("configure network")).
((? x[propertyString] : (printHost = x)) <=> (connection = "LAN")).
{
before("buy hardware","configure software") <- (((connection = "USB") & task("buy hardware")) & task("configure software")).
before("buy hardware","configure network") <- (((connection = "LAN") & task("buy hardware")) & task("configure network")).
before("configure network","configure software") <- (((connection = "LAN") & task("configure network")) & task("configure software")).
! a[task] : execute(a) <- (? b[task] : (before(a,b) | before(b,a))).
}
}
structure S : V {
connectionType = { "LAN"; "USB" }
printerType = { "inkjet"; "laser" }
propertyDate = { "di"; "ma" }
propertyInt = { 1..2 }
propertyString = { "a"; "b" }
task = { "buy hardware"; "configure network"; "configure software" }
before<ct> = { }
before<cf> = { }
execute<ct> = { }
execute<cf> = { }
connection = "LAN"
installationDate<ct> = { }
installationDate<cf> = { }
printHost<ct> = { }
printHost<cf> = { }
printerT<ct> = { }
printerT<cf> = { }
roomNumber<ct> = { }
roomNumber<cf> = { }
}
procedure main(){
stdoptions.verbosity.grounding = 5
stdoptions.verbosity.solving = 5
stdoptions.verbosity.generatorsandcheckers = 5
print(ground(T,S))
}
Comments (3)
-
reporter -
- changed status to resolved
Fixed in commit 5fcd3e150225e17d7645f131f9b5ad38650108a7
-
- changed status to open
The underlying issue in BDD generation is not yet fixed.
This file works now, but it should also work with the dumber unnesting. @PieterVH should test his BDD algorithms on this file using the dumb unnesting
- Log in to comment