-
Notifications
You must be signed in to change notification settings - Fork 1
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
Animation of RoboChart_ChemicalDetector_autonomous_maincontroller doesn't work #10
Comments
I suspect it might be due to the code generation of Number_Type. For example, now The definition of mk_built: "mk_blist _ xs = map (bmake TYPE('n)) (lseqn xs CARD('n))" For the new Isabell 2023, it generates
|
In Isabelle2021, the generated code for list_of_blist is
Where other definitions are shown below
Please take a look at the file I've attached for more details. But in Isabelle2023, it is
where
but card is defined as
That's why the error occurs. See the files below for more details. |
If we import "HOL-Library.Code_Cardinality" in the beginning of the theory, then the generated code for card will be
Haven't tested it yet and it might fix the problem. |
The change will cause further problems, which might be related to performance. Waited for long time till an error was given.
|
After changing to Isabelle 2023, now the animation of RoboChart_ChemicalDetector_autonomous_maincontroller doesn't work. The runtime error is shown below.
The text was updated successfully, but these errors were encountered: