Skip to content

a consequence of the other distributive law#172

Merged
affeldt-aist merged 4 commits into
masterfrom
altprobdr
Oct 23, 2025
Merged

a consequence of the other distributive law#172
affeldt-aist merged 4 commits into
masterfrom
altprobdr

Conversation

@t6s
Copy link
Copy Markdown
Collaborator

@t6s t6s commented Oct 11, 2025

Formalization of the last proof in Section 3 of:

(To be followed by #55 )

@affeldt-aist
Copy link
Copy Markdown
Owner

Maybe we do not need to add unused/unusable structures to the hierarchy to formalize their reasoning: just a lemma saying "right-distributivity -> the theory collapses" is enough.

@t6s
Copy link
Copy Markdown
Collaborator Author

t6s commented Oct 13, 2025

The new structure is essential for contrasting the ease of combining laws using HB and that of suddenly leading to an undesirable result.

It will also facilitate stating and proving Keimel's results. (Actually, the previous attempt was following a similar way to your suggestion, and the code was a bit messy.)

@affeldt-aist
Copy link
Copy Markdown
Owner

Keimel's results shall go in the same file?

@t6s
Copy link
Copy Markdown
Collaborator Author

t6s commented Oct 13, 2025

that is my plan

@t6s
Copy link
Copy Markdown
Collaborator Author

t6s commented Oct 22, 2025

rebased

From HB Require Import structures.
Require Import preamble hierarchy monad_lib proba_lib alt_lib.

(* This file contains consequences of combining MonadAltCI and MonadProb *)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Maybe format the doc like the other files (in the Rocqnavi fashion)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

(not tested by running rocqnavi)

Comment thread theories/core/hierarchy.v
@affeldt-aist affeldt-aist self-requested a review October 23, 2025 01:57
@affeldt-aist affeldt-aist merged commit 52d70e7 into master Oct 23, 2025
2 checks passed
@t6s t6s mentioned this pull request Nov 25, 2025
forrazh pushed a commit to forrazh/monae that referenced this pull request Apr 8, 2026
* a consequence of the other distributive law
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