Details

Time bar (total: 2.5s)

sample47.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
11.0ms255×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03712
13712

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: 22.6b

Counts
2 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
0.8b
(+ (* x y) (* z (+ x y)))
21.4b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+r+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
5.0ms
(* z (+ x y))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series47.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(* z (+ x y))
7.0ms
(+ (* x y) (* z (+ x y)))
32.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify28.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
04982621
14982621

prune98.0ms

Filtered
43 candidates to 60 candidates (-39.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New52860
Fresh101
Picked101
Done000
Total54862

Merged error: 22.5b

Counts
62 → 8

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
0.6b
(+ (* x (+ y z)) (* z y))
21.4b
(sqrt (+ (* x (+ y z)) (* z y)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
5.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* z y))
8.0ms
(sqrt (+ (* x (+ y z)) (* z y)))

series45.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* x (+ y z))
7.0ms
(+ (* x (+ y z)) (* z y))
32.0ms
(sqrt (+ (* x (+ y z)) (* z y)))

simplify30.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
05352617

prune93.0ms

Filtered
45 candidates to 60 candidates (-33.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh167
Picked011
Done000
Total60868

Merged error: 22.5b

Counts
68 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (* x y) (* z (+ x y)))
0.8b
(+ (* x y) (* z (+ x y)))
21.4b
(sqrt (+ (* x y) (* z (+ x y))))
21.4b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+r+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
4.0ms
(+ (* x y) (* z (+ x y)))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* x y) (* z (+ x y)))
7.0ms
(+ (* x y) (* z (+ x y)))
34.0ms
(sqrt (+ (* x y) (* z (+ x y))))
32.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify39.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04989916
14989916

prune100.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh066
Picked011
Done011
Total68876

Merged error: 22.5b

Counts
76 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ y z))
0.5b
(* (cbrt (+ y z)) (cbrt (+ y z)))
0.6b
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y))
21.4b
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
28×cbrt-prod
23×add-sqr-sqrt
14×add-cube-cbrt cbrt-div
12×pow1
flip3-+ swap-sqr flip-+
pow1/3 associate-*r* associate-*l* distribute-lft-out
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
sqrt-prod
sqrt-div associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
+-commutative pow2 rem-sqrt-square sqrt-pow1 pow-plus pow1/2 prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
3.0ms
(cbrt (+ y z))
9.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
17.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y))
17.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (+ y z))
38.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
12.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y))
39.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* z y)))

simplify37.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
057881183

prune114.0ms

Filtered
74 candidates to 105 candidates (-41.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh055
Picked101
Done022
Total1058113

Merged error: 22.4b

Counts
113 → 8

regimes198.0ms

Accuracy

0% (0.2b remaining)

Error of 19.9b against oracle of 19.6b and baseline of 19.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01512
11512

end0.0ms

sample1.3s

Algorithm
intervals
Results
364.0ms8206×body80nan
361.0ms8000×body80valid

Profiling

Loading profile data...