Details

Time bar (total: 3.6s)

sample20.0ms

Algorithm
intervals
Results
8.0ms266×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(- (* b c) (* a d))
24.9b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

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

series142.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* c c) (* d d))
35.0ms
(- (* b c) (* a d))
83.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314555
11341496
25001481

prune190.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 12.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.2b
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
0.5b
(- (* b c) (* a d))
15.7b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
32×prod-exp
27×add-cbrt-cube
26×add-sqr-sqrt
23×div-exp
22×times-frac
21×add-cube-cbrt *-un-lft-identity
13×associate-*r*
12×1-exp
cbrt-undiv cbrt-unprod
associate-*l*
pow1 rec-exp add-log-exp
expm1-log1p-u log1p-expm1-u
associate-/r* div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times sub-neg hypot-udef frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 120
Calls
4 calls:
0.0ms
(hypot c d)
49.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
11.0ms
(- (* b c) (* a d))
18.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series343.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(hypot c d)
163.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
34.0ms
(- (* b c) (* a d))
105.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify65.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05441122
12247931
25003929

prune441.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.0b
(/ (/ (- (* b c) (* a d)) (hypot c d)) (* (hypot c d) 1))
0.5b
(- (* b c) (* a d))
15.7b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
23×add-exp-log
18×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
add-log-exp
pow1 expm1-log1p-u prod-exp associate-/r* log1p-expm1-u div-inv
div-sub associate-/l/
flip3-- frac-2neg 1-exp clear-num flip-- cbrt-unprod
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 109
Calls
4 calls:
0.0ms
(hypot c d)
21.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (* (hypot c d) 1))
8.0ms
(- (* b c) (* a d))
21.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series292.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(hypot c d)
109.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (* (hypot c d) 1))
37.0ms
(- (* b c) (* a d))
105.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify53.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0430989
11703876
25001875

prune309.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.6b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.0b
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
0.5b
(- (* b c) (* a d))
15.8b
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
63×add-exp-log
30×add-cbrt-cube
26×prod-exp
23×div-exp
19×add-sqr-sqrt
13×*-un-lft-identity associate-*r*
12×add-cube-cbrt times-frac
cbrt-undiv 1-exp cbrt-unprod
pow1 associate-/l/ add-log-exp
flip3-- flip--
expm1-log1p-u frac-times rec-exp associate-*l/ log1p-expm1-u
associate-*l* unswap-sqr
associate-*r/ un-div-inv div-inv
sub-neg hypot-udef frac-2neg fma-neg diff-log prod-diff pow-prod-down clear-num associate-/r* *-commutative associate-/l*
Counts
4 → 110
Calls
4 calls:
0.0ms
(hypot c d)
27.0ms
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
8.0ms
(- (* b c) (* a d))
36.0ms
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(hypot c d)
106.0ms
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
34.0ms
(- (* b c) (* a d))
107.0ms
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

simplify58.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0522979
12255772
25002753

prune248.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.6b

regimes178.0ms

Accuracy

21.6% (9.6b remaining)

Error of 14.2b against oracle of 4.6b and baseline of 16.8b

bsearch97.0ms

Steps
ItersRangePoint
6
1.0147126510985566e+154
1.5390174045660966e+155
1.2406195490687244e+154
0
1.355787840076734e-46
1.3889805231674934e-46
1.3723841816221136e-46
9
-1.2723470834620463
-4.2141482665579254e-08
-0.2900903644931191
9
-2.518879193894841e+154
-8.677923561422495e+144
-1.3319950800757915e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04743
15143
25143

end0.0ms

sample540.0ms

Algorithm
intervals
Results
265.0ms8465×body80valid