Skip to content

feat: Start split of Distributional EM#1063

Open
jstoobysmith wants to merge 5 commits intomasterfrom
StartDistributionDocs
Open

feat: Start split of Distributional EM#1063
jstoobysmith wants to merge 5 commits intomasterfrom
StartDistributionDocs

Conversation

@jstoobysmith
Copy link
Copy Markdown
Member

Added a Basic.lean file for Distributional EM with the idea that a future PR will move the distribution stuff to this file (I would add a TODO item here, however waiting for #1062). I'm hoping that this doc-string will help clarify what distributional EM is, and how e.g. the integral forms fit in.

@jstoobysmith jstoobysmith requested a review from zhikaip April 28, 2026 13:42
@jstoobysmith jstoobysmith added RFC Request for comment t-electromagnetism Electromagnetism labels Apr 28, 2026
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 framing should be that Distributions are "necessary", but not necessarily "better". it is needed to handles things properly but we shouldn't rely on it to do everything. (I'll keep looking for a way to do EM stuff the "engineering" or "undergraduate" way and hope we meet somewhere in the middle)

are not smooth functions: point particles, infinitely thin wires, charged surfaces, and so on.
A point charge, for example, is conventionally written as `ρ(x) = q δ³(x - x₀)`, where `δ³`
is the Dirac delta. These idealisations are not functions in the usual sense, and cannot be
described within a formulation of electromagnetism that only allows smooth functions, because
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.

I think "Cannot be described within a formulation of electromagnetism that only allows smooth functions" is too strong, I do want to build smooth version on the punctured space (which links to this), and this shouldn't be the only formulation in Physlib which forces us to always carry distributions around

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 be a bit explicit, something like "the fields of singular sources can be treated classically on the appropriate punctured domain, but the sources themselves and the differential form of Maxwell's equations including the singularity require distributions."

mathematical object is called a tempered distribution. Fields and charge or current
distributions are then specified by their action on test functions rather than by their
pointwise values. Ordinary smooth functions `f` still fit into this framework via the rule
`φ ↦ ∫ f φ dx`, but the framework is strictly larger: it also accommodates point particles,
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.

"the framework is strictly larger" is too strong as well, maybe some thing like "the framework accommodates objects that smooth functions cannot represent (point particles, surface charges, derivatives of step functions), at the cost of giving up pointwise values and pointwise products."

distributions is not defined. For a point charge, for instance, both `A` and `J` are singular
at the location of the charge, and their product has no distributional meaning.

Other constructions must be reformulated rather than abandoned. The flux of `E` out of a
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.

this section may be we can leave it for now, but I'd hope that after things are more fleshed out we can rewrite it to show how the distributional pairing relates to the functional API

@jstoobysmith
Copy link
Copy Markdown
Member Author

@zhikaip Tried to rewrite to incorporate your comments here and other thoughts.

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

Labels

RFC Request for comment t-electromagnetism Electromagnetism

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants