Skip to content

New lemmas: comp_idfunL, comp_idfunR.#1088

Open
namasikanam wants to merge 1 commit into
mainfrom
core-idfun-comp
Open

New lemmas: comp_idfunL, comp_idfunR.#1088
namasikanam wants to merge 1 commit into
mainfrom
core-idfun-comp

Conversation

@namasikanam

@namasikanam namasikanam commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Two lemmas for identity laws of function composition, also they are added to hint simplify. I think they're good to be in Core.ec. I'm not sure whether they're good to be in the hint.

I found comp_idfunL when cleaning up the proof for Markov inequality.

These two lemmas are very small and I'm becoming shamefully lazy, so I just asked Claude Code to migrate it. Forgive me about that.

…nts)

Left/right identity of function composition. Both are definitional
(closed by conversion); their main value is the simplify-hint
registration, which lets /= collapse identity compositions that
arise when massaging dmap/expectation goals (e.g. E d idfun).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@namasikanam namasikanam changed the title Core: identity-composition lemmas comp_idfunL/comp_idfunR (+ simplify hints) New lemmas: comp_idfunL, comp_idfunR. Jul 24, 2026
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.

1 participant