Details

Time bar (total: 2.6s)

sample27.0ms

Algorithm
intervals
Results
17.0ms329×body80valid

simplify149.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0154
1323
2733
31503
42353
52773
63173
73713
85423
99743
1020153
1127363
1236063
1346763
1450013

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (- y x) (* 6.0 z) x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (- y x) (* 6.0 z) x)

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(fma (- y x) (* 6.0 z) x)

simplify57.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
04469
111059
234353
3168453
4500253

prune30.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* (* (- y x) 6.0) z))
0.0b
(* (- y x) 6.0)
0.4b
(* (* (- y x) 6.0) z)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-cube-cbrt
associate-*r* associate-*l* associate-*l/
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u fma-def log1p-expm1-u
flip3-- *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 62
Calls
3 calls:
2.0ms
(+ x (* (* (- y x) 6.0) z))
10.0ms
(* (- y x) 6.0)
15.0ms
(* (* (- y x) 6.0) z)

series114.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (* (* (- y x) 6.0) z))
29.0ms
(* (- y x) 6.0)
39.0ms
(* (* (- y x) 6.0) z)

simplify42.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0259314
11122267
25002265

prune129.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (* y y) (* x x)) 6.0)
0.4b
(* (/ (* (- (* y y) (* x x)) 6.0) (+ y x)) z)
3.1b
(- (* y y) (* x x))
24.0b
(/ (* (- (* y y) (* x x)) 6.0) (+ y x))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
17×*-un-lft-identity
15×add-sqr-sqrt
14×associate-*l*
11×add-cube-cbrt
pow1 times-frac
associate-*r* prod-exp cbrt-unprod add-log-exp
associate-*l/
cbrt-undiv expm1-log1p-u div-exp associate-/r* associate-/r/ log1p-expm1-u
flip3-- flip-- distribute-lft-out
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ difference-of-squares unswap-sqr
sub-neg frac-2neg fma-neg diff-log prod-diff clear-num associate-/l*
Counts
4 → 101
Calls
4 calls:
10.0ms
(* (- (* y y) (* x x)) 6.0)
22.0ms
(* (/ (* (- (* y y) (* x x)) 6.0) (+ y x)) z)
3.0ms
(- (* y y) (* x x))
12.0ms
(/ (* (- (* y y) (* x x)) 6.0) (+ y x))

series204.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- (* y y) (* x x)) 6.0)
67.0ms
(* (/ (* (- (* y y) (* x x)) 6.0) (+ y x)) z)
31.0ms
(- (* y y) (* x x))
63.0ms
(/ (* (- (* y y) (* x x)) 6.0) (+ y x))

simplify62.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0435798
12183668
25001662

prune247.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 6.0 (+ y x))
0.4b
(* (* (- (* y y) (* x x)) (/ 6.0 (+ y x))) z)
3.1b
(- (* y y) (* x x))
24.1b
(* (- (* y y) (* x x)) (/ 6.0 (+ y x)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt
21×associate-*r*
20×add-exp-log add-cbrt-cube
11×pow1
associate-*l/
prod-exp cbrt-unprod distribute-lft-out
add-log-exp
flip3-- associate-*l* flip--
expm1-log1p-u frac-times pow-prod-down associate-/r* associate-/r/ log1p-expm1-u
cbrt-undiv div-exp associate-/l*
flip3-+ associate-*r/ *-commutative flip-+ div-inv difference-of-squares unswap-sqr
sub-neg frac-2neg fma-neg diff-log prod-diff clear-num
Counts
4 → 123
Calls
4 calls:
5.0ms
(/ 6.0 (+ y x))
31.0ms
(* (* (- (* y y) (* x x)) (/ 6.0 (+ y x))) z)
3.0ms
(- (* y y) (* x x))
22.0ms
(* (- (* y y) (* x x)) (/ 6.0 (+ y x)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 6.0 (+ y x))
68.0ms
(* (* (- (* y y) (* x x)) (/ 6.0 (+ y x))) z)
31.0ms
(- (* y y) (* x x))
63.0ms
(* (- (* y y) (* x x)) (/ 6.0 (+ y x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0453923
12211800
25001784

prune274.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes60.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample679.0ms

Algorithm
intervals
Results
471.0ms10151×body80valid