Skip to content

Conversation

@physlean0
Copy link
Contributor

Summary

This PR completes two key sorryful lemmas in the tight binding chain model:

  • hamiltonian_hermitian: Proves that the tight binding Hamiltonian is Hermitian by showing that the inner products satisfy ⟨Hψ, φ⟩ = ⟨ψ, Hφ⟩

    • Adds helper lemma localizedComp_adjoint: adjoint of |m⟩⟨n| is |n⟩⟨m|
    • Adds helper lemma localizedComp_self_adjoint: diagonal terms are self-adjoint
  • energyEigenstate_orthogonal: Proves energy eigenstates with distinct wavenumbers are orthogonal using the geometric series identity

    • The key insight is that the inner product reduces to ∑ωⁿ where ω is an N-th root of unity (from periodic boundary conditions)
    • Different wavenumbers give ω ≠ 1, and ∑ωⁿ = (ωᴺ - 1)/(ω - 1) = 0

These proofs formalize fundamental quantum mechanical results about the tight binding model commonly used in condensed matter physics.

Test plan

  • lake build PhysLean.CondensedMatter.TightBindingChain.Basic compiles successfully
  • No new sorrys introduced
  • Removes 2 @[sorryful] annotations

🤖 Generated with Claude Code

@physlean0 physlean0 requested a review from a team as a code owner January 22, 2026 11:23
…te orthogonality proofs

This PR completes two key sorryful lemmas in the tight binding chain model:

1. `hamiltonian_hermitian`: Proves that the tight binding Hamiltonian is Hermitian
   by showing that the inner products satisfy ⟨Hψ, φ⟩ = ⟨ψ, Hφ⟩
   - Adds helper lemma `localizedComp_adjoint`: adjoint of |m⟩⟨n| is |n⟩⟨m|
   - Adds helper lemma `localizedComp_self_adjoint`: diagonal terms are self-adjoint

2. `energyEigenstate_orthogonal`: Proves energy eigenstates with distinct
   wavenumbers are orthogonal using the geometric series identity
   - The key insight is that the inner product reduces to ∑ω^n where ω is
     an N-th root of unity (from periodic boundary conditions)
   - Different wavenumbers give ω ≠ 1, and ∑ω^n = (ω^N - 1)/(ω - 1) = 0

These proofs formalize fundamental quantum mechanical results about the
tight binding model commonly used in condensed matter physics.
@physlean0 physlean0 force-pushed the tightbinding-proofs branch from e656351 to 9123a42 Compare January 22, 2026 11: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.

Added some comments - if you could handle these it would be great, if not let me know and I can do them.

- Move localizedComp_adjoint to section C (after localizedComp_apply_localizedState)
- Delete redundant localizedComp_self_adjoint lemma
- Use localizedComp_adjoint directly in hamiltonian_hermitian
- Golf energyEigenstate_orthogonal proof (37 lines shorter):
  - Replace match/with with obtain for cleaner destructuring
  - Combine initial simp steps
  - Use calc block for hω_pow
  - Inline intermediate computations
  - Remove verbose comments while preserving key insights
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.

Approved :). Many thanks for this first PR - hope it is the first of many! I will merge it shortly (sorry I think I missed that you had already replaced the proof).

@jstoobysmith jstoobysmith merged commit 0e4ace1 into HEPLean:master Jan 23, 2026
3 checks 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.

2 participants