Details

Time bar (total: 3.5s)

sample23.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* b c) (* a d))
24.8b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite16.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
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
Calls
2 calls:
4.0ms
(- (* b c) (* a d))
11.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series124.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (* b c) (* a d))
83.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify103.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0268481
11010432
23840422
35001421

prune148.0ms

Filtered
56 candidates to 46 candidates (82.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 13.1b

Counts
57 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
32×prod-exp
26×add-cbrt-cube
25×add-sqr-sqrt
23×div-exp
22×times-frac
20×add-cube-cbrt *-un-lft-identity
13×associate-*r*
12×1-exp
cbrt-undiv cbrt-unprod
associate-*l*
rec-exp
pow1 add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times sub-neg frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 110
Calls
3 calls:
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))

series340.0ms

Counts
3 → 9
Calls
3 calls:
182.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
41.0ms
(- (* b c) (* a d))
117.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify64.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05351095
12234907
25003905

prune252.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1136119
Fresh145
Picked011
Done000
Total11411125

Merged error: 2.9b

Counts
125 → 11

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg fma-neg diff-log prod-diff
Counts
3 → 121
Calls
3 calls:
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))

series267.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
38.0ms
(- (* b c) (* a d))
116.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify53.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04491408
116571307
250011298

prune273.0ms

Filtered
130 candidates to 98 candidates (75.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1246130
Fresh639
Picked101
Done101
Total1329141

Merged error: 2.9b

Counts
141 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
0.1b
(/ (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))) (hypot c d))
9.6b
(/ (* a d) (hypot c d))
10.4b
(/ (* b c) (hypot c d))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
69×times-frac
59×add-sqr-sqrt *-un-lft-identity
49×add-cube-cbrt prod-diff
28×div-inv
16×add-exp-log add-cbrt-cube
associate-/r*
associate-/l*
fma-neg
add-log-exp
cbrt-undiv distribute-rgt-out-- div-exp distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg clear-num
flip3-- prod-exp frac-sub flip-- cbrt-unprod sub-div
sub-neg diff-log div-sub
Counts
4 → 167
Calls
4 calls:
13.0ms
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
13.0ms
(/ (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))) (hypot c d))
4.0ms
(/ (* a d) (hypot c d))
5.0ms
(/ (* b c) (hypot c d))

series556.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d)))
235.0ms
(/ (- (/ (* b c) (hypot c d)) (/ (* a d) (hypot c d))) (hypot c d))
72.0ms
(/ (* a d) (hypot c d))
66.0ms
(/ (* b c) (hypot c d))

simplify86.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06072530
125761870
250011867

prune321.0ms

Filtered
179 candidates to 113 candidates (63.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1754179
Fresh448
Picked101
Done000
Total1808188

Merged error: 0b

Counts
188 → 8

regimes140.0ms

Accuracy

0% (0.8b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 0.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02730
13130
23130

end0.0ms

sample604.0ms

Algorithm
intervals
Results
375.0ms8478×body80valid