Details

Time bar (total: 2.2s)

sample28.0ms

Algorithm
intervals
Results
11.0ms386×body80valid

simplify274.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

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

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

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

rewrite17.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:
5.0ms
(+ (+ (* x y) (* z z)) (* z z))
3.0ms
(+ (* x y) (* z z))
8.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series36.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (+ (* x y) (* z z)) (* z z))
10.0ms
(+ (* x y) (* z z))
14.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify127.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune73.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New39847
Fresh000
Picked101
Done000
Total40848

Merged error: 0.0b

Counts
48 → 8

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

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

series24.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(+ (* x y) (* z (+ z z)))
11.0ms
(+ (+ (* x y) (* z (+ z z))) (* z z))

simplify123.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0187237
1821220
23919210
35002206

prune41.0ms

Filtered
22 candidates to 32 candidates (-45.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New28432
Fresh707
Picked011
Done000
Total35540

Merged error: 0.0b

Counts
40 → 5

localize6.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:
3.0ms
(+ (* x y) (* (* 3 z) z))
7.0ms
(* (* 3 z) z)

series14.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune48.0ms

Filtered
22 candidates to 35 candidates (-59.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New31435
Fresh303
Picked011
Done011
Total34640

Merged error: 0.0b

Counts
40 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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)
11.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
3.0ms
(sqrt (* (* 3 z) z))
4.0ms
(sqrt (* (* 3 z) z))

series17.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3 z) z)
7.0ms
(* (sqrt (* (* 3 z) z)) (sqrt (* (* 3 z) z)))
3.0ms
(sqrt (* (* 3 z) z))
4.0ms
(sqrt (* (* 3 z) z))

simplify45.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0178365
1984307
25002269

prune93.0ms

Filtered
50 candidates to 120 candidates (-140.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1182120
Fresh213
Picked011
Done022
Total1206126

Merged error: 0.0b

Counts
126 → 6

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

sample782.0ms

Algorithm
intervals
Results
353.0ms12057×body80valid

Profiling

Loading profile data...