Details

Time bar (total: 2.5s)

sample19.0ms

Algorithm
intervals
Results
9.0ms381×body80valid

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

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.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:
11.0ms
(+ (+ (* x y) (* z z)) (* z z))
2.0ms
(+ (* x y) (* z z))
45.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series131.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ (+ (* x y) (* z z)) (* z z))
35.0ms
(+ (* x y) (* z z))
49.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify123.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune112.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in
Counts
2 → 30
Calls
2 calls:
2.0ms
(+ (* x y) (* z z))
12.0ms
(+ (+ (* x y) (* z z)) (* z (+ z z)))

series83.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(+ (* x y) (* z z))
48.0ms
(+ (+ (* x y) (* z z)) (* z (+ z z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0273338
11324281
25002254

prune91.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
2.0ms
(+ (* x y) (* (* 3 z) z))
6.0ms
(* (* 3 z) z)

series71.0ms

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

simplify171.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (167.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune89.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 3 z) z)
0.4b
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
18.0b
(sqrt (* (* 3 z) z))
18.0b
(sqrt (* (* 3 z) z))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
associate-*l*
swap-sqr prod-exp cbrt-unprod add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 108
Calls
4 calls:
7.0ms
(* (* 3 z) z)
47.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
5.0ms
(sqrt (* (* 3 z) z))
5.0ms
(sqrt (* (* 3 z) z))

series173.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 3 z) z)
73.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
40.0ms
(sqrt (* (* 3 z) z))
35.0ms
(sqrt (* (* 3 z) z))

simplify45.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0178365
1984307
25002269

prune185.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes161.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
280.0ms12147×body80valid