Details

Time bar (total: 11.3s)

sample78.0ms

Algorithm
intervals
Results
47.0ms475×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0339
1879
22608
38728
424368
549578
650018

prune33.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.4b

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

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:
19.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))

series422.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(* 2.0 (* (- (fma c b a)) (* c i)))
382.0ms
(fma 2.0 (fma x y (* z t)) (* 2.0 (* (- (fma c b a)) (* c i))))
19.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

prune722.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.0b

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

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

series518.0ms

Counts
4 → 12
Calls
4 calls:
428.0ms
(fma 2.0 (fma x y (* z t)) (* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
41.0ms
(* (sqrt 2.0) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
28.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
20.0ms
(* (- (fma c b a)) (* c i))

simplify61.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0390870
11708708
25001674

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.0b

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

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

series135.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i)))))
45.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt 2.0) (* (- (fma c b a)) (* c i))))
27.0ms
(* (sqrt 2.0) (* (- (fma c b a)) (* c i)))
22.0ms
(* (- (fma c b a)) (* c i))

simplify77.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04591297
121971030
25003975

prune1.5s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 1.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
49×prod-exp
43×associate-*l*
32×add-cbrt-cube
27×sqrt-prod
19×cbrt-unprod
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
11×pow1
unpow-prod-down cube-prod
pow-to-exp pow-exp
expm1-log1p-u pow-prod-down 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
cube-mult neg-mul-1 unpow3 fma-udef sqr-pow
Counts
4 → 122
Calls
4 calls:
0.0ms
(fma 2.0 (fma x y (* z t)) (* (sqrt (sqrt 2.0)) (* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i)))))
63.0ms
(* (sqrt (sqrt 2.0)) (* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i))))
30.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i)))
9.0ms
(* (- (fma c b a)) (* c i))

series541.0ms

Counts
4 → 12
Calls
4 calls:
431.0ms
(fma 2.0 (fma x y (* z t)) (* (sqrt (sqrt 2.0)) (* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i)))))
39.0ms
(* (sqrt (sqrt 2.0)) (* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i))))
50.0ms
(* (pow (sqrt (sqrt 2.0)) 3) (* (- (fma c b a)) (* c i)))
20.0ms
(* (- (fma c b a)) (* c i))

simplify97.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
04931375
123791131
250021048

prune1.6s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.5b

regimes1.7s

Accuracy

0% (1.5b remaining)

Error of 1.8b against oracle of 0.2b and baseline of 1.8b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13715
25515
36615
46815
56815

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s15371×body80valid