Skip to content

Prove energy dissipation rate for damped harmonic oscillator#967

Open
JayYarlott wants to merge 12 commits intoleanprover-community:masterfrom
Complex-Quantum-Systems-Research-Group:dho_dissipation_proofs
Open

Prove energy dissipation rate for damped harmonic oscillator#967
JayYarlott wants to merge 12 commits intoleanprover-community:masterfrom
Complex-Quantum-Systems-Research-Group:dho_dissipation_proofs

Conversation

@JayYarlott
Copy link

Builds on #891 by adding proofs of the energy dissipation rate for a damped harmonic oscillator.

@jstoobysmith jstoobysmith self-requested a review March 3, 2026 05:27
Copy link
Member

@jstoobysmith jstoobysmith left a comment

Choose a reason for hiding this comment

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

I've added some review comments - I was a bit pedantic, but hopefully they are useful

@jstoobysmith jstoobysmith added t-classical-mechanics Classical mechanics awaiting-author A reviewer has asked the author a question or requested changes labels Mar 3, 2026
Copy link
Member

@jstoobysmith jstoobysmith left a comment

Choose a reason for hiding this comment

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

Many thanks, two more quick comments.

- S.γ * Time.deriv x t := by linarith [h1 t]

-- Break equation apart
rw [energy]
Copy link
Member

Choose a reason for hiding this comment

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

rw [energy, kineticEnergy, potentialEnergy]?
If this doesn't work then we should likely have theorems kineticEnergy_eq and potentialEnergy_eq which experts the definitional equality of kineticEnergy and potentialEnergy. Using unfold is generally not the best idea, although I acknowledge that it is used throughout this project.

have hPE := ((hdx t).hasFDerivAt.pow 2).const_mul (1/2 * S.k)

rw [(hKE.add hPE).fderiv]

Copy link
Member

Choose a reason for hiding this comment

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

Could we remove these extra new lines in the proof?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author A reviewer has asked the author a question or requested changes t-classical-mechanics Classical mechanics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants