Details

Time bar (total: 8.7s)

sample50.0ms

Algorithm
intervals
Results
25.0ms491×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

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

rewrite30.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:
20.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))))
9.0ms
(* (- (fma c b a)) (* c i))

series775.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
651.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
55.0ms
(* (- (fma c b a)) (* c i))

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0270485
11123401
25001391

prune252.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

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

rewrite87.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)))))
20.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
55.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
9.0ms
(* (- (fma c b a)) (* c i))

series1.5s

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

simplify69.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0390870
11708708
25001674

prune374.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite251.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:
157.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
59.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))

series910.0ms

Counts
4 → 12
Calls
4 calls:
268.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
421.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
164.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
56.0ms
(* (- (fma c b a)) (* c i))

simplify73.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04591297
121971030
25003975

prune505.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

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

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1 add-exp-log add-cbrt-cube
41×pow-prod-down prod-exp cbrt-unprod
25×associate-*l*
22×sqrt-prod
19×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
13×associate-*r*
distribute-rgt-neg-out
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in
distribute-neg-in fma-udef unswap-sqr
distribute-rgt-in neg-mul-1 distribute-lft-in
Counts
4 → 134
Calls
4 calls:
50.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i)))
145.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i))))
8.0ms
(* (sqrt 2.0) (- (fma c b a)))
16.0ms
(* (* (sqrt 2.0) (- (fma c b a))) (* c i))

series1.0s

Counts
4 → 12
Calls
4 calls:
432.0ms
(* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i)))
272.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (* (sqrt 2.0) (- (fma c b a))) (* c i))))
142.0ms
(* (sqrt 2.0) (- (fma c b a)))
182.0ms
(* (* (sqrt 2.0) (- (fma c b a))) (* c i))

simplify99.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
05161423
126181119
250011057

prune463.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes487.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13715
24915
36615
46815
56815

end0.0ms

sample1.3s

Algorithm
intervals
Results
709.0ms15150×body80valid