Details

Time bar (total: 6.8s)

sample50.0ms

Algorithm
intervals
Results
23.0ms479×body80valid

simplify102.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.1b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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
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 neg-mul-1 associate-*r* *-commutative fma-udef
Counts
2 → 38
Calls
2 calls:
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))

series767.0ms

Counts
2 → 6
Calls
2 calls:
705.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
62.0ms
(* (- (fma c b a)) (* c i))

simplify122.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0202293
1771251
24196245
35001242

prune184.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.6b

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series715.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (- (fma c b a)) (* c i))
222.0ms
(cbrt (* (- (fma c b a)) (* c i)))
218.0ms
(cbrt (* (- (fma c b a)) (* c i)))
215.0ms
(cbrt (* (- (fma c b a)) (* c i)))

simplify121.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0253495
1882441
24363417
35001417

prune400.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.6b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (* (- (fma c b a)) c) i)))
0.1b
(* (- (fma c b a)) c)
11.2b
(* (* (- (fma c b a)) c) i)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*l*
10×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r*
pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-out distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u add-log-exp
*-commutative
neg-mul-1 fma-udef unswap-sqr
Counts
3 → 59
Calls
3 calls:
0.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (* (- (fma c b a)) c) i)))
6.0ms
(* (- (fma c b a)) c)
9.0ms
(* (* (- (fma c b a)) c) i)

series797.0ms

Counts
3 → 9
Calls
3 calls:
699.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (* (- (fma c b a)) c) i)))
34.0ms
(* (- (fma c b a)) c)
64.0ms
(* (* (- (fma c b a)) c) i)

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0244392
11116336
25001328

prune272.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.6b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
0.6b
(cbrt c)
0.6b
(cbrt c)
11.2b
(* (* (* (- (fma c b a)) (* (cbrt c) (cbrt c))) (cbrt c)) i)

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
13×add-cbrt-cube
10×pow-prod-down prod-exp cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out pow1/3 associate-*r*
associate-*l* *-commutative
Counts
4 → 66
Calls
4 calls:
1.0ms
(cbrt c)
1.0ms
(cbrt c)
1.0ms
(cbrt c)
147.0ms
(* (* (* (- (fma c b a)) (* (cbrt c) (cbrt c))) (cbrt c)) i)

series678.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(cbrt c)
197.0ms
(cbrt c)
190.0ms
(cbrt c)
99.0ms
(* (* (* (- (fma c b a)) (* (cbrt c) (cbrt c))) (cbrt c)) i)

simplify50.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0254460
11318359
25002317

prune352.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 0.6b

regimes492.0ms

Accuracy

0% (1.1b remaining)

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

Algorithm
intervals
Results
708.0ms15106×body80valid