Details

Time bar (total: 33.6s)

sample201.0ms

Algorithm
intervals
Results
77.0ms133×body320valid
38.0ms294×body80nan
33.0ms118×body160valid
1.0msbody80valid

simplify13.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
01937
14437
212536
331436
463336
5102336
6132536
7162836
8298836
done500136

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize41.0ms

Local error

Found 4 expressions with local error:

6.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))

rewrite118.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
440.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
431.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
64.0ms
(sqrt (- (* g g) (* h h)))
68.0ms
(sqrt (- (* g g) (* h h)))

simplify1.2s

Counts
80 → 80
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01721528
14021345
213591225
done50001180

prune710.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 28.4b

localize27.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* g g) (* h h))
7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))

rewrite134.0ms

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

series655.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* g g) (* h h))
468.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
65.0ms
(sqrt (- (* g g) (* h h)))
70.0ms
(sqrt (- (* g g) (* h h)))

simplify3.5s

Counts
81 → 81
Iterations

Useful iterations: 3 (2.0s)

IterNodesCost
01461220
13341078
21124960
34776938
done5000938

prune612.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 27.9b

localize29.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* g g) (* h h))
7.4b
(cbrt (/ 1.0 (/ (* 2.0 a) (- (sqrt (- (* g g) (* h h))) g))))
27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
41×cbrt-prod
39×add-sqr-sqrt
31×*-un-lft-identity
25×add-cube-cbrt
11×sqrt-prod
difference-of-squares
associate-/r/
pow1 flip3-- flip-- add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u div-inv
distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2
sub-neg cbrt-div fma-neg pow1/3 diff-log prod-diff
Counts
4 → 105
Calls
4 calls:
9.0ms
(- (* g g) (* h h))
31.0ms
(cbrt (/ 1.0 (/ (* 2.0 a) (- (sqrt (- (* g g) (* h h))) g))))
12.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series527.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* g g) (* h h))
377.0ms
(cbrt (/ 1.0 (/ (* 2.0 a) (- (sqrt (- (* g g) (* h h))) g))))
51.0ms
(sqrt (- (* g g) (* h h)))
53.0ms
(sqrt (- (* g g) (* h h)))

simplify2.5s

Counts
117 → 117
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
02722457
14892269
213722169
348602144
done50002144

prune836.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 27.9b

localize28.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* g g) (* h h))
1.6b
(- (* g g) (* h h))
27.0b
(sqrt (- (* g g) (* h h)))
27.0b
(sqrt (- (* g g) (* h h)))

rewrite51.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:
9.0ms
(- (* g g) (* h h))
9.0ms
(- (* g g) (* h h))
12.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series173.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* g g) (* h h))
34.0ms
(- (* g g) (* h h))
48.0ms
(sqrt (- (* g g) (* h h)))
52.0ms
(sqrt (- (* g g) (* h h)))

simplify1.2s

Counts
82 → 82
Iterations

Useful iterations: done (1.2s)

IterNodesCost
062912
1132824
2347722
31112722
done5001712

prune468.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 27.9b

regimes979.0ms

Accuracy

0% (3.7b remaining)

Error of 33.7b against oracle of 30.0b and baseline of 33.7b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02775
13175
done3175

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.7s3719×body320valid
1.4s8064×body80nan
993.0ms4126×body160valid
15.0ms155×body80valid