Details

Time bar (total: 11.4s)

sample51.0ms

Algorithm
intervals
Results
24.0ms475×body80valid

simplify105.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: 1.4b

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

rewrite27.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))))
8.0ms
(* (- (fma c b a)) (* c i))

series844.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
703.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
63.0ms
(* (- (fma c b a)) (* c i))

simplify50.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0270485
11123401
25001391

prune300.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.0b

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

rewrite84.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)))))
53.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
19.0ms
(* (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)))))
305.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
181.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
69.0ms
(* (- (fma c b a)) (* c i))

simplify72.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0390870
11708708
25001674

prune445.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
0.4b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
5.2b
(* (- (fma c b a)) (* c i))

rewrite237.0ms

Algorithm
rewrite-expression-head
Rules
52×pow1 add-exp-log add-cbrt-cube
34×associate-*l* pow-prod-down prod-exp cbrt-unprod
21×sqrt-prod
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-rgt-neg-out
distribute-lft-neg-out expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
neg-mul-1
Counts
4 → 124
Calls
4 calls:
152.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
53.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
19.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
8.0ms
(* (- (fma c b a)) (* c i))

series1.1s

Counts
4 → 12
Calls
4 calls:
314.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
504.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
190.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
71.0ms
(* (- (fma c b a)) (* c i))

simplify82.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
04591297
121971030
25003975

prune589.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 1.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (fma x y (* z t)) (* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i)))))
0.3b
(* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))))
0.4b
(* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a)))
5.2b
(* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))

rewrite248.0ms

Algorithm
rewrite-expression-head
Rules
78×add-exp-log
58×prod-exp
43×add-cbrt-cube
34×associate-*l*
33×sqrt-prod
32×add-sqr-sqrt
28×cbrt-unprod
23×pow1
17×add-cube-cbrt *-un-lft-identity
13×pow-prod-down
12×unpow-prod-down cube-prod associate-*r*
unswap-sqr
pow-to-exp pow-exp distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in *-commutative fma-udef
distribute-lft-neg-out distribute-neg-in sqr-pow
distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3
Counts
4 → 137
Calls
4 calls:
0.0ms
(fma 2.0 (fma x y (* z t)) (* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i)))))
194.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))))
19.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a)))
28.0ms
(* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))

series2.6s

Counts
4 → 12
Calls
4 calls:
1.2s
(fma 2.0 (fma x y (* z t)) (* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i)))))
303.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 1) (* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))))
596.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a)))
509.0ms
(* (* (pow (sqrt (sqrt 2.0)) 3) (- (fma c b a))) (* c i))

simplify150.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (124.0ms)

IterNodesCost
06271776
132471536
250011466

prune613.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.5b

regimes633.0ms

Accuracy

0% (1.6b remaining)

Error of 1.9b against oracle of 0.3b and baseline of 1.9b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03516
14316
25516
37216
47516
57516

end0.0ms

sample1.4s

Algorithm
intervals
Results
733.0ms15371×body80valid