feat(QuantumMechanics) : Prove potentialOperator_isSelfAdjoint - #1490
Conversation
|
Thank you for this pull-request (PR). If this is your first PR, welcome to the community! Below is what will happen next. Please read carefully if you are not familiar with the process. You may open other PRs while this one is being reviewed, and can stack PRs on top of each other, so don't let these steps slow you down.
Tip: The easiest way to get have a fast review is to submit a PR that is small and self-contained, and has clear documentation explaining why things are the way they are in your chages. If you have any problems or questions, please reach out to the community on the Zulip. |
| rw [mulOperator_isSelfAdjoint_ofReal] | ||
| swap; ext x; simp only [Function.comp_apply, Complex.conj_ofReal] | ||
| have hQ := potentialFunction_aestronglyMeasurable | ||
| fun_prop |
There was a problem hiding this comment.
Hey @ereinhardt8 Many thanks for this first PR! Just one comment from me before this can be merged. It would be convention to not to have more then one tactic on a line e.g. swap; ext x; simp [...] should be three separate lines. Other then that, this PR looks great!
|
awaiting-author |
|
Okay! I separated the lines that had multiple tactics. |
jstoobysmith
left a comment
There was a problem hiding this comment.
Great! Many thanks! I've approved, and when the linters finish, I will merge this. So nothing else you need to do here.
Many thanks for this first PR! Hopefully the first of many.
This pull request provides a proof for the lemma
potentialOperator_isSelfAdjointinPhyslib/QuantumMechanics/RectangularBarrier/Basic.lean, which was previously an informal_lemma. Also, it provespotentialFunction_aestronglyMeasurablebecausepotentialOperator_isSelfAdjointuses it.Specific Changes
Two informal lemmas were formalized and proved:
RectangularBarrier.potentialFunction_aestronglyMeasurable: formalize and prove that the potential function of a rectangular barrier is almost everywhere strongly measurableRectangularBarrier.potentialOperator_isSelfAdjoint: prove that the potential function of a rectangular barrier is self adjoint using the above lemmaReviewer Guide
I fixed any linting issues found in
Physlib/QuantumMechanics/RectangularBarrier/Basic.leanafter I ranlake exe lint_alland./scripts/lint-style.shlocally.The lemma
potentialFunction_aestronglyMeasurablewas only proved for the canonicalvolumemeasure. Is this an issue?Additional Comments
I wrote the code, but used ChatGPT and Google Search to suggest approaches and next steps.
Thank you!