Details

Time bar (total: 3.1s)

sample21.0ms

Algorithm
intervals
Results
10.0ms277×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1367
2487
3667
4727
5727

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.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(- (* b c) (* a d))
28.7b
(/ (- (* b c) (* a 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
pow1 associate-/r* associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 55
Calls
3 calls:
4.0ms
(+ (* c c) (* d d))
3.0ms
(- (* b c) (* a d))
8.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series156.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* c c) (* d d))
43.0ms
(- (* b c) (* a d))
87.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify40.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0292541
11273493
25002491

prune163.0ms

Filtered
64 candidates to 50 candidates (78.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New58664
Fresh000
Picked101
Done000
Total59665

Merged error: 28.5b

Counts
65 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* b c) (* a d))
15.0b
(/ (- (* b c) (* a d)) (sqrt (+ (* c c) (* d d))))
31.7b
(sqrt (+ (* c c) (* d d)))
31.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 flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* b c) (* a d))
9.0ms
(/ (- (* b c) (* a d)) (sqrt (+ (* c c) (* d d))))
3.0ms
(sqrt (+ (* c c) (* d d)))
4.0ms
(sqrt (+ (* c c) (* d d)))

series235.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b c) (* a d))
117.0ms
(/ (- (* b c) (* a d)) (sqrt (+ (* c c) (* d d))))
40.0ms
(sqrt (+ (* c c) (* d d)))
35.0ms
(sqrt (+ (* c c) (* d d)))

simplify100.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0304910
1990857
23354845
35001845

prune254.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New92698
Fresh235
Picked011
Done000
Total9410104

Merged error: 26.2b

Counts
104 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(- (* b c) (* a d))
0.6b
(/ 1 (+ (* c c) (* d d)))
28.5b
(* (- (* b c) (* a d)) (/ 1 (+ (* c c) (* d d))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube
add-log-exp
pow1
div-exp prod-exp associate-/r/
flip3-- flip3-+ associate-*l* associate-/r* flip-- flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
+-commutative sub-neg pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (* c c) (* d d))
3.0ms
(- (* b c) (* a d))
5.0ms
(/ 1 (+ (* c c) (* d d)))
12.0ms
(* (- (* b c) (* a d)) (/ 1 (+ (* c c) (* d d))))

series202.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* c c) (* d d))
44.0ms
(- (* b c) (* a d))
38.0ms
(/ 1 (+ (* c c) (* d d)))
92.0ms
(* (- (* b c) (* a d)) (/ 1 (+ (* c c) (* d d))))

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0384857
11929753
25002724

prune209.0ms

Filtered
110 candidates to 69 candidates (62.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh088
Picked011
Done011
Total11010120

Merged error: 26.2b

Counts
120 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

14.5b
(* (* (cbrt (- (* b c) (* a d))) (cbrt (- (* b c) (* a d)))) (/ (cbrt (- (* b c) (* a d))) (+ (* c c) (* d d))))
15.5b
(cbrt (- (* b c) (* a d)))
15.5b
(cbrt (- (* b c) (* a d)))
15.5b
(cbrt (- (* b c) (* a d)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
25×add-sqr-sqrt
24×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
19×cbrt-prod
16×add-exp-log frac-times
15×flip3-- flip--
12×associate-*l/
10×add-cbrt-cube
pow1
prod-exp cbrt-unprod
associate-*r/
add-log-exp
pow1/3 pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r/
flip3-+ associate-*l* *-commutative flip-+ div-inv
Counts
4 → 102
Calls
4 calls:
20.0ms
(* (* (cbrt (- (* b c) (* a d))) (cbrt (- (* b c) (* a d)))) (/ (cbrt (- (* b c) (* a d))) (+ (* c c) (* d d))))
3.0ms
(cbrt (- (* b c) (* a d)))
3.0ms
(cbrt (- (* b c) (* a d)))
3.0ms
(cbrt (- (* b c) (* a d)))

series444.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (* (cbrt (- (* b c) (* a d))) (cbrt (- (* b c) (* a d)))) (/ (cbrt (- (* b c) (* a d))) (+ (* c c) (* d d))))
115.0ms
(cbrt (- (* b c) (* a d)))
122.0ms
(cbrt (- (* b c) (* a d)))
117.0ms
(cbrt (- (* b c) (* a d)))

simplify68.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06191928
123631739
250011650

prune333.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1131114
Fresh167
Picked011
Done022
Total11410124

Merged error: 26.2b

Counts
124 → 10

regimes154.0ms

Accuracy

0% (2.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01613
11613

end0.0ms

sample532.0ms

Algorithm
intervals
Results
310.0ms8490×body80valid

Profiling

Loading profile data...