Details

Time bar (total: 15.2s)

sample68.0ms

Algorithm
intervals
Results
20.0ms124×body320valid
15.0ms286×body80nan
14.0ms132×body160valid

simplify4.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
01937
14437
212236
329836
457536
588636
6113836
7141236
8289636
done500136

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.2b

localize19.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt flip3-- *-un-lft-identity flip--
add-exp-log expm1-log1p-u frac-times sqrt-div associate-*r/ add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 associate-*l/ difference-of-squares
Counts
4 → 68
Calls
4 calls:
17.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
7.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series731.0ms

Counts
4 → 12
Calls
4 calls:
311.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
324.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
46.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify906.0ms

Counts
80 → 80
Iterations

Useful iterations: done (903.0ms)

IterNodesCost
01831500
14031315
213351211
done50001165

prune450.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 31.4b

localize26.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
8.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series444.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
314.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
49.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))

simplify1.4s

Counts
81 → 81
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01441192
13051048
2986954
33912944
done5000943

prune485.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.1b

localize28.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
51.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify881.0ms

Counts
82 → 82
Iterations

Useful iterations: done (879.0ms)

IterNodesCost
062912
1134824
2426722
31689722
done5001720

prune696.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 31.1b

localize21.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series159.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
44.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify885.0ms

Counts
82 → 82
Iterations

Useful iterations: done (883.0ms)

IterNodesCost
062912
1134824
2426722
31689722
done5001720

prune389.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 31.1b

regimes667.0ms

Accuracy

0% (1.5b remaining)

Error of 32.2b against oracle of 30.7b and baseline of 32.2b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02238
12638
done2638

end0.0ms

sample1.8s

Algorithm
intervals
Results
600.0ms3693×body320valid
463.0ms4152×body160valid
400.0ms7920×body80nan
9.0ms155×body80valid