Skip to content

feat: Add contraction result for real Lorentz tensors#1086

Open
jstoobysmith wants to merge 5 commits into
leanprover-community:masterfrom
jstoobysmith:contrT_toField
Open

feat: Add contraction result for real Lorentz tensors#1086
jstoobysmith wants to merge 5 commits into
leanprover-community:masterfrom
jstoobysmith:contrT_toField

Conversation

@jstoobysmith
Copy link
Copy Markdown
Member

Add a result related to contractions of real Lorentz tensors.

Comment thread Physlib/Relativity/Tensors/Contraction/Basis.lean Outdated
Pure.contrPCoeff i j h (Pure.basisVector c b) •
basis (c ∘ Pure.dropPairEmb i j) (b.dropPair i j) := by
simp [basis_apply, contrT_pure, Pure.contrP, Pure.dropPair_basisVector]
rfl
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Proof ending in rfl usually means there's something not quite right about the definitions, but it's fine since they'll be getting adjusted soon.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ok, I didn't know this - this is good to know!

Comment thread Physlib/Relativity/Tensors/Contraction/Pure.lean Outdated
Comment thread Physlib/Relativity/Tensors/Contraction/Pure.lean Outdated
Comment thread Physlib/Relativity/Tensors/RealTensor/Basic.lean Outdated
Comment thread Physlib/Relativity/Tensors/RealTensor/Basic.lean Outdated
Comment thread Physlib/Relativity/Tensors/Basic.lean Outdated
Comment thread Physlib/Relativity/Tensors/Basic.lean Outdated
Comment thread Physlib/Relativity/Tensors/Evaluation.lean Outdated
Comment thread Physlib/Relativity/Tensors/Evaluation.lean Outdated
@morrison-daniel morrison-daniel self-assigned this May 12, 2026
Co-authored-by: Daniel Morrison <39346894+morrison-daniel@users.noreply.github.com>
@jstoobysmith
Copy link
Copy Markdown
Member Author

@morrison-daniel Made your requested changes here.

@morrison-daniel morrison-daniel added the ready-to-merge This PR is approved and will be merged shortly label May 14, 2026
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