Details

Time bar (total: 3.6s)

sample20.0ms

Algorithm
intervals
Results
9.0ms270×body80valid

simplify13.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.7b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(- (* b c) (* a d))
27.3b
(/ (- (* 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:
3.0ms
(+ (* c c) (* d d))
3.0ms
(- (* b c) (* a d))
10.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series155.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* c c) (* d d))
41.0ms
(- (* b c) (* a d))
87.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

prune199.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 14.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
0.5b
(- (* b c) (* a d))
16.8b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite37.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:
23.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
3.0ms
(- (* b c) (* a d))
7.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series339.0ms

Counts
3 → 9
Calls
3 calls:
181.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
42.0ms
(- (* b c) (* a d))
116.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify58.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05351095
12234907
25003905

prune279.0ms

Filtered
119 candidates to 78 candidates (65.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- (* b c) (* a d)) (hypot c d)) (* (hypot c d) 1))
0.5b
(- (* b c) (* a d))
16.8b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×add-exp-log
17×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
add-log-exp
prod-exp associate-/r* div-inv
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/
flip3-- frac-2neg 1-exp clear-num flip-- cbrt-unprod
sub-neg fma-neg diff-log prod-diff
Counts
3 → 99
Calls
3 calls:
10.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (* (hypot c d) 1))
3.0ms
(- (* b c) (* a d))
7.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series279.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0421962
11689852
25001851

prune285.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (sqrt (hypot c d)))
0.5b
(- (* b c) (* a d))
8.0b
(/ (- (* b c) (* a d)) (sqrt (hypot c d)))
9.1b
(* (/ 1 (sqrt (hypot c d))) (/ (- (* b c) (* a d)) (sqrt (hypot c d))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
94×times-frac
66×*-un-lft-identity
60×add-cube-cbrt
53×sqrt-prod
32×add-exp-log
22×associate-*r* associate-*l*
20×add-cbrt-cube
15×unswap-sqr
12×associate-/r*
11×div-exp
pow1 prod-exp
cbrt-undiv associate-/l* add-log-exp
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv
rec-exp pow-flip 1-exp
flip3-- frac-2neg clear-num flip-- associate-/l/
frac-times sub-neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 192
Calls
4 calls:
6.0ms
(/ 1 (sqrt (hypot c d)))
3.0ms
(- (* b c) (* a d))
8.0ms
(/ (- (* b c) (* a d)) (sqrt (hypot c d)))
29.0ms
(* (/ 1 (sqrt (hypot c d))) (/ (- (* b c) (* a d)) (sqrt (hypot c d))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ 1 (sqrt (hypot c d)))
43.0ms
(- (* b c) (* a d))
196.0ms
(/ (- (* b c) (* a d)) (sqrt (hypot c d)))
120.0ms
(* (/ 1 (sqrt (hypot c d))) (/ (- (* b c) (* a d)) (sqrt (hypot c d))))

simplify90.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06712149
132151896
250021778

prune466.0ms

Filtered
204 candidates to 119 candidates (58.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.2b

regimes171.0ms

Accuracy

33.9% (8.3b remaining)

Error of 12.7b against oracle of 4.4b and baseline of 17.0b

bsearch100.0ms

Steps
ItersRangePoint
11
9.199612759357812e+156
8.1420769820787e+178
1.0925783641640506e+158
10
-4.0387374422910434e+145
-4.657848749767963e+130
-5.157783051615335e+135

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13215
23215

end0.0ms

sample479.0ms

Algorithm
intervals
Results
280.0ms8451×body80valid