Details

Time bar (total: 9.2s)

sample49.0ms

Algorithm
intervals
Results
23.0ms472×body80valid

simplify113.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize16.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))))
6.6b
(* (- (fma c b a)) (* c i))

rewrite28.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:
17.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))

series853.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
714.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
64.0ms
(* (- (fma c b a)) (* c i))

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0270485
11123401
25001391

prune280.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.8b

localize17.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.3b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
0.4b
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
6.6b
(* (- (fma c b a)) (* c i))

rewrite88.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)))))
20.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
55.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
9.0ms
(* (- (fma c b a)) (* c i))

series1.6s

Counts
4 → 12
Calls
4 calls:
1.1s
(fma 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
179.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
269.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
65.0ms
(* (- (fma c b a)) (* c i))

simplify61.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0390870
11708708
25001674

prune421.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.8b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite273.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:
22.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
59.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
171.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
13.0ms
(* (- (fma c b a)) (* c i))

series767.0ms

Counts
4 → 12
Calls
4 calls:
251.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
173.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
283.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
59.0ms
(* (- (fma c b a)) (* c i))

simplify72.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04501294
121391008
25003961

prune765.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.8b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite297.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*
24×sqrt-prod
21×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 unswap-sqr
distribute-neg-in fma-udef
distribute-rgt-in neg-mul-1 distribute-lft-in
Counts
4 → 135
Calls
4 calls:
12.0ms
(* (sqrt (sqrt 2.0)) (- (fma c b a)))
66.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i)))
191.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))))
21.0ms
(* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))

series917.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(* (sqrt (sqrt 2.0)) (- (fma c b a)))
177.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i)))
295.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))))
239.0ms
(* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))

simplify89.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05091564
126971229
250011090

prune539.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.8b

regimes458.0ms

Accuracy

0% (0.1b remaining)

Error of 1.8b against oracle of 1.7b and baseline of 1.8b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1318
2418
3418

end0.0ms

sample1.3s

Algorithm
intervals
Results
709.0ms15148×body80valid