Details

Time bar (total: 2.7s)

sample22.0ms

Algorithm
intervals
Results
10.0ms390×body80valid

simplify314.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

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

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

rewrite20.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:
6.0ms
(+ (+ (* x y) (* z z)) (* z z))
4.0ms
(+ (* x y) (* z z))
9.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series166.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(+ (+ (* x y) (* z z)) (* z z))
46.0ms
(+ (* x y) (* z z))
58.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify142.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune105.0ms

Filtered
47 candidates to 34 candidates (72.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New41647
Fresh011
Picked101
Done000
Total42749

Merged error: 0.0b

Counts
49 → 7

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series123.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(+ (* x y) (* z (+ z z)))
58.0ms
(+ (+ (* x y) (* z (+ z z))) (* z z))

simplify155.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
0187237
1821220
23919210
35002206

prune79.0ms

Filtered
32 candidates to 23 candidates (71.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh606
Picked011
Done000
Total34539

Merged error: 0.0b

Counts
39 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series92.0ms

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

simplify163.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (159.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune70.0ms

Filtered
35 candidates to 22 candidates (62.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New32335
Fresh123
Picked011
Done101
Total34640

Merged error: 0.0b

Counts
40 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3 z) z)
0.3b
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
20.9b
(sqrt (* (* 3 z) z))
20.9b
(sqrt (* (* 3 z) z))

rewrite33.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:
5.0ms
(* (* 3 z) z)
13.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
4.0ms
(sqrt (* (* 3 z) z))
4.0ms
(sqrt (* (* 3 z) z))

series201.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* 3 z) z)
84.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
41.0ms
(sqrt (* (* 3 z) z))
46.0ms
(sqrt (* (* 3 z) z))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0178365
1984307
25002269

prune170.0ms

Filtered
120 candidates to 52 candidates (43.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1182120
Fresh134
Picked011
Done011
Total1197126

Merged error: 0b

Counts
126 → 7

regimes124.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1124

end0.0ms

sample566.0ms

Algorithm
intervals
Results
315.0ms12142×body80valid