Skip to content

Cleanup - #13

Merged
ychtao merged 2 commits into
mainfrom
cleanup
Jul 9, 2026
Merged

Cleanup#13
ychtao merged 2 commits into
mainfrom
cleanup

Conversation

@ychtao

@ychtao ychtao commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Removed weaker versions of soundness lemmas.
Removed some comments

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up the CST→AST translation proof stack by removing “agreement-on-.ok” lemmas and their supporting helper theorems, and standardizing on full evaluation equalities for soundness results.

Changes:

  • Removed weaker iff-on-.ok soundness lemmas and related auxiliary bridge lemmas.
  • Kept/leaned on full Result-equality soundness theorems (errors included) and updated downstream proofs accordingly.
  • Simplified some proof/comment structure to match the stronger equality-based approach.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
cedar-lean/Cedar/Thm/Translation/PolicyToExpr.lean Removes weaker per-leaf / policy agreement lemmas and keeps the equality-based soundness path (incl. equality versions of helper bridges).
cedar-lean/Cedar/Thm/Translation/ExprTranslation.lean Removes evaluation-iff lemma families, retaining the equality-based _sound translation theorems.
cedar-lean/Cedar/Thm/Translation/Aux.lean Drops redundant “agreement” helpers in favor of equality versions and adjusts documentation accordingly.
cedar-lean/Cedar/Thm/Translation.lean Updates top-level translation theorems to use full evaluation equalities instead of .ok-iff bridging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@victornicolet victornicolet 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.

Nice

@ychtao
ychtao merged commit b321c99 into main Jul 9, 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.

3 participants