Skip to content

chore: bump Rocq version and fix stale aliases - #690

Merged
lzy0505 merged 10 commits into
leanprover-community:masterfrom
ISTA-PLV:BumpRocq
Sep 5, 2026
Merged

lzy0505 merged 10 commits into
leanprover-community:masterfrom
ISTA-PLV:BumpRocq

Conversation

@alvinylt

@alvinylt alvinylt commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Bump the Rocq version, port the recent changes and fix the stale aliases.

Resolves #593.

Refer to the diff between the two Iris-Rocq revisions.

The following changes are being ported:

Merge request for Iris-Rocq Description Remarks
#1245 Adds big_sepS_filter_acc_impl. Addressed by commit bde6181 within this PR.
#1253 The rocq_ignore entry for bi_later_mixin_id is now for bi_later_mixin_True. Addressed by commit 3037c50 within this PR.
#1236 Removes persistently_exist_1 from the BI interface. Addressed by #692.
#1254 Adds <only0> modality. Addressed by #691.
#1255 Adds BiPersistentlyExist and BiPersistentlyForall instances in BI/SiProp.lean. Addressed by #692.
#1257 Adds more <subj>-related theorems into BI/MonPred.lean. Addressed by #692.
#1267 Renames later_laterN and laterN_later. Addressed by commit aef585f within this PR.
#1264 Removes the stale rocq_ignore entry for the max_Z bogus unit instance. Addressed by commit 0b41bee within this PR.
832a5cd Renames auth_ucmra_mixin as mra_ucmra_mixin. Addressed by commit 93fad0f within this PR.

The following change is already done and does not need to be addressed by this PR (@markusdemedeiros Can you confirm whether it is up-to-date?):

Merge request for Iris-Rocq Description
#1263 Remove freshness hypothesis from heap_closed_alloc.

The following changes are specific to Iris-Rocq and thus not applicable:

Merge request for Iris-Rocq Description
#1221 Updates Iris-Rocq GitLab PR template.
#1262 Renames "coqdoc" as "rocqdoc".
#1265 Rocq-specific input method settings.
#1269 Adds envs_to_prop.
#1268 Removes env_subenv.

Checklist

  • My code follows the mathlib naming and code style conventions
  • I have added my name to the authors section of any appropriate files

@lzy0505
lzy0505 self-requested a review September 4, 2026 16:58
@markusdemedeiros

Copy link
Copy Markdown
Collaborator

#1263 is accurate (seeing #1264 be fed back into Iris-Lean is pretty cool too, haha)

@MackieLoeffel MackieLoeffel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR. This looks good to me.

About the envs_to_prop PR in Iris Rocq, should we add some Rocq ignore for this?

Comment thread Iris/Iris/BI/BI.lean
#rocq_ignore bi.pure_ne "No Proper type class in Lean"
#rocq_ignore bi_rewrite_relation "Rocq-specific setoid-rewriting infrastructure"
#rocq_ignore bi_later_mixin_id "BiLaterMixin with trivial later has trivial proofs regarding later"
#rocq_ignore bi_later_mixin_True "BiLaterMixin with trivial later has trivial proofs regarding later"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe we still want to have this smart constructor as a sanity check, even if the proofs are trivial?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Would a smart constructor expressed in terms of BI.ofPersistentlyDiscrete (commit c3b2e75) make sense?

Comment thread Iris/Iris/BI/BigOp/BigSepSet.lean Outdated
([∗set] y ∈ FiniteSet.filter φ X, Φ y) ∗
(∀ Ψ : A → PROP, (□ (∀ y, ⌜y ∈ X⌝ → ⌜¬ φ y⌝ → Φ y -∗ Ψ y)) -∗
([∗set] y ∈ FiniteSet.filter φ X, Ψ y) -∗ [∗set] y ∈ X, Ψ y) := by
have hdisj : FiniteSet.filter φ X ## (X \ FiniteSet.filter φ X) :=

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Avoid single-use haves

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Did some refactoring with a helper theorem.

Commit: 0ea7930

@lzy0505
lzy0505 merged commit eb761b7 into leanprover-community:master Sep 5, 2026
5 checks passed
@lzy0505
lzy0505 deleted the BumpRocq branch September 5, 2026 10:43
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.

Stale porting entries against Iris Rocq master

4 participants