Skip to content
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

ebmc: transition_systemt does not need optional transt #263

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

kroening
Copy link
Member

@kroening kroening commented Dec 8, 2023

The trans_expr in transition_systemt is always populated, and does not need to be optional.

@kroening kroening force-pushed the trans_expr_not_optional branch from eea030a to 3f76670 Compare December 8, 2023 19:51
Comment on lines 22 to 25
transition_systemt()
: trans_expr{
ID_trans,
conjunction({}),
conjunction({}),
conjunction({}),
typet()}
{
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Is there some place where this should now be used?
  2. I am on the fence whether the empty conjunction is helpful here or not: it makes clear that these operands should eventually hold conjunctions, but does hide that this is just a fancy way of producing true_exprt.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced by true_exprt()

@kroening kroening force-pushed the trans_expr_not_optional branch from 3f76670 to 217fac4 Compare December 11, 2023 12:38
The trans_expr in transition_systemt is always populated, and does not need
to be optional.
@kroening kroening force-pushed the trans_expr_not_optional branch from 217fac4 to e4fa47b Compare December 11, 2023 12:38
@kroening kroening merged commit b68cedf into main Dec 11, 2023
4 checks passed
@kroening kroening deleted the trans_expr_not_optional branch December 11, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants