Details

Time bar (total: 5.1s)

sample65.0ms

Algorithm
intervals
Results
46.0ms490×body80valid

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 9 (94.0ms)

IterNodesCost
0216
1526
21716
34016
48296
510906
616106
719566
822526
923675
1023675

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(- t (* z z))
3.1b
(* (* y 4.0) (- t (* z z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt prod-diff
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in
associate-*r* add-log-exp
sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 54
Calls
2 calls:
3.0ms
(- t (* z z))
12.0ms
(* (* y 4.0) (- t (* z z)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- t (* z z))
86.0ms
(* (* y 4.0) (- t (* z z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0257349
11187299
25001292

prune159.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.5b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(- t (* z z))
3.1b
(* (* y 4.0) (- t (* z z)))
39.9b
(fma (- z) z (* z z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r*
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- associate-*r/ flip-- difference-of-squares
diff-log associate-*l* *-commutative fma-udef
Counts
3 → 64
Calls
3 calls:
3.0ms
(- t (* z z))
11.0ms
(* (* y 4.0) (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series182.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- t (* z z))
86.0ms
(* (* y 4.0) (- t (* z z)))
54.0ms
(fma (- z) z (* z z))

simplify47.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0266399
11192342
25001335

prune230.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.5b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- t (* z z))
3.1b
(* y (* 4.0 (- t (* z z))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
15×prod-diff
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
sub-neg
associate-*r/ add-log-exp
fma-neg associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-*r* *-commutative difference-of-squares
Counts
2 → 63
Calls
2 calls:
3.0ms
(- t (* z z))
14.0ms
(* y (* 4.0 (- t (* z z))))

series127.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- t (* z z))
89.0ms
(* y (* 4.0 (- t (* z z))))

simplify131.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0279438
1933380
24280379
35001378

prune158.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.5b

localize20.0ms

Local error

Found 4 expressions with local error:

3.7b
(cbrt (- t (* z z)))
3.7b
(cbrt (- t (* z z)))
3.7b
(cbrt (- t (* z z)))
39.9b
(fma (- z) z (* z z))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- difference-of-squares
fma-udef
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.0s

Counts
4 → 12
Calls
4 calls:
329.0ms
(cbrt (- t (* z z)))
316.0ms
(cbrt (- t (* z z)))
315.0ms
(cbrt (- t (* z z)))
59.0ms
(fma (- z) z (* z z))

simplify62.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0176443
1423415
21390406
35002395

prune345.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 1.5b

regimes232.0ms

Accuracy

82.9% (0.5b remaining)

Error of 3.0b against oracle of 2.5b and baseline of 5.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.5s15758×body80valid