Details

Time bar (total: 9.6s)

sample77.0ms

Algorithm
intervals
Results
50.0ms498×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0b
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
5.2b
(* (- (fma c b a)) (* c i))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
13×associate-*l*
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u add-log-exp
distribute-lft-neg-out associate-*r* *-commutative
neg-mul-1 distribute-rgt-neg-out fma-udef
Counts
3 → 62
Calls
3 calls:
16.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
9.0ms
(* (- (fma c b a)) (* c i))

series782.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
660.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
61.0ms
(* (- (fma c b a)) (* c i))

simplify49.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0270485
11123401
25001391

prune238.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
0.4b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
0.4b
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
5.2b
(* (- (fma c b a)) (* c i))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log add-cbrt-cube
22×associate-*l*
19×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in associate-*r* *-commutative distribute-rgt-neg-out
neg-mul-1 fma-udef
Counts
4 → 95
Calls
4 calls:
0.0ms
(fma 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
19.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
53.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
8.0ms
(* (- (fma c b a)) (* c i))

series1.7s

Counts
4 → 12
Calls
4 calls:
1.2s
(fma 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
164.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
256.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
73.0ms
(* (- (fma c b a)) (* c i))

simplify68.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0390870
11708708
25001674

prune359.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.5b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
0.4b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
5.2b
(* (- (fma c b a)) (* c i))

rewrite232.0ms

Algorithm
rewrite-expression-head
Rules
52×pow1 add-exp-log add-cbrt-cube
34×associate-*l* pow-prod-down prod-exp cbrt-unprod
21×sqrt-prod
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-rgt-neg-out
distribute-lft-neg-out expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
neg-mul-1
Counts
4 → 124
Calls
4 calls:
52.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
149.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
18.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
8.0ms
(* (- (fma c b a)) (* c i))

series876.0ms

Counts
4 → 12
Calls
4 calls:
410.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
256.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
153.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
57.0ms
(* (- (fma c b a)) (* c i))

simplify74.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04591297
121971030
25003975

prune484.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i)))
0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i))))
0.5b
(* (sqrt 2.0) (- (fma c b a)))
5.2b
(* (* (sqrt 2.0) (- (fma c b a))) (* c i))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1 add-exp-log add-cbrt-cube
41×pow-prod-down prod-exp cbrt-unprod
25×associate-*l*
22×sqrt-prod
19×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
13×associate-*r*
distribute-rgt-neg-out
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in
distribute-neg-in fma-udef unswap-sqr
distribute-rgt-in neg-mul-1 distribute-lft-in
Counts
4 → 134
Calls
4 calls:
49.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i)))
136.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i))))
7.0ms
(* (sqrt 2.0) (- (fma c b a)))
18.0ms
(* (* (sqrt 2.0) (- (fma c b a))) (* c i))

series915.0ms

Counts
4 → 12
Calls
4 calls:
410.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i)))
258.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i))))
93.0ms
(* (sqrt 2.0) (- (fma c b a)))
154.0ms
(* (* (sqrt 2.0) (- (fma c b a))) (* c i))

simplify88.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05161423
126181119
250011057

prune467.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.3b

regimes515.0ms

Accuracy

0% (1.6b remaining)

Error of 1.9b against oracle of 0.3b and baseline of 1.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0238
1318
2418
3418

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s15183×body80valid