Skip to content

feat(QuantumInfo): cyclic symmetry for Bargmann invariant and phase#1133

Merged
jstoobysmith merged 1 commit into
leanprover-community:masterfrom
Xylem-Group:bargmann-cyclic
May 29, 2026
Merged

feat(QuantumInfo): cyclic symmetry for Bargmann invariant and phase#1133
jstoobysmith merged 1 commit into
leanprover-community:masterfrom
Xylem-Group:bargmann-cyclic

Conversation

@wock9000
Copy link
Copy Markdown
Contributor

Summary

  • Add bargmannInvariantThree_cyclic: cyclic permutation (ψ₂, ψ₃, ψ₁) preserves Δ₃, proved by ring
  • Add bargmannPhaseThree_cyclic: cyclic permutation preserves the geometric phase, via rewrite
  • Fix DecidableEq section variable warnings on all existing lemmas (omit [DecidableEq d] in)
  • Remove unused non-zero hypothesis h from bargmannPhaseThree_reverseComplex.arg_conj_coe_angle does not require it

Context

Cyclic invariance is a fundamental property of the Bargmann invariant: since Δ₃ = ⟨ψ₁|ψ₂⟩ · ⟨ψ₂|ψ₃⟩ · ⟨ψ₃|ψ₁⟩ is a cyclic product, permuting (1,2,3) → (2,3,1) is an algebraic identity. Together with the existing _reverse lemma (anti-cyclic order conjugates), this completes the symmetry group of the three-vertex invariant.

Build

Zero warnings, zero errors on lake build QuantumInfo.Finite.GeometricPhase.BargmannInvariant.

🤖 Generated with Claude Code

Add `bargmannInvariantThree_cyclic` and `bargmannPhaseThree_cyclic`,
proving that cyclic permutation of the three states preserves both
the Bargmann invariant and its geometric phase.

Also fix unused `DecidableEq` section variable warnings across all
existing lemmas and drop the unused non-zero hypothesis from
`bargmannPhaseThree_reverse`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
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.

This looks good - approved

@jstoobysmith jstoobysmith added the ready-to-merge This PR is approved and will be merged shortly label May 29, 2026
@jstoobysmith jstoobysmith merged commit 0fe799c into leanprover-community:master May 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR is approved and will be merged shortly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants