Details

Time bar (total: 2.4s)

sample29.0ms

Algorithm
intervals
Results
11.0ms380×body80valid

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

prune10.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.1b
(* 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))

simplify77.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0166163
1617147
22424143
35003143

prune79.0ms

Filtered
36 candidates to 23 candidates (36.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh011
Picked101
Done000
Total33538

Merged error: 0b

Counts
38 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

simplify130.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0175161
1815145
24087142
35001141

prune64.0ms

Filtered
35 candidates to 21 candidates (40.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34135
Fresh134
Picked011
Done000
Total35540

Merged error: 0b

Counts
40 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

series34.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune107.0ms

Filtered
47 candidates to 34 candidates (27.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New47047
Fresh033
Picked011
Done011
Total47552

Merged error: 0b

Counts
52 → 5

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (sqrt 3) z) (* (sqrt 3) z)) (* x y))
0.3b
(* (* (sqrt 3) z) (* (sqrt 3) z))
0.4b
(* (sqrt 3) z)
0.4b
(* (sqrt 3) z)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
20×add-exp-log add-cbrt-cube
19×pow-prod-down
18×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
sqrt-prod
associate-*r*
add-log-exp
pow-sqr pow-prod-up unswap-sqr
*-commutative
pow-plus
+-commutative pow2 flip3-+ swap-sqr sum-log flip-+
Counts
4 → 89
Calls
4 calls:
8.0ms
(+ (* (* (sqrt 3) z) (* (sqrt 3) z)) (* x y))
10.0ms
(* (* (sqrt 3) z) (* (sqrt 3) z))
4.0ms
(* (sqrt 3) z)
5.0ms
(* (sqrt 3) z)

series25.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* (* (sqrt 3) z) (* (sqrt 3) z)) (* x y))
6.0ms
(* (* (sqrt 3) z) (* (sqrt 3) z))
4.0ms
(* (sqrt 3) z)
4.0ms
(* (sqrt 3) z)

simplify42.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0212450
11017367
25002365

prune184.0ms

Filtered
101 candidates to 53 candidates (47.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1010101
Fresh022
Picked011
Done022
Total1015106

Merged error: 0b

Counts
106 → 5

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

sample755.0ms

Algorithm
intervals
Results
364.0ms12343×body80valid

Profiling

Loading profile data...