Conversation
This is the first definition has come to my mind. It works at least for ADT < CCC intuitively.
I expect `2CC < CCC` so `ADT < CCC` should follow using transitivity.
As ≤Size is not total, <Size is not transitive without requiring ≤Size. Moreover, ≱Size is not antisymmetric. Note that ≱Size is ¬ ≤Size with the arguments flipped and the negation moved inside.
This makes it easier to use because the artifact type doesn't need to be applied when invoking `≤Size`. Furthermore, this enables proofs of `≱Size` to fix a single artifact type, for example the natural numbers, and automatically have the inhabitants it needs. The order between the quantifier over `n` and `A` doesn't have a big impact. On the one hand, the chosen order allows `≱Size` to use different artifact types for each `n`. However, it doesn't change the relation inhabitants if they are swapped because there exists a type with enough elements (i.e., union of all `A` ranging all `n`s) that can be fixed and then only a subset of the artifacts can be used for a specific `n`. On the other hand, `≤Size` is a `Set` and, thus, can't be inspected if the order is changed. This specific order is chosen purely as it's more convenient for pattern matching (e.g., one less `with` clause in case of `≤Size`).
Previously, these where not inferred correctly, but now it works™.
This reduces duplication and allows refactoring of 𝔸.
This allows to easily add more fields.
pmbittner
approved these changes
Jan 6, 2026
Member
pmbittner
left a comment
There was a problem hiding this comment.
Hi @ibbem
thank you for the PR. As always, it would be great to have some documentation here and there. I leave it up to you to decide how much time you want to invest. I have some comments below but would be willing to merge in any case.
b390215 to
2dbff52
Compare
2dbff52 to
22c6ce0
Compare
22c6ce0 to
f324d06
Compare
Collaborator
Author
|
I added all the requested documentation and added my thesis in the README. |
pmbittner
approved these changes
Apr 14, 2026
Member
pmbittner
left a comment
There was a problem hiding this comment.
Thank you a lot for the documentation! I have a few last questions on the new documentation, and then we can merge. :)
pmbittner
reviewed
Apr 14, 2026
f324d06 to
15a5c39
Compare
The name was misleading as every variant has a root artifact (although it doesn't have any children). The new name also incorporates existing software product line terminology.
15a5c39 to
f536bb1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the formalization of succinctness as advertised in my master thesis "On the Succinctness of
Languages for Static Variability".
Note that there are merge conflicts between
thesis_bmandmain. Hence, this branch already includes the merge tomainand should be merged using a fast-forward merge.