Skip to content

feat: BIFUpdateSbi and remaining instances in InstancesUpdates.lean - #649

Merged
MackieLoeffel merged 20 commits into
leanprover-community:masterfrom
ISTA-PLV:BiFUpdSbi
Aug 21, 2026
Merged

feat: BIFUpdateSbi and remaining instances in InstancesUpdates.lean#649
MackieLoeffel merged 20 commits into
leanprover-community:masterfrom
ISTA-PLV:BiFUpdSbi

Conversation

@alvinylt

Copy link
Copy Markdown
Contributor

Description

Resolves #255 in full. Addresses #280 in part.

The type class instances fromForall_fupd and fromForall_stepFupd are ported using the type class BIFUpdateSbi, which is in turn defined in terms of <si_pure>.

Other Changes

Bug fixes for the instances forall_plain and exists_plain: it is possible for A to be of type Sort 0.

Checklist

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

Comment thread Iris/Iris/Instances/Lib/FUpd.lean Outdated

@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! I only have some small comments.

Comment thread Iris/Iris/BI/Updates.lean
Comment thread Iris/Iris/BI/Updates.lean

@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, looks great to me! I made a pass to unify the naming of siPure and siEmpValid. I also added a TODO, but that can be resolved in the future.

Comment thread Iris/Iris/ProofMode/InstancesUpdates.lean Outdated
Comment thread Iris/Iris/ProofMode/SolveSideCondition.lean Outdated
@MackieLoeffel

Copy link
Copy Markdown
Collaborator

Thanks, looks good to me! Merging.

@MackieLoeffel
MackieLoeffel merged commit f8ad177 into leanprover-community:master Aug 21, 2026
5 checks 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.

Port proofmode/class_instances_updates.v

2 participants