Skip to content

feat: Basic field strength equalities#1068

Merged
jstoobysmith merged 9 commits intomasterfrom
FieldStrength
May 5, 2026
Merged

feat: Basic field strength equalities#1068
jstoobysmith merged 9 commits intomasterfrom
FieldStrength

Conversation

@jstoobysmith
Copy link
Copy Markdown
Member

Adding some lemmas which rewrite the field strength in a more familiar form. These will eventually be used to remove all the Tensor stuff from EM.

@jstoobysmith jstoobysmith requested a review from zhikaip May 2, 2026 04:25
Copy link
Copy Markdown
Collaborator

@zhikaip zhikaip left a comment

Choose a reason for hiding this comment

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

I think the docstring should be fixed, whether the mathematical properties can be generalised can be left for future work


/-- The statement that `F = F^{μν} eᵤ ⊗ eᵥ` written explicitly, with
the components extracted via `toField`. -/
lemma toFieldStrength_eq_sum_basis_eval {d} {A : ElectromagneticPotential d} :
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.

does this work for a general SpaceTime d → Lorentz.Vector d ⊗[ℝ] Lorentz.Vector d type?

To me it seems a bit uneconomic to have these results proven specifically for one physical object only where presumably it's just mathematical manipulations, but maybe there are difficulties I'm not aware of

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.

maybe this is a more general discussion and out of scope for this particular PR, if that's the case I'm happy to approve it first

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.

I added a TODO item about this. I tried to do this but it needs a bit more API I think.

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.

Suggested change
We define the field strength tensor `F_μν` in terms of the derivative of the

do you mind fixing the indices throughout?

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.

Done.

Copy link
Copy Markdown
Collaborator

@zhikaip zhikaip left a comment

Choose a reason for hiding this comment

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

thanks for the changes, approved.

I've been thinking whether FieldStrength should get its own type, but maybe that's a much larger design decision to be made. Either way I think separating the maths from the physics as much as possible (generalising the former, then applying) is probably the way to go throughout physlib

@zhikaip zhikaip added ready-to-merge This PR is approved and will be merged shortly t-electromagnetism Electromagnetism labels May 4, 2026
@jstoobysmith jstoobysmith merged commit b7b7f4e into master May 5, 2026
8 checks passed
@jstoobysmith jstoobysmith deleted the FieldStrength branch May 5, 2026 04:09
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 t-electromagnetism Electromagnetism

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants