Details

Time bar (total: 6.8s)

sample68.0ms

Algorithm
intervals
Results
36.0ms478×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune16.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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:
1.0ms
(fma x y (* z t))
17.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
11.0ms
(* (- (fma c b a)) (* c i))

series162.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0261393
11092327
25001317

prune254.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New65671
Fresh011
Picked011
Done000
Total65873

Merged error: 0.3b

Counts
73 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x y (* z t))
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.1b
(* (- (fma c b a)) (* c i))

rewrite30.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:
1.0ms
(fma x y (* z t))
9.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
12.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
6.0ms
(* (- (fma c b a)) (* c i))

series520.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma x y (* z t))
159.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
262.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
57.0ms
(* (- (fma c b a)) (* c i))

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0363738
11586602
25001578

prune312.0ms

Filtered
107 candidates to 67 candidates (62.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh336
Picked101
Done011
Total1087115

Merged error: 0.2b

Counts
115 → 7

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

rewrite55.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:
10.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
14.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
21.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
6.0ms
(* (- (fma c b a)) (* c i))

series883.0ms

Counts
4 → 12
Calls
4 calls:
409.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
153.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
260.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
60.0ms
(* (- (fma c b a)) (* c i))

simplify75.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04501294
121391008
25003961

prune462.0ms

Filtered
136 candidates to 83 candidates (61.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh055
Picked011
Done011
Total1358143

Merged error: 0.2b

Counts
143 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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:
14.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i)))
8.0ms
(* (sqrt (sqrt 2.0)) (- (fma c b a)))
17.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))))
9.0ms
(* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))

series826.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i)))
158.0ms
(* (sqrt (sqrt 2.0)) (- (fma c b a)))
267.0ms
(* (sqrt 2.0) (* (sqrt (sqrt 2.0)) (* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))))
231.0ms
(* (* (sqrt (sqrt 2.0)) (- (fma c b a))) (* c i))

simplify96.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
05091564
126971229
250011090

prune378.0ms

Filtered
147 candidates to 81 candidates (55.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh055
Picked011
Done022
Total1478155

Merged error: 0.2b

Counts
155 → 8

regimes767.0ms

Accuracy

0% (1.0b remaining)

Error of 1.9b against oracle of 0.8b 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

sample1.5s

Algorithm
intervals
Results
886.0ms15310×body80valid

Profiling

Loading profile data...