Skip to content

Improve semantics of Oarray - #1377

Merged
vbgl merged 2 commits into
mainfrom
array-sem
Feb 10, 2026
Merged

Improve semantics of Oarray#1377
vbgl merged 2 commits into
mainfrom
array-sem

Conversation

@vbgl

@vbgl vbgl commented Feb 6, 2026

Copy link
Copy Markdown
Member

And prove that well-typed applications of opN always succeed (lemma sem_opN_typed_ok).

The curry operation is certainly beautiful, but it is hard to reason about it.

@bgregoir

bgregoir commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Sorry but, what is the motivation ? The change are not so big but you add lemmas that are not used (for the moment). So it look like just adding more complexity.
I assume you have some other futur commit that require it.

@vbgl

vbgl commented Feb 7, 2026

Copy link
Copy Markdown
Member Author

The motivation is #1170, in order to prove that the empty condition is sufficient to guarantee safety.

vbgl added 2 commits February 10, 2026 10:57
And prove that well-typed applications of opN always succeed
(lemma sem_opN_typed_ok).
@vbgl
vbgl merged commit d7eb2a5 into main Feb 10, 2026
1 check was pending
@vbgl
vbgl deleted the array-sem branch February 10, 2026 12:03
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