Details

Time bar (total: 8.6s)

sample58.0ms

Algorithm
intervals
Results
23.0ms500×body80valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

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

rewrite72.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))
45.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))))
23.0ms
(* (- (fma c b a)) (* c i))

series916.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(fma x y (* z t))
78.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
728.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
67.0ms
(* (- (fma c b a)) (* c i))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0284526
11170437
25002427

prune323.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

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

rewrite70.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:
47.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))))
20.0ms
(* (- (fma c b a)) (* c i))

series863.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0270485
11119401
25001391

prune269.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.3b

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

rewrite202.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)))))
48.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
127.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
23.0ms
(* (- (fma c b a)) (* c i))

series1.6s

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

simplify64.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0390870
11706708
25001674

prune384.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.3b

localize28.0ms

Local error

Found 4 expressions with local error:

6.1b
(* (- (fma c b a)) (* c i))
12.1b
(cbrt (* (- (fma c b a)) (* c i)))
12.1b
(cbrt (* (- (fma c b a)) (* c i)))
12.1b
(cbrt (* (- (fma c b a)) (* c i)))

rewrite60.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:
20.0ms
(* (- (fma c b a)) (* c i))
12.0ms
(cbrt (* (- (fma c b a)) (* c i)))
12.0ms
(cbrt (* (- (fma c b a)) (* c i)))
12.0ms
(cbrt (* (- (fma c b a)) (* c i)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* (- (fma c b a)) (* c i))
232.0ms
(cbrt (* (- (fma c b a)) (* c i)))
233.0ms
(cbrt (* (- (fma c b a)) (* c i)))
235.0ms
(cbrt (* (- (fma c b a)) (* c i)))

simplify129.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0253495
1882441
24363417
35001417

prune401.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.3b

regimes530.0ms

Accuracy

0% (1.1b 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.6s

Algorithm
intervals
Results
651.0ms15194×body80valid