Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
Results
10.0ms402×body80valid

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

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite66.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:
10.0ms
(+ (+ (* x y) (* z z)) (* z z))
2.0ms
(+ (* x y) (* z z))
52.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series127.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune105.0ms

Pruning

6 alts after pruning (6 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)))

rewrite17.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))
14.0ms
(+ (+ (* x y) (* z z)) (* z (+ z z)))

series83.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (* x y) (* z z))
46.0ms
(+ (+ (* x y) (* z z)) (* z (+ z z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0273338
11324281
25002254

prune88.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series70.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune65.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3 z) z)
0.4b
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
21.7b
(sqrt (* (* 3 z) z))
21.7b
(sqrt (* (* 3 z) z))

rewrite55.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:
6.0ms
(* (* 3 z) z)
35.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
5.0ms
(sqrt (* (* 3 z) z))
5.0ms
(sqrt (* (* 3 z) z))

series163.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* 3 z) z)
66.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
32.0ms
(sqrt (* (* 3 z) z))
36.0ms
(sqrt (* (* 3 z) z))

simplify42.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0178365
1984307
25002269

prune153.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes94.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
0136
1136

end0.0ms

sample547.0ms

Algorithm
intervals
Results
303.0ms12157×body80valid