Details

Time bar (total: 3.5s)

sample20.0ms

Algorithm
intervals
Results
9.0ms265×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: 27.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(+ (* a c) (* b d))
26.9b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite17.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))
4.0ms
(+ (* a c) (* b d))
8.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series144.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* c c) (* d d))
32.0ms
(+ (* a c) (* b d))
82.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify130.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0272527
11164479
24451477
35003477

prune181.0ms

Filtered
62 candidates to 49 candidates (79.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New57562
Fresh000
Picked101
Done000
Total58563

Merged error: 26.7b

Counts
63 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* a c) (* b d))
17.2b
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
31.0b
(sqrt (+ (* c c) (* d d)))
31.0b
(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))))
4.0ms
(sqrt (+ (* c c) (* d d)))
4.0ms
(sqrt (+ (* c c) (* d d)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* a c) (* b d))
109.0ms
(/ (+ (* a c) (* b d)) (sqrt (+ (* c c) (* d d))))
35.0ms
(sqrt (+ (* c c) (* d d)))
38.0ms
(sqrt (+ (* c c) (* d d)))

simplify83.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0273893
1868840
22693828
35001828

prune334.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New92496
Fresh134
Picked011
Done000
Total938101

Merged error: 24.4b

Counts
101 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(+ (* a c) (* b d))
0.6b
(/ 1 (+ (* c c) (* d d)))
26.4b
(* (+ (* a c) (* b 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
flip3-+ flip-+
div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv +-commutative frac-times rec-exp 1-exp associate-*l/ sum-log cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 97
Calls
4 calls:
4.0ms
(+ (* c c) (* d d))
3.0ms
(+ (* a c) (* b d))
5.0ms
(/ 1 (+ (* c c) (* d d)))
12.0ms
(* (+ (* a c) (* b d)) (/ 1 (+ (* c c) (* d d))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* c c) (* d d))
32.0ms
(+ (* a c) (* b d))
39.0ms
(/ 1 (+ (* c c) (* d d)))
80.0ms
(* (+ (* a c) (* b d)) (/ 1 (+ (* c c) (* d d))))

simplify57.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0393853
12037749
25003720

prune246.0ms

Filtered
109 candidates to 70 candidates (64.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1081109
Fresh156
Picked011
Done011
Total1098117

Merged error: 24.4b

Counts
117 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

26.4b
(* (+ (* a c) (* b d)) (/ (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (cbrt (+ (* c c) (* d d)))))
32.0b
(cbrt (+ (* c c) (* d d)))
32.0b
(cbrt (+ (* c c) (* d d)))
32.0b
(cbrt (+ (* c c) (* d d)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
118×times-frac
96×associate-*r*
80×cbrt-div
69×add-sqr-sqrt
57×cbrt-prod
53×*-un-lft-identity
51×add-cube-cbrt
50×associate-/r/
42×flip3-+ flip-+
32×add-exp-log
26×frac-times
14×associate-*l/
13×associate-*r/ add-cbrt-cube
11×div-exp prod-exp
div-inv unswap-sqr
pow1
cbrt-undiv cbrt-unprod
add-log-exp
pow1/3 associate-*l*
rec-exp 1-exp
pow-prod-down *-commutative
Counts
4 → 171
Calls
4 calls:
43.0ms
(* (+ (* a c) (* b d)) (/ (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (cbrt (+ (* c c) (* d d)))))
3.0ms
(cbrt (+ (* c c) (* d d)))
3.0ms
(cbrt (+ (* c c) (* d d)))
3.0ms
(cbrt (+ (* c c) (* d d)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (+ (* a c) (* b d)) (/ (/ 1 (* (cbrt (+ (* c c) (* d d))) (cbrt (+ (* c c) (* d d))))) (cbrt (+ (* c c) (* d d)))))
91.0ms
(cbrt (+ (* c c) (* d d)))
92.0ms
(cbrt (+ (* c c) (* d d)))
96.0ms
(cbrt (+ (* c c) (* d d)))

simplify51.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010033370
150023012

prune671.0ms

Filtered
183 candidates to 148 candidates (80.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1821183
Fresh055
Picked011
Done022
Total1829191

Merged error: 24.4b

Counts
191 → 9

regimes157.0ms

Accuracy

0% (2.8b remaining)

Error of 26.1b against oracle of 23.2b and baseline of 26.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01713
11713

end0.0ms

sample520.0ms

Algorithm
intervals
Results
310.0ms8478×body80valid