Details

Time bar (total: 14.6s)

sample69.0ms

Algorithm
intervals
Results
20.0ms121×body320valid
16.0ms259×body80nan
14.0ms128×body160valid
0.0msbody80valid

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: 38.4b

localize18.0ms

Local error

Found 4 expressions with local error:

6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(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:
19.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)))
4.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series724.0ms

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

simplify905.0ms

Counts
80 → 80
Iterations

Useful iterations: done (903.0ms)

IterNodesCost
01831500
14031315
213351211
done50001165

prune445.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.3b

localize19.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite34.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))
20.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
316.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
52.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify860.0ms

Counts
81 → 81
Iterations

Useful iterations: done (858.0ms)

IterNodesCost
01441220
13131079
21107975
done5000953

prune490.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.7b

localize19.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
37.0ms
(- (* g g) (* h h))
46.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify1.1s

Counts
82 → 82
Iterations

Useful iterations: done (1.1s)

IterNodesCost
062912
1134824
2426722
31689722
done5001720

prune462.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 33.7b

localize21.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series157.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
33.0ms
(- (* g g) (* h h))
45.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify866.0ms

Counts
82 → 82
Iterations

Useful iterations: done (864.0ms)

IterNodesCost
062912
1134824
2426722
31689722
done5001720

prune401.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 33.7b

regimes765.0ms

Accuracy

0% (1.8b remaining)

Error of 33.0b against oracle of 31.2b and baseline of 33.0b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02038
12438
done2438

end0.0ms

sample1.8s

Algorithm
intervals
Results
616.0ms3755×body320valid
448.0ms4089×body160valid
390.0ms7743×body80nan
9.0ms156×body80valid