Details

Time bar (total: 8.3s)

sample54.0ms

Algorithm
intervals
Results
26.0ms491×body80valid

simplify118.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize17.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.4b
(* (- (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))

series935.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
782.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
72.0ms
(* (- (fma c b a)) (* c i))

simplify50.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0270485
11123401
25001391

prune284.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

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)))
5.4b
(* (- (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)))))
56.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
20.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
9.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)))))
305.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
178.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
70.0ms
(* (- (fma c b a)) (* c i))

simplify69.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0390870
11708708
25001674

prune432.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.5b

localize21.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i)))))
5.4b
(* (- (fma c b a)) (* c i))
5.4b
(* (- (fma c b a)) (* c i))
5.4b
(* (- (fma c b a)) (* c i))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
30×associate-*l*
19×pow1 add-exp-log add-cbrt-cube
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out cbrt-prod neg-mul-1 associate-*r* *-commutative
pow1/3
Counts
4 → 97
Calls
4 calls:
1.0ms
(cbrt (fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i)))))
8.0ms
(* (- (fma c b a)) (* c i))
13.0ms
(* (- (fma c b a)) (* c i))
9.0ms
(* (- (fma c b a)) (* c i))

series450.0ms

Counts
4 → 12
Calls
4 calls:
251.0ms
(cbrt (fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i)))))
68.0ms
(* (- (fma c b a)) (* c i))
68.0ms
(* (- (fma c b a)) (* c i))
62.0ms
(* (- (fma c b a)) (* c i))

simplify138.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0253694
1874612
24347590
35003588

prune774.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.5b

localize33.0ms

Local error

Found 4 expressions with local error:

5.4b
(* (- (fma c b a)) (* c i))
5.4b
(* (- (fma c b a)) (* c i))
5.4b
(* (- (fma c b a)) (* c i))
5.4b
(* (- (fma c b a)) (* c i))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*l*
24×pow1 add-exp-log add-cbrt-cube
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-out expm1-log1p-u neg-mul-1 associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
4 → 112
Calls
4 calls:
8.0ms
(* (- (fma c b a)) (* c i))
8.0ms
(* (- (fma c b a)) (* c i))
9.0ms
(* (- (fma c b a)) (* c i))
9.0ms
(* (- (fma c b a)) (* c i))

series274.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* (- (fma c b a)) (* c i))
71.0ms
(* (- (fma c b a)) (* c i))
63.0ms
(* (- (fma c b a)) (* c i))
71.0ms
(* (- (fma c b a)) (* c i))

simplify124.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0152648
1608564
23429540
35001540

prune643.0ms

Pruning

10 alts after pruning (6 fresh and 4 done)

Merged error: 0.5b

regimes571.0ms

Accuracy

0% (1.0b remaining)

Error of 1.8b against oracle of 0.8b 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.4s

Algorithm
intervals
Results
730.0ms15220×body80valid