Details

Time bar (total: 3.5s)

sample20.0ms

Algorithm
intervals
Results
9.0ms389×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1324
2574
3634
4634

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
18×unswap-sqr
15×difference-of-squares
13×*-un-lft-identity
associate-*l*
distribute-lft-out--
swap-sqr *-commutative add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip--
Counts
1 → 33
Calls
1 calls:
22.0ms
(- (* x x) (* (* y 4.0) z))

series47.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(- (* x x) (* (* y 4.0) z))

simplify67.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0148286
1465276
21843276
35001276

prune33.0ms

Filtered
36 candidates to 16 candidates (55.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh000
Picked011
Done000
Total35237

Merged error: 0.0b

Counts
37 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) z))
0.2b
(* (sqrt (- (* x x) (* (* y 4.0) z))) (sqrt (- (* x x) (* (* y 4.0) z))))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
415×add-sqr-sqrt
258×sqrt-prod
254×*-un-lft-identity
198×associate-*l*
160×unswap-sqr
129×difference-of-squares
114×distribute-lft-out--
110×swap-sqr
28×*-commutative
27×associate-*r*
21×pow1
16×sqrt-div
14×add-cube-cbrt
10×sqrt-pow1 pow1/2
flip3-- flip--
add-exp-log add-cbrt-cube add-log-exp
pow-prod-up
frac-times
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
pow2 sub-neg pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt cbrt-unprod
Counts
4 → 279
Calls
4 calls:
23.0ms
(- (* x x) (* (* y 4.0) z))
64.0ms
(* (sqrt (- (* x x) (* (* y 4.0) z))) (sqrt (- (* x x) (* (* y 4.0) z))))
23.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
26.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* x x) (* (* y 4.0) z))
46.0ms
(* (sqrt (- (* x x) (* (* y 4.0) z))) (sqrt (- (* x x) (* (* y 4.0) z))))
73.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
75.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))

simplify72.0ms

Algorithm
egg-herbie
Counts
291 → 291
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03462466
112142366
250012338

prune288.0ms

Filtered
291 candidates to 107 candidates (63.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2892291
Fresh000
Picked011
Done011
Total2894293

Merged error: 0b

Counts
293 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))) (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
522×sqrt-prod
439×add-sqr-sqrt
259×*-un-lft-identity
201×associate-*l*
165×unswap-sqr
129×difference-of-squares
117×swap-sqr
114×distribute-lft-out--
35×sqrt-pow1
30×pow1 sqrt-div associate-*r*
28×*-commutative
19×add-cube-cbrt pow1/2
flip3-- pow-prod-up flip--
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
rem-sqrt-square
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt cbrt-unprod
Counts
4 → 308
Calls
4 calls:
72.0ms
(* (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))) (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))))
26.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
23.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
23.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))

series490.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(* (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))) (sqrt (sqrt (- (* x x) (* (* y 4.0) z)))))
262.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
75.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
78.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))

simplify82.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03843066
113032898
250012868

prune389.0ms

Filtered
320 candidates to 120 candidates (62.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3191320
Fresh101
Picked011
Done022
Total3204324

Merged error: 0b

Counts
324 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sqrt (- (* x x) (* (* y 4.0) z))) 3)
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))
2.8b
(sqrt (- (* x x) (* (* y 4.0) z)))
15.5b
(cbrt (pow (sqrt (- (* x x) (* (* y 4.0) z))) 3))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
194×add-sqr-sqrt
96×sqrt-prod
72×unswap-sqr
61×*-un-lft-identity
60×difference-of-squares
54×unpow-prod-down
36×associate-*l*
32×cbrt-prod
24×distribute-lft-out--
12×add-cube-cbrt swap-sqr *-commutative
pow1
add-exp-log add-cbrt-cube
pow-unpow sqrt-div add-log-exp
pow-pow sqrt-pow1 pow1/2
rem-sqrt-square flip3-- unpow3 flip-- rem-cbrt-cube sqr-pow
pow-to-exp pow1/3 pow-exp sqrt-pow2 rem-cube-cbrt
Counts
4 → 160
Calls
4 calls:
24.0ms
(pow (sqrt (- (* x x) (* (* y 4.0) z))) 3)
25.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
23.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
28.0ms
(cbrt (pow (sqrt (- (* x x) (* (* y 4.0) z))) 3))

series276.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(pow (sqrt (- (* x x) (* (* y 4.0) z))) 3)
76.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
76.0ms
(sqrt (- (* x x) (* (* y 4.0) z)))
76.0ms
(cbrt (pow (sqrt (- (* x x) (* (* y 4.0) z))) 3))

simplify59.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04061594
111921498
250011487

prune260.0ms

Filtered
172 candidates to 84 candidates (51.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1720172
Fresh000
Picked011
Done033
Total1724176

Merged error: 0b

Counts
176 → 4

regimes135.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample531.0ms

Algorithm
intervals
Results
282.0ms12223×body80valid