Details

Time bar (total: 8.1s)

sample54.0ms

Algorithm
intervals
Results
20.0ms509×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.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:
0.0ms
(fma x y (* z t))
44.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))))
19.0ms
(* (- (fma c b a)) (* c i))

series843.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(fma x y (* z t))
73.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
670.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
61.0ms
(* (- (fma c b a)) (* c i))

simplify45.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0284526
11170437
25002427

prune283.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.6b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.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:
0.0ms
(fma t z (* x y))
41.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))))
22.0ms
(* (- (fma c b a)) (* c i))

series861.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(fma t z (* x y))
73.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
683.0ms
(fma 2.0 (fma t z (* x y)) (* 2.0 (* (- (fma c b a)) (* c i))))
64.0ms
(* (- (fma c b a)) (* c i))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0282526
11164437
25001427

prune291.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite188.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 t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
46.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
120.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
19.0ms
(* (- (fma c b a)) (* c i))

series1.5s

Counts
4 → 12
Calls
4 calls:
1.0s
(fma 2.0 (fma t z (* x y)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
164.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
258.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
62.0ms
(* (- (fma c b a)) (* c i))

simplify57.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0390870
11706708
25001674

prune363.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.6b

localize19.0ms

Local error

Found 4 expressions with local error:

3.7b
(* (- (fma c b a)) (* c i))
10.2b
(cbrt (* (- (fma c b a)) (* c i)))
10.2b
(cbrt (* (- (fma c b a)) (* c i)))
10.2b
(cbrt (* (- (fma c b a)) (* c i)))

rewrite56.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:
22.0ms
(* (- (fma c b a)) (* c i))
11.0ms
(cbrt (* (- (fma c b a)) (* c i)))
11.0ms
(cbrt (* (- (fma c b a)) (* c i)))
11.0ms
(cbrt (* (- (fma c b a)) (* c i)))

series696.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (- (fma c b a)) (* c i))
208.0ms
(cbrt (* (- (fma c b a)) (* c i)))
208.0ms
(cbrt (* (- (fma c b a)) (* c i)))
216.0ms
(cbrt (* (- (fma c b a)) (* c i)))

simplify113.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0253495
1882441
24363417
35001417

prune345.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.6b

regimes515.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
644.0ms15166×body80valid