Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
11.0ms391×body80valid

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

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

series32.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune66.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New41647
Fresh011
Picked101
Done000
Total42749

Merged error: 0.0b

Counts
49 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series20.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0273338
11324281
25002254

prune52.0ms

Filtered
27 candidates to 36 candidates (-33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New33336
Fresh516
Picked101
Done000
Total39443

Merged error: 0b

Counts
43 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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))
4.0ms
(* (* 3 z) z)

series15.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune44.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New35035
Fresh033
Picked011
Done000
Total35439

Merged error: 0b

Counts
39 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))) (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))))
3.3b
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
3.3b
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
3.3b
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
102×cbrt-div
85×flip3-+ flip-+
74×associate-*r/
68×frac-add
36×frac-times
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l* associate-*l/
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 139
Calls
4 calls:
15.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))) (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))))
5.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
5.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
5.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))

series165.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))) (cbrt (+ (+ (* x y) (* z z)) (* z (+ z z)))))
41.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
38.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))
38.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z (+ z z))))

simplify106.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05174532
118124021
250023916

prune152.0ms

Filtered
103 candidates to 151 candidates (-46.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh022
Picked011
Done011
Total1514155

Merged error: 0b

Counts
155 → 4

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

sample745.0ms

Algorithm
intervals
Results
348.0ms12109×body80valid

Profiling

Loading profile data...