Details

Time bar (total: 2.3s)

analyze273.0ms

Algorithm
search

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
0.0ms12×body80invalid

simplify275.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
1131854
1250034

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

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ (* 3 (* z z)) (* x y))
5.0ms
(* 3 (* z z))

series10.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0166163
1617147
22424143
35003143

prune50.0ms

Filtered
23 candidates to 36 candidates (-56.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New33336
Fresh011
Picked101
Done000
Total34438

Merged error: 0b

Counts
38 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 z) z) (* x y))
0.1b
(* (* 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:
4.0ms
(+ (* (* 3 z) z) (* x y))
4.0ms
(* (* 3 z) z)

series10.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0175161
1815145
24087142
35001141

prune39.0ms

Filtered
20 candidates to 35 candidates (-75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New35035
Fresh033
Picked011
Done000
Total35439

Merged error: 0b

Counts
39 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ *-un-lft-identity flip3-+ add-cbrt-cube flip-+
Counts
2 → 27
Calls
2 calls:
5.0ms
(+ (+ (* x y) (* z z)) (* z z))
8.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series22.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0165282
1771246
23528225
35001214

prune36.0ms

Filtered
23 candidates to 33 candidates (-43.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New33033
Fresh022
Picked011
Done011
Total33437

Merged error: 0b

Counts
37 → 4

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))))
20.3b
(sqrt (* 3 (* z z)))
20.3b
(sqrt (* 3 (* z z)))

rewrite29.0ms

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

series19.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0169344
1783285
25001269

prune92.0ms

Filtered
55 candidates to 121 candidates (-120.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1210121
Fresh011
Picked011
Done022
Total1214125

Merged error: 0b

Counts
125 → 4

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

analyze282.0ms

Algorithm
search

sample420.0ms

Algorithm
intervals
Results
241.0ms8000×body80valid
13.0ms458×body80invalid

Profiling

Loading profile data...