File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44
55### Added
66
7+ - in ` realfun.v ` :
8+ + lemma ` derivable_sqrt `
9+
710### Changed
811
912### Renamed
Original file line number Diff line number Diff line change @@ -1943,9 +1943,12 @@ rewrite -[x]sqrtK//; apply: (@is_derive_inverse _ (fun x => x ^+ 2)).
19431943- by rewrite mulf_neq0// gt_eqF// sqrtr_gt0 exprn_gt0// sqrtr_gt0.
19441944Unshelve. all: by end_near. Qed .
19451945
1946+ Lemma derivable_sqrt {K : realType} (x : K) : 0 < x -> derivable Num.sqrt x 1.
1947+ Proof . by move=> x0; exact/ex_derive/is_derive1_sqrt. Qed .
1948+
19461949Lemma derive_sqrt {K : realType} (r : K) : 0 < r ->
19471950 'D_1 Num.sqrt r = (2 * Num.sqrt r)^-1.
1948- Proof . by move=> r0; apply: derive_val; exact: is_derive1_sqrt. Qed .
1951+ Proof . by move=> r0; exact/derive_val/ is_derive1_sqrt. Qed .
19491952
19501953#[global] Hint Extern 0 (is_derive _ _ (fun _ => (_ _)^-1) _) =>
19511954 (eapply is_deriveV; first by []) : typeclass_instances.
You can’t perform that action at this time.
0 commit comments