Details

Time bar (total: 8.7s)

sample54.0ms

Algorithm
intervals
Results
26.0ms503×body80valid

simplify132.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
18×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
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
distribute-lft-neg-out associate-*r* *-commutative fma-udef
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 72
Calls
4 calls:
17.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
0.0ms
(fma x y (* z t))
0.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
8.0ms
(* (- (fma c b a)) (* c i))

series954.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
50.0ms
(fma x y (* z t))
767.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))

simplify57.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0284526
11170437
25002427

prune352.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

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

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

series909.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
762.0ms
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
67.0ms
(* (- (fma c b a)) (* c i))

simplify58.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0270485
11119401
25001391

prune283.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.3b

localize18.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))

rewrite85.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)))))
177.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
284.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
67.0ms
(* (- (fma c b a)) (* c i))

simplify77.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0390870
11708708
25001674

prune438.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

localize21.0ms

Local error

Found 4 expressions with local error:

5.2b
(* (- (fma c b a)) (* c i))
9.9b
(cbrt (* (- (fma c b a)) (* c i)))
9.9b
(cbrt (* (- (fma c b a)) (* c i)))
9.9b
(cbrt (* (- (fma c b a)) (* c i)))

rewrite28.0ms

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

series767.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (- (fma c b a)) (* c i))
230.0ms
(cbrt (* (- (fma c b a)) (* c i)))
232.0ms
(cbrt (* (- (fma c b a)) (* c i)))
232.0ms
(cbrt (* (- (fma c b a)) (* c i)))

simplify141.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0253495
1882441
24363417
35001417

prune402.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

regimes663.0ms

Accuracy

10.6% (0.8b remaining)

Error of 1.8b against oracle of 1.0b and baseline of 1.9b

bsearch99.0ms

Steps
ItersRangePoint
9
-4.185308562060994e-18
-5.683222215330641e-23
-4.130648500261893e-18

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03516
15116
27116
37316
47316

end0.0ms

sample1.4s

Algorithm
intervals
Results
728.0ms15297×body80valid