Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
Results
9.0ms394×body80valid

simplify279.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0157
1256
2374
3474
4564
5894
61584
72084
82214
93164
106464
1131994
1250034

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* z z)) (* x y))
0.2b
(* 3 (* z z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
9.0ms
(+ (* 3 (* z z)) (* x y))
6.0ms
(* 3 (* z z))

series56.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (* 3 (* z z)) (* x y))
24.0ms
(* 3 (* z z))

simplify76.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0166163
1617147
22424143
35003143

prune69.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 z) z) (* x y))
0.2b
(* (* 3 z) z)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
6.0ms
(+ (* (* 3 z) z) (* x y))
6.0ms
(* (* 3 z) z)

series59.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* (* 3 z) z) (* x y))
23.0ms
(* (* 3 z) z)

simplify127.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0175161
1815145
24087142
35001141

prune61.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (* z z))
0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
2.0ms
(+ (* x y) (* z z))
11.0ms
(+ (+ (* x y) (* z z)) (* z z))
47.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series127.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x y) (* z z))
48.0ms
(+ (+ (* x y) (* z z)) (* z z))
45.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify145.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune101.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
0.3b
(* (cbrt 3) (* z z))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
29×pow1 add-exp-log
18×pow-prod-down prod-exp cbrt-unprod
17×add-cbrt-cube
add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-prod
associate-*r* *-commutative unswap-sqr
+-commutative flip3-+ sum-log flip-+
Counts
3 → 62
Calls
3 calls:
27.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
31.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
8.0ms
(* (cbrt 3) (* z z))

series223.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
89.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
52.0ms
(* (cbrt 3) (* z z))

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0265553
11032424
25002369

prune115.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes117.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample509.0ms

Algorithm
intervals
Results
282.0ms12311×body80valid