Details

Time bar (total: 3.7s)

sample23.0ms

Algorithm
intervals
Results
12.0ms268×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* a c) (* b d))
29.9b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 42
Calls
2 calls:
3.0ms
(+ (* a c) (* b d))
8.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series117.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(+ (* a c) (* b d))
82.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify87.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0231450
1847413
22837412
35001412

prune137.0ms

Filtered
48 candidates to 38 candidates (79.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New381048
Fresh000
Picked101
Done000
Total391049

Merged error: 29.5b

Counts
49 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d)))) (sqrt (+ (* c c) (* d d))))
16.6b
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
33.4b
(sqrt (+ (* c c) (* d d)))
33.4b
(sqrt (+ (* c c) (* d d)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
288×times-frac
164×add-sqr-sqrt
162×add-cube-cbrt *-un-lft-identity
156×sqrt-prod
27×associate-/l*
22×sqrt-div
18×associate-/r/
12×flip3-+ associate-/r* flip-+
11×add-exp-log add-cbrt-cube
div-inv
pow1
cbrt-undiv div-exp add-log-exp
associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 264
Calls
4 calls:
19.0ms
(/ (/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d)))) (sqrt (+ (* c c) (* d d))))
9.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
3.0ms
(sqrt (+ (* c c) (* d d)))
3.0ms
(sqrt (+ (* c c) (* d d)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d)))) (sqrt (+ (* c c) (* d d))))
107.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
40.0ms
(sqrt (+ (* c c) (* d d)))
36.0ms
(sqrt (+ (* c c) (* d d)))

simplify89.0ms

Algorithm
egg-herbie
Counts
276 → 276
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
07145680
125165201
250015144

prune518.0ms

Filtered
276 candidates to 145 candidates (52.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2697276
Fresh459
Picked011
Done000
Total27313286

Merged error: 28.3b

Counts
286 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

13.8b
(* (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (/ (+ (* a c) (* b d)) (cbrt (+ (* c c) (* d d)))))
34.4b
(cbrt (+ (* c c) (* d d)))
34.4b
(cbrt (+ (* c c) (* d d)))
34.4b
(cbrt (+ (* c c) (* d d)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
43×add-sqr-sqrt
33×times-frac
25×*-un-lft-identity
24×associate-*r*
22×add-cube-cbrt
21×cbrt-prod
20×cbrt-div prod-exp
18×add-cbrt-cube
15×div-exp associate-*l*
10×flip3-+ associate-/r/ flip-+
unswap-sqr
cbrt-unprod
cbrt-undiv
pow1
frac-times
rec-exp 1-exp add-log-exp
pow1/3 associate-*r/ associate-*l/
div-inv
pow-prod-down *-commutative
Counts
4 → 119
Calls
4 calls:
29.0ms
(* (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (/ (+ (* a c) (* b d)) (cbrt (+ (* c c) (* d d)))))
3.0ms
(cbrt (+ (* c c) (* d d)))
7.0ms
(cbrt (+ (* c c) (* d d)))
3.0ms
(cbrt (+ (* c c) (* d d)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (/ (+ (* a c) (* b d)) (cbrt (+ (* c c) (* d d)))))
99.0ms
(cbrt (+ (* c c) (* d d)))
98.0ms
(cbrt (+ (* c c) (* d d)))
101.0ms
(cbrt (+ (* c c) (* d d)))

simplify85.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06142237
132631929
250011759

prune355.0ms

Filtered
131 candidates to 93 candidates (71.0%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh01111
Picked011
Done011
Total13113144

Merged error: 28.3b

Counts
144 → 13

localize27.0ms

Local error

Found 4 expressions with local error:

33.4b
(sqrt (+ (* c c) (* d d)))
33.4b
(sqrt (+ (* c c) (* d d)))
34.4b
(cbrt (+ (* c c) (* d d)))
34.4b
(cbrt (+ (* c c) (* d d)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
4.0ms
(sqrt (+ (* c c) (* d d)))
3.0ms
(sqrt (+ (* c c) (* d d)))
3.0ms
(cbrt (+ (* c c) (* d d)))
3.0ms
(cbrt (+ (* c c) (* d d)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (+ (* c c) (* d d)))
36.0ms
(sqrt (+ (* c c) (* d d)))
95.0ms
(cbrt (+ (* c c) (* d d)))
97.0ms
(cbrt (+ (* c c) (* d d)))

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0141444
1440420
21470416
35001414

prune303.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh01010
Picked011
Done022
Total681381

Merged error: 28.3b

Counts
81 → 13

regimes198.0ms

Accuracy

0% (2.8b remaining)

Error of 26.3b against oracle of 23.4b and baseline of 26.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample610.0ms

Algorithm
intervals
Results
382.0ms8455×body80valid

Profiling

Loading profile data...