Details

Time bar (total: 3.7s)

sample23.0ms

Algorithm
intervals
Results
12.0ms270×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

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

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.7b
(- (* b c) (* a d))
28.6b
(/ (- (* b c) (* a 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
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 64
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)))

series152.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314555
11341496
25001481

prune178.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69473
Fresh000
Picked011
Done000
Total69574

Merged error: 14.3b

Counts
74 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (* (hypot c d) 1))
0.2b
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
0.7b
(- (* b c) (* a d))
16.7b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
83×add-exp-log
38×prod-exp
32×add-cbrt-cube
29×div-exp
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
18×1-exp
13×associate-*r*
10×cbrt-undiv
pow1 rec-exp cbrt-unprod
associate-*l*
associate-/l* add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv
flip3-- pow-flip frac-2neg pow-prod-down clear-num flip-- associate-/l/ unswap-sqr
frac-times sub-neg fma-neg diff-log div-sub associate-*r/ prod-diff associate-*l/ *-commutative inv-pow
Counts
4 → 143
Calls
4 calls:
4.0ms
(/ 1 (* (hypot c d) 1))
12.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
4.0ms
(- (* b c) (* a d))
6.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series381.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (* (hypot c d) 1))
176.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
38.0ms
(- (* b c) (* a d))
115.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify60.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05531207
123041003
25001995

prune286.0ms

Filtered
155 candidates to 94 candidates (60.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1487155
Fresh213
Picked011
Done101
Total1519160

Merged error: 4.4b

Counts
160 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
0.7b
(- (* b c) (* a d))
16.7b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 131
Calls
4 calls:
1.0ms
(hypot c d)
7.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
3.0ms
(- (* b c) (* a d))
6.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series308.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot c d)
112.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
40.0ms
(- (* b c) (* a d))
111.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify50.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04581435
116671331
250011322

prune322.0ms

Filtered
143 candidates to 112 candidates (78.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1394143
Fresh347
Picked011
Done011
Total14210152

Merged error: 4.4b

Counts
152 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

3.1b
(/ a (/ (fma c c (* d d)) d))
4.6b
(/ b (/ (fma c c (* d d)) c))
17.6b
(/ (fma c c (* d d)) c)
18.5b
(/ (fma c c (* d d)) d)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
168×times-frac
104×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×associate-/r*
18×add-exp-log add-cbrt-cube
12×div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/
Counts
4 → 202
Calls
4 calls:
5.0ms
(/ a (/ (fma c c (* d d)) d))
6.0ms
(/ b (/ (fma c c (* d d)) c))
3.0ms
(/ (fma c c (* d d)) c)
3.0ms
(/ (fma c c (* d d)) d)

series202.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ a (/ (fma c c (* d d)) d))
46.0ms
(/ b (/ (fma c c (* d d)) c))
57.0ms
(/ (fma c c (* d d)) c)
52.0ms
(/ (fma c c (* d d)) d)

simplify78.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06601744
128491548
250031542

prune509.0ms

Filtered
214 candidates to 174 candidates (81.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2086214
Fresh617
Picked101
Done022
Total2159224

Merged error: 0.2b

Counts
224 → 9

regimes255.0ms

Accuracy

48.6% (7.2b remaining)

Error of 8.0b against oracle of 0.8b and baseline of 14.7b

bsearch85.0ms

Steps
ItersRangePoint
7
3.922397764720186e+83
2.9498206818404098e+85
2.9116788974845384e+85
9
-6.750681421237088e+158
-1.133666398063141e+151
-6.506385527916138e+152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample605.0ms

Algorithm
intervals
Results
390.0ms8460×body80valid

Profiling

Loading profile data...