Skip to content

fixes #1632 #1633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@

### Generalized

- in `derive.v`:
+ `derive_cst`, `derive1_cst`

### Deprecated

### Removed
Expand Down
5 changes: 3 additions & 2 deletions theories/derive.v
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ move=> dfx; apply: DeriveDef; first exact: derivableZ.
by rewrite deriveZ // derive_val.
Qed.

Lemma derive_cst (k : R) (x v : V) : 'D_v (cst k) x = 0.
Lemma derive_cst (k : W) (x v : V) : 'D_v (cst k) x = 0.
Proof. by rewrite derive_val. Qed.

End Derive_lemmasVW.
Expand Down Expand Up @@ -1389,7 +1389,8 @@ Lemma is_derive_shift {R : numFieldType} x v (k : R) :
is_derive x v (shift k) v.
Proof. by apply: DeriveDef => //; rewrite derive_val addr0. Qed.

Lemma derive1_cst {R : numFieldType} (k : R) t : (cst k)^`() t = 0.
Lemma derive1_cst {R : numFieldType} (V : normedModType R) (k : V) t :
(cst k)^`() t = 0.
Proof. by rewrite derive1E derive_cst. Qed.

Lemma derive1Mr {R : numFieldType} (f : R -> R) (x r : R) :
Expand Down