Skip to content

Formalization of Succinctness#98

Merged
pmbittner merged 83 commits intodevelopfrom
merge-thesis_bm-to-main
Apr 17, 2026
Merged

Formalization of Succinctness#98
pmbittner merged 83 commits intodevelopfrom
merge-thesis_bm-to-main

Conversation

@ibbem
Copy link
Copy Markdown
Collaborator

@ibbem ibbem commented Dec 13, 2025

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_bm and main. Hence, this branch already includes the merge to main and should be merged using a fast-forward merge.

ibbem added 30 commits July 10, 2025 20:37
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.
Copy link
Copy Markdown
Member

@pmbittner pmbittner left a comment

Choose a reason for hiding this comment

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

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.

Comment thread src/Vatras/Framework/Definitions.agda
Comment thread src/Vatras/Framework/Definitions.agda
Comment thread src/Vatras/Lang/2CC/FixedArtifactLength.agda
Comment thread src/Vatras/Lang/FST/NoCoreFeature.agda
Comment thread src/Vatras/Translation/Lang/OC/DeadElim.agda
Comment thread src/Vatras/Succinctness/Relations/2CC&lt;ADT.agda Outdated
Comment thread src/Vatras/Succinctness/Relations/2CC=2CC.agda
Comment thread src/Vatras/Util/Big-O.agda
Comment thread src/Vatras/Util/Nat/Diagonalization.agda Outdated
Comment thread src/Vatras/Util/Nat/Diagonalization.agda
@ibbem ibbem force-pushed the merge-thesis_bm-to-main branch from b390215 to 2dbff52 Compare April 13, 2026 12:24
@ibbem ibbem force-pushed the merge-thesis_bm-to-main branch from 2dbff52 to 22c6ce0 Compare April 13, 2026 12:59
@pmbittner pmbittner mentioned this pull request Apr 14, 2026
3 tasks
@ibbem ibbem force-pushed the merge-thesis_bm-to-main branch from 22c6ce0 to f324d06 Compare April 14, 2026 10:12
@ibbem
Copy link
Copy Markdown
Collaborator Author

ibbem commented Apr 14, 2026

I added all the requested documentation and added my thesis in the README.

Copy link
Copy Markdown
Member

@pmbittner pmbittner left a comment

Choose a reason for hiding this comment

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

Thank you a lot for the documentation! I have a few last questions on the new documentation, and then we can merge. :)

Comment thread src/Vatras/Lang/2CC/FixedArtifactLength.agda Outdated
Comment thread src/Vatras/Lang/FST/NoBaseArtifacts.agda Outdated
Comment thread src/Vatras/Translation/Lang/OC/DeadElim.agda Outdated
Comment thread README.md Outdated
@ibbem ibbem force-pushed the merge-thesis_bm-to-main branch from f324d06 to 15a5c39 Compare April 16, 2026 12:19
ibbem added 4 commits April 16, 2026 14:24
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.
@ibbem ibbem force-pushed the merge-thesis_bm-to-main branch from 15a5c39 to f536bb1 Compare April 16, 2026 12:29
@pmbittner pmbittner changed the base branch from main to develop April 17, 2026 06:57
@pmbittner pmbittner merged commit db1b95b into develop Apr 17, 2026
1 check passed
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