Add the core LocalJet coordinate object#1039
Draft
juanjfndz wants to merge 2 commits intoleanprover-community:masterfrom
Draft
Add the core LocalJet coordinate object#1039juanjfndz wants to merge 2 commits intoleanprover-community:masterfrom
juanjfndz wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
| -/ | ||
|
|
||
| /-- Local jets of order `k` for fields `Space d → Space m`. -/ | ||
| structure LocalJet (d m k : ℕ) where |
Member
There was a problem hiding this comment.
I'm a bit confused about what this definition is meant to represent. More specifically how this is a local jet. To me it looks it represents a point in the jet bundle when the base is Space d and the fibers are Space M (should probably generalize to U).
| -/ | ||
|
|
||
| /-- The multi-indices on `d` coordinates of order at most `k`. -/ | ||
| abbrev DerivativeIndex (d k : ℕ) := { I : MultiIndex d // I.order ≤ k } |
Member
There was a problem hiding this comment.
Would make own file in Space.Derivatives.
Member
|
Hey, just wanted to check in about this PR. No rush, just making sure things don't slip through the net. |
|
It has been a busy week, and I want to look carefully at exactly how to handle the bundle setup. I’m still working toward the same goal. Thanks for the ping! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is the next step in a planned local Classical Field Theory development for PhysLib, aimed at a formalization of the local Euler--Lagrange criterion appearing as Theorem 5.2 in Cortés--Haupt, Chapter 5.
The overall local stack is intended to proceed through:
The Zulip discussion for this development is here:
The previous PRs, #1021, #1027, and #1028, introduced the reusable
MultiIndexAPI and the basic iterated-derivative layer onSpace d. This PR begins the local jet layer by introducing the core jet object itself.What This PR Adds
This PR adds
Physlib/ClassicalFieldTheory/Local/LocalJet.lean, together with its import inPhyslib.lean.Concretely, it provides:
DerivativeIndex d kfor multi-indices of order at mostk,JetCoordinates d m k,zeroIndex,LocalJet d m k,ext,coord, and the zero-index compatibility lemma).Why This Is Needed
Later PRs will use this object to package local
k-jet data for fieldsSpace d → Space m.This is the local coordinate object on which the subsequent constructions are built:
jetAt,So this PR isolates the basic jet object before adding the more elaborate coordinate and evaluation API.
Scope Of This PR
This PR is intentionally limited to the core jet object.
It does not yet add:
Those appear in follow-up PRs, so that the basic local jet object can be reviewed first on its own.
Build
Locally checked with:
python3 scripts/lint-style.py Physlib/ClassicalFieldTheory/Local/LocalJet.leanlake build Physlib.ClassicalFieldTheory.Local.LocalJetlake exe check_file_imports