Details

Time bar (total: 24.9s)

sample183.0ms

Algorithm
intervals
Results
68.0ms129×body160valid
46.0ms123×body320valid
32.0ms270×body80nan
1.0msbody80valid

simplify4.8s

Counts
1 → 1
Iterations
IterNodes
done5000
84870
72196
61617
51088
4640
3315
2125
144
019

prune41.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 38.9b

localize39.0ms

Local error

Found 4 expressions with local error:

9.4b
(cbrt (/ (* (/ 1.0 2.0) (- (sqrt (- (* g g) (* h h))) g)) a))
10.8b
(cbrt (* (/ 1.0 2.0) (/ (- (- g) (sqrt (- (* g g) (* h h)))) a)))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (- (* g g) (* h h)))

rewrite72.0ms

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

series900.0ms

Counts
4 → 12
Calls
4 calls:
381.0ms
(cbrt (/ (* (/ 1.0 2.0) (- (sqrt (- (* g g) (* h h))) g)) a))
400.0ms
(cbrt (* (/ 1.0 2.0) (/ (- (- g) (sqrt (- (* g g) (* h h)))) a)))
54.0ms
(sqrt (- (* g g) (* h h)))
65.0ms
(sqrt (- (* g g) (* h h)))

simplify834.0ms

Counts
80 → 80
Iterations
IterNodes
done5001
21298
1422
0195

prune1.2s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.2b

localize54.0ms

Local error

Found 4 expressions with local error:

4.0b
(- (* g g) (* h h))
9.4b
(cbrt (/ (* (/ 1.0 2.0) (- (sqrt (- (* g g) (* h h))) g)) a))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (fma (- h) h (* g g)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod sqrt-prod
pow1 add-log-exp
expm1-log1p-u add-cbrt-cube add-exp-log log1p-expm1-u
times-frac
rem-sqrt-square sqrt-pow1 flip3-- pow1/2 sqrt-div flip-- difference-of-squares
cbrt-div sub-neg fma-neg pow1/3 diff-log prod-diff div-inv
Counts
4 → 68
Calls
4 calls:
14.0ms
(- (* g g) (* h h))
30.0ms
(cbrt (/ (* (/ 1.0 2.0) (- (sqrt (- (* g g) (* h h))) g)) a))
10.0ms
(sqrt (- (* g g) (* h h)))
1.0ms
(sqrt (fma (- h) h (* g g)))

series659.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* g g) (* h h))
415.0ms
(cbrt (/ (* (/ 1.0 2.0) (- (sqrt (- (* g g) (* h h))) g)) a))
86.0ms
(sqrt (- (* g g) (* h h)))
120.0ms
(sqrt (fma (- h) h (* g g)))

simplify924.0ms

Counts
80 → 80
Iterations
IterNodes
done5000
21313
1376
0177

prune1.1s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.5b

localize55.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ g (sqrt (fma (- h) h (* g g))))
1.2b
(- (sqrt (fma h (- h) (* g g))) g)
32.1b
(sqrt (fma h (- h) (* g g)))
32.1b
(sqrt (fma (- h) h (* g g)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
19×sqrt-prod
18×prod-diff
add-log-exp
pow1 fma-neg
expm1-log1p-u add-cbrt-cube add-exp-log log1p-expm1-u
fma-def
rem-sqrt-square sqrt-pow1 pow1/2 difference-of-squares
+-commutative sum-log sub-neg flip3-+ flip3-- diff-log flip-+ flip-- distribute-lft-out distribute-lft-out--
Counts
4 → 88
Calls
4 calls:
11.0ms
(+ g (sqrt (fma (- h) h (* g g))))
32.0ms
(- (sqrt (fma h (- h) (* g g))) g)
2.0ms
(sqrt (fma h (- h) (* g g)))
3.0ms
(sqrt (fma (- h) h (* g g)))

series365.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ g (sqrt (fma (- h) h (* g g))))
103.0ms
(- (sqrt (fma h (- h) (* g g))) g)
90.0ms
(sqrt (fma h (- h) (* g g)))
73.0ms
(sqrt (fma (- h) h (* g g)))

simplify2.4s

Counts
100 → 100
Iterations
IterNodes
done5000
34204
2736
1249
0118

prune1.2s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.3b

localize92.0ms

Local error

Found 4 expressions with local error:

32.1b
(sqrt (fma (- h) h (* g g)))
32.1b
(sqrt (fma (- h) h (* g g)))
32.1b
(sqrt (fma (- h) h (* g g)))
32.1b
(sqrt (fma h (- h) (* g g)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
expm1-log1p-u rem-sqrt-square sqrt-pow1 add-cbrt-cube pow1/2 add-exp-log log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
1.0ms
(sqrt (fma (- h) h (* g g)))
1.0ms
(sqrt (fma (- h) h (* g g)))
1.0ms
(sqrt (fma (- h) h (* g g)))
2.0ms
(sqrt (fma h (- h) (* g g)))

series342.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(sqrt (fma (- h) h (* g g)))
89.0ms
(sqrt (fma (- h) h (* g g)))
87.0ms
(sqrt (fma (- h) h (* g g)))
85.0ms
(sqrt (fma h (- h) (* g g)))

simplify2.0s

Counts
72 → 72
Iterations
IterNodes
done5000
81667
7631
6338
5231
4172
3127
294
160
042

prune837.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.3b

regimes1.1s

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify12.0ms

Iterations
IterNodes
done44
344
243
138
028

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.6s3804×body320valid
1.1s8006×body80nan
1.1s4042×body160valid
47.0ms154×body80valid