Details

Time bar (total: 3.8s)

sample21.0ms

Algorithm
intervals
Results
8.0ms270×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0177
1217
2217

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.1b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* a c) (* b d))
25.7b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite40.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
flip3-+ associate-/r* flip-+ associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 47
Calls
2 calls:
8.0ms
(+ (* a c) (* b d))
31.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series128.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (* a c) (* b d))
91.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify92.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0244458
1872411
23164403
35001403

prune162.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 16.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.0b
(hypot c d)
0.2b
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
15.9b
(/ (fma a c (* b d)) (* (hypot c d) 1))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
155×add-exp-log
86×prod-exp
57×div-exp
45×add-cbrt-cube
35×1-exp
16×cbrt-unprod
14×cbrt-undiv
12×add-sqr-sqrt rec-exp
10×add-cube-cbrt *-un-lft-identity
times-frac
associate-*r* associate-*l*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
div-inv associate-/l*
hypot-udef
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* *-commutative unswap-sqr
Counts
4 → 122
Calls
4 calls:
0.0ms
(hypot c d)
0.0ms
(hypot c d)
49.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
8.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series416.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(hypot c d)
49.0ms
(hypot c d)
191.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
125.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify44.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04791092
11588808
25001806

prune294.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.4b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.0b
(hypot c d)
0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
15.9b
(/ (fma a c (* b d)) (hypot c d))

rewrite22.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
pow1 expm1-log1p-u prod-exp associate-/r* log1p-expm1-u div-inv add-log-exp
hypot-udef frac-2neg 1-exp clear-num cbrt-unprod
associate-/l/
Counts
4 → 99
Calls
4 calls:
0.0ms
(hypot c d)
0.0ms
(hypot c d)
13.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
5.0ms
(/ (fma a c (* b d)) (hypot c d))

series356.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(hypot c d)
49.0ms
(hypot c d)
130.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
127.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify77.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0301780
11076689
23153689
35001681

prune301.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (* (* (sqrt (hypot c d)) (sqrt (hypot c d))) 1))
0.5b
(* (sqrt (hypot c d)) (sqrt (hypot c d)))
15.9b
(/ (fma a c (* b d)) (hypot c d))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
41×add-exp-log
40×times-frac
34×add-cube-cbrt *-un-lft-identity
29×add-cbrt-cube
19×pow1
18×sqrt-prod
16×div-exp associate-/l*
13×prod-exp
10×cbrt-undiv
sqrt-pow1 pow1/2 swap-sqr
cbrt-unprod
associate-*r* associate-*l*
pow-prod-up
expm1-log1p-u 1-exp associate-/r* log1p-expm1-u div-inv add-log-exp unswap-sqr
pow-prod-down pow-sqr
frac-2neg clear-num
pow2 hypot-udef pow-plus sqrt-unprod rem-square-sqrt *-commutative associate-/l/
Counts
4 → 146
Calls
4 calls:
0.0ms
(hypot c d)
39.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (* (sqrt (hypot c d)) (sqrt (hypot c d))) 1))
12.0ms
(* (sqrt (hypot c d)) (sqrt (hypot c d)))
5.0ms
(/ (fma a c (* b d)) (hypot c d))

series359.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot c d)
129.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (* (sqrt (hypot c d)) (sqrt (hypot c d))) 1))
52.0ms
(* (sqrt (hypot c d)) (sqrt (hypot c d)))
130.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify74.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04551058
12421869
25001857

prune352.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 6.3b

regimes228.0ms

Accuracy

32.6% (7.3b remaining)

Error of 13.3b against oracle of 6.1b and baseline of 16.8b

bsearch69.0ms

Steps
ItersRangePoint
9
8.368743468625914e+152
1.5758058931380253e+162
1.278549182313938e+162
8
-2.5603222965227453e+76
-5.417466375154916e+71
-1.6762206663446156e+75

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014

end0.0ms

sample566.0ms

Algorithm
intervals
Results
274.0ms8488×body80valid