feat(QuantumMechanics): add DirichletSubmoduleOn#1431
Conversation
|
Thank you for this PR, which will now be reviewed. If submitting to ./Physlib or ./QuantumInfo, please see our review guidelines if you are not familiar with the process. You should expect a back and forth with a reviewer before your PR is merged. See also that link for how to add appropriate labels to your PR. The PR will also go through a number of automated checks. You can learn more about these here, including how to run them locally. If you are submitting to ./PhyslibAlpha there will be a lighter review process, though your PR must still pass the automated checks. If you want to bring attention to this PR, please write a message on this thread of the Lean Zulip. Important: If a reviewer adds an |
jstoobysmith
left a comment
There was a problem hiding this comment.
This looks good to me. Approved :)
Adds submodules of the
Space dHilbert space onΩconsisting of Schwartz maps which vanish onfrontier Ω = closure Ω \ interior Ω. These can serve as the domain for an operator which acts on wavefunctions satisfying Dirichlet boundary conditions (e.g. the Hamiltonian for the infinite square well).Basic.lean: definesSpaceDHilbertSpaceOnand reorganizes to add namespace and section variables.SchwartzSubmodule.lean: definesSchwartzSubmoduleOnas the projection ofSchwartzSubmodulefromSpaceDHilbertSpaceontoSpaceDHilbertSpaceOn.DirichletSubmodule.lean: definesDirichletSubmoduleOnas the projection of a submodule of𝓢(Space d, ℂ)and proves that it is contained inSchwartzSubmoduleOn.