Details

Time bar (total: 4.8s)

sample60.0ms

Algorithm
intervals
Results
32.0ms97×body1280valid
8.0ms130×body80valid
5.0ms18×body640valid
1.0msbody320valid
1.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.1b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series33.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0201433
1602413
21984411
35001411

prune127.0ms

Filtered
73 candidates to 52 candidates (28.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 13.6b

Counts
74 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt times-frac
add-exp-log associate-*r/ add-cbrt-cube add-log-exp
associate-/r*
associate-/l*
distribute-lft-out
pow1 flip3-- associate--l+ frac-sub flip-- associate-/l/
sub-neg
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in flip3-+ div-exp clear-num associate-/r/ flip-+ div-inv
+-commutative diff-log div-sub sum-log
Counts
4 → 95
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series55.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04231277
116411179
250011174

prune264.0ms

Filtered
107 candidates to 77 candidates (28.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1043107
Fresh303
Picked101
Done000
Total1083111

Merged error: 13.6b

Counts
111 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)) (+ (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 1.0 (- 1.0 0.5)))) (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5)))))
0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.2b
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
1.3b
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
271×associate-*r/
104×frac-add
74×flip3-- associate-/r/ flip--
68×frac-times
39×add-sqr-sqrt
31×*-un-lft-identity
27×times-frac
26×associate-*l/
21×sqr-pow
20×difference-of-squares
19×add-cube-cbrt
18×flip3-+ flip-+
12×add-exp-log add-cbrt-cube
cube-div associate-/l*
add-log-exp
pow1
difference-cubes distribute-lft-out--
frac-sub associate-/l/
pow-unpow pow-exp associate-/r* rem-cube-cbrt
cbrt-undiv pow-pow div-exp prod-exp cbrt-unprod
+-commutative cube-mult pow-to-exp sub-neg unpow-prod-down frac-2neg diff-log unpow3 div-sub cube-prod pow-prod-down clear-num sum-log div-inv distribute-lft-out
Counts
4 → 187
Calls
4 calls:
29.0ms
(/ (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)) (+ (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 1.0 (- 1.0 0.5)))) (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5)))))
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
5.0ms
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
10.0ms
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))

series90.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)) (+ (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 1.0 (- 1.0 0.5)))) (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5)))))
13.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
12.0ms
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
14.0ms
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))

simplify97.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
019256433
150016292

prune2.0s

Filtered
199 candidates to 150 candidates (24.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1963199
Fresh022
Picked101
Done000
Total1975202

Merged error: 13.3b

Counts
202 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.2b
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
1.3b
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))
1.3b
(log (exp (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×*-un-lft-identity
10×add-exp-log log-pow add-cbrt-cube
exp-prod sqr-pow
pow1 add-log-exp difference-of-squares
add-cube-cbrt
cube-div log-prod associate-*r/
pow-unpow pow-exp rem-cube-cbrt
difference-cubes sub-neg flip3-- pow-pow exp-sum prod-exp frac-sub flip-- cbrt-unprod distribute-lft-out--
cbrt-undiv +-commutative cube-mult pow-to-exp unpow-prod-down log-div flip3-+ exp-diff diff-log unpow3 cube-prod div-exp rem-log-exp pow-prod-down sum-log flip-+ distribute-lft-out
Counts
4 → 81
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
5.0ms
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
8.0ms
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))
8.0ms
(log (exp (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))))

series55.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
9.0ms
(pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3)
18.0ms
(- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))
15.0ms
(log (exp (- (pow (* 1.0 (- 1.0 0.5)) 3) (pow (* 0.5 (/ 1.0 (hypot 1.0 x))) 3))))

simplify60.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0408850
11654783
25002782

prune423.0ms

Filtered
93 candidates to 66 candidates (29.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92193
Fresh044
Picked101
Done000
Total93598

Merged error: 13.3b

Counts
98 → 5

regimes150.0ms

Accuracy

0% (0.3b remaining)

Error of 15.1b against oracle of 14.8b and baseline of 15.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02414
12414

end0.0ms

sample1.1s

Algorithm
intervals
Results
607.0ms2867×body1280valid
154.0ms4003×body80valid
111.0ms658×body640valid
38.0ms309×body320valid
14.0ms163×body160valid

Profiling

Loading profile data...