Details

Time bar (total: 9.3s)

sample51.0ms

Algorithm
intervals
Results
23.0ms496×body80valid

simplify120.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (10.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: 1.1b

Counts
2 → 2

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

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

series895.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0270485
11123401
25001391

prune253.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New64771
Fresh011
Picked011
Done000
Total64973

Merged error: 0.7b

Counts
73 → 9

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

rewrite33.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 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
13.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
10.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
7.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)))))
282.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
175.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
67.0ms
(* (- (fma c b a)) (* c i))

simplify68.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0390870
11708708
25001674

prune323.0ms

Filtered
107 candidates to 66 candidates (61.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh167
Picked011
Done011
Total1079116

Merged error: 0.7b

Counts
116 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
0.3b
(* (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.0b
(* (- (fma c b a)) (* c i))

rewrite59.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:
15.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
11.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
18.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))

series786.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
262.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
285.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))

simplify74.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04501294
121391008
25003961

prune426.0ms

Filtered
136 candidates to 82 candidates (60.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh156
Picked101
Done022
Total1378145

Merged error: 0.7b

Counts
145 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (fma x y (* z t)) (* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
0.3b
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
0.3b
(* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
6.0b
(* (- (fma c b a)) (* c i))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
56×add-exp-log
43×associate-*l*
39×prod-exp
32×add-cbrt-cube
27×sqrt-prod
19×cbrt-unprod
18×pow1
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod pow-prod-down
expm1-log1p-u pow-to-exp pow-exp 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
cube-mult neg-mul-1 unpow3 fma-udef sqr-pow
Counts
4 → 120
Calls
4 calls:
1.0ms
(fma 2.0 (fma x y (* z t)) (* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
10.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
16.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
6.0ms
(* (- (fma c b a)) (* c i))

series1.7s

Counts
4 → 12
Calls
4 calls:
1.1s
(fma 2.0 (fma x y (* z t)) (* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))))
251.0ms
(* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i)))
276.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (* (sqrt (sqrt 2.0)) (* (- (fma c b a)) (* c i))))
62.0ms
(* (- (fma c b a)) (* c i))

simplify90.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
04811304
123961071
25001986

prune413.0ms

Filtered
132 candidates to 78 candidates (59.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1302132
Fresh235
Picked011
Done022
Total1328140

Merged error: 0.3b

Counts
140 → 8

regimes859.0ms

Accuracy

31% (1.0b remaining)

Error of 1.3b against oracle of 0.2b and baseline of 1.7b

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05337
16537
28637
38937
48937

end0.0ms

sample1.4s

Algorithm
intervals
Results
719.0ms15190×body80valid