Details

Time bar (total: 10.3s)

sample90.0ms

Algorithm
intervals
Results
62.0ms495×body80valid

simplify104.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.3b

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

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

series906.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma x y (* z t))
63.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
739.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
58.0ms
(* (- (fma c b a)) (* c i))

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0284526
11170437
25002427

prune324.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

series885.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0282526
11164437
25001427

prune318.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.0b

localize17.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) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
0.4b
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
4.9b
(* (- (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 t z (* x y)) (* (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.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)))))
273.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
168.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
59.0ms
(* (- (fma c b a)) (* c i))

simplify61.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0390870
11706708
25001674

prune400.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 1.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite246.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:
55.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
154.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
23.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
8.0ms
(* (- (fma c b a)) (* c i))

series985.0ms

Counts
4 → 12
Calls
4 calls:
460.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
286.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
173.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
65.0ms
(* (- (fma c b a)) (* c i))

simplify98.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
04591297
121971030
25003975

prune544.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 1.0b

regimes869.0ms

Accuracy

0% (1.2b remaining)

Error of 2.0b against oracle of 0.8b and baseline of 2.0b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02915
13715
25515
36615
46815
56815

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.9s15237×body80valid