Details

Time bar (total: 7.4s)

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1

sample62.0ms

Algorithm
intervals
Results
22.0ms89×body1280valid
5.0ms131×body80valid
2.0ms12×body640valid
2.0ms16×body320valid
1.0msbody160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
044212
144212

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.2b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ 1.0 (hypot 1.0 x))
16.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 65
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(/ 1.0 (hypot 1.0 x))
17.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify77.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
04844870
14844870

prune145.0ms

Filtered
54 candidates to 77 candidates (-42.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh000
Picked101
Done000
Total74478

Merged error: 15.7b

Counts
78 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
15.7b
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
pow1
associate-/r* associate-/l* add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 sqrt-div associate-*r/ div-exp clear-num div-inv associate--r+
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ pow1/2 diff-log pow-prod-down sqrt-prod flip-- flip-+
Counts
4 → 80
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

series27.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05000919

prune221.0ms

Filtered
68 candidates to 92 candidates (-35.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89392
Fresh213
Picked101
Done000
Total92496

Merged error: 15.6b

Counts
96 → 4

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5))))))
0.0b
(pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)
0.1b
(/ (- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)) (+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5)))))))
15.7b
(- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
30×*-un-lft-identity times-frac difference-of-squares
26×sqr-pow
20×add-cube-cbrt
12×distribute-rgt-in distribute-lft-in
11×unpow-prod-down
10×associate-/l*
add-exp-log add-cbrt-cube
associate-+r+ add-log-exp
pow1
distribute-lft-out--
pow-unpow flip3-+ associate-/r* flip-+
cube-div flip3-- pow-pow associate-*r/ pow-exp associate-/r/ flip-- associate-/l/ rem-cube-cbrt
cbrt-undiv +-commutative cube-mult pow-to-exp sub-neg frac-2neg diff-log unpow3 div-sub cube-prod div-exp pow-prod-down prod-exp clear-num sum-log cbrt-unprod div-inv
Counts
4 → 121
Calls
4 calls:
7.0ms
(+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5))))))
8.0ms
(pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)
13.0ms
(/ (- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)) (+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5)))))))
7.0ms
(- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3))

series156.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5))))))
15.0ms
(pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)
81.0ms
(/ (- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)) (+ (pow 1.0 4) (* 0.5 (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (+ (/ 0.5 (hypot 1.0 x)) (+ 1.0 0.5)))))))
41.0ms
(- (pow 1.0 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3))

simplify77.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
052205404

prune840.0ms

Filtered
98 candidates to 133 candidates (-35.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1312133
Fresh123
Picked101
Done000
Total1334137

Merged error: 15.6b

Counts
137 → 4

localize43.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)
0.1b
(pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6)
0.1b
(/ (- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)) (* (+ (pow 1.0 12) (* (pow 1.0 6) (+ (pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)))) (+ (pow 1.0 4) (* 0.5 (* 1.0 (* (+ 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
15.7b
(- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
173×add-sqr-sqrt
164×unpow-prod-down
144×difference-of-squares
130×sqr-pow
124×cube-prod
57×times-frac associate-/l*
43×*-un-lft-identity
15×distribute-lft-out--
14×add-exp-log
11×add-cube-cbrt
10×add-cbrt-cube
associate-/r/
flip3-+ pow-exp flip-+
pow-unpow add-log-exp
pow1
cube-div frac-times associate-*r/
difference-cubes cube-mult pow-to-exp unpow3
cbrt-undiv flip3-- pow-pow div-exp associate-*l/ prod-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub clear-num associate-/r* cbrt-unprod div-inv distribute-lft-out rem-cube-cbrt
Counts
4 → 261
Calls
4 calls:
5.0ms
(pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)
9.0ms
(pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6)
40.0ms
(/ (- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)) (* (+ (pow 1.0 12) (* (pow 1.0 6) (+ (pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)))) (+ (pow 1.0 4) (* 0.5 (* 1.0 (* (+ 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
26.0ms
(- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3))

series874.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)
18.0ms
(pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6)
649.0ms
(/ (- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3)) (* (+ (pow 1.0 12) (* (pow 1.0 6) (+ (pow (+ 0.5 (/ 0.5 (hypot 1.0 x))) 6) (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3)))) (+ (pow 1.0 4) (* 0.5 (* 1.0 (* (+ 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
176.0ms
(- (pow (pow 1.0 6) 3) (pow (pow (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))) 3) 3))

simplify136.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0496215843
1496215843

prune2.5s

Filtered
134 candidates to 273 candidates (-103.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2712273
Fresh123
Picked101
Done000
Total2734277

Merged error: 15.6b

Counts
277 → 4

regimes327.0ms

Accuracy

0% (0.0b remaining)

Error of 15.2b against oracle of 15.2b and baseline of 15.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
090114
190114

end0.0ms

sample1.6s

Algorithm
intervals
Results
726.0ms2895×body1280valid
145.0ms3983×body80valid
105.0ms620×body640valid
39.0ms329×body320valid
13.0ms173×body160valid

Profiling

Loading profile data...