Details

Time bar (total: 3.2s)

sample23.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 29.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.2b
(+ (* a c) (* b d))
29.3b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite16.0ms

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

series142.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* c c) (* d d))
33.0ms
(+ (* a c) (* b d))
80.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify135.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0272527
11164479
24451477
35003477

prune162.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863

Merged error: 28.9b

Counts
63 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* a c) (* b d))
18.8b
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
32.7b
(sqrt (+ (* c c) (* d d)))
32.7b
(sqrt (+ (* c c) (* d d)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* a c) (* b d))
9.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
3.0ms
(sqrt (+ (* c c) (* d d)))
4.0ms
(sqrt (+ (* c c) (* d d)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* a c) (* b d))
104.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
37.0ms
(sqrt (+ (* c c) (* d d)))
35.0ms
(sqrt (+ (* c c) (* d d)))

simplify86.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0273893
1868840
22693828
35001828

prune241.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New91596
Fresh336
Picked011
Done101
Total959104

Merged error: 27.0b

Counts
104 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

13.0b
(/ (+ (* a c) (* b d)) (fabs (cbrt (+ (* c c) (* d d)))))
32.7b
(sqrt (+ (* c c) (* d d)))
33.8b
(cbrt (+ (* c c) (* d d)))
33.8b
(cbrt (+ (* c c) (* d d)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log cbrt-prod add-cbrt-cube
pow1
cbrt-div flip3-+ flip-+ add-log-exp
associate-/r* sqrt-prod associate-/l*
pow1/3 sqrt-div associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 70
Calls
4 calls:
6.0ms
(/ (+ (* a c) (* b d)) (fabs (cbrt (+ (* 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)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (* a c) (* b d)) (fabs (cbrt (+ (* c c) (* d d)))))
35.0ms
(sqrt (+ (* c c) (* d d)))
90.0ms
(cbrt (+ (* c c) (* d d)))
94.0ms
(cbrt (+ (* c c) (* d d)))

simplify139.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0300831
11116772
24292767
35003765

prune297.0ms

Filtered
82 candidates to 70 candidates (85.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh167
Picked011
Done011
Total82991

Merged error: 27.0b

Counts
91 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.2b
(+ (* a c) (* b d))
1.0b
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
28.6b
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 137
Calls
4 calls:
8.0ms
(+ (* c c) (* d d))
4.0ms
(+ (* a c) (* b d))
9.0ms
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
8.0ms
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (* c c) (* d d))
32.0ms
(+ (* a c) (* b d))
137.0ms
(/ 1 (/ (+ (* c c) (* d d)) (+ (* a c) (* b d))))
51.0ms
(/ (+ (* c c) (* d d)) (+ (* a c) (* b d)))

simplify75.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05181821
126321656
250011569

prune225.0ms

Filtered
149 candidates to 87 candidates (58.4%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh066
Picked011
Done022
Total1499158

Merged error: 27.0b

Counts
158 → 9

regimes147.0ms

Accuracy

0% (3.4b remaining)

Error of 26.4b against oracle of 23.0b and baseline of 26.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample570.0ms

Algorithm
intervals
Results
362.0ms8425×body80valid