Details

Time bar (total: 3.7s)

sample40.0ms

Algorithm
intervals
Results
22.0ms104×body1280valid
5.0ms125×body80valid
2.0ms13×body640valid
1.0msbody160valid
1.0msbody320valid

simplify11.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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.5b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.4b
(- 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 → 66
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
5.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 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series189.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
26.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
73.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
84.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0221492
1697465
22309463
35002463

prune133.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh000
Picked101
Done000
Total76379

Merged error: 14.1b

Counts
79 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 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)))))))
1.9b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt times-frac
10×associate-*r/
add-exp-log add-cbrt-cube
pow1 associate-/r*
associate-/l* add-log-exp
flip3-- associate--l+ frac-sub flip-- associate-/l/ distribute-lft-out
sub-neg
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 flip3-+ sqrt-div div-exp clear-num associate-/r/ flip-+ div-inv
pow1/2 diff-log div-sub pow-prod-down sqrt-prod
Counts
4 → 96
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
11.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)))))))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series268.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
72.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
158.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)))))))
33.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify54.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04501238
117121158
250011154

prune233.0ms

Filtered
108 candidates to 78 candidates (72.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1053108
Fresh112
Picked101
Done000
Total1074111

Merged error: 14.0b

Counts
111 → 4

localize12.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
(/ (- 0.5 (* 0.5 (/ 1 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.9b
(- 0.5 (* 0.5 (/ 1 (hypot 1.0 x))))

rewrite24.0ms

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

series293.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
70.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
158.0ms
(/ (- 0.5 (* 0.5 (/ 1 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
33.0ms
(- 0.5 (* 0.5 (/ 1 (hypot 1.0 x))))

simplify42.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0321962
11095888
25001884

prune164.0ms

Filtered
85 candidates to 60 candidates (70.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh123
Picked011
Done000
Total85489

Merged error: 14.0b

Counts
89 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)) (* 0.5 (+ 0.5 (* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x))))))))
0.0b
(* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x)))))
0.1b
(pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)
1.9b
(- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
28×add-exp-log
24×times-frac difference-of-squares
22×*-un-lft-identity
20×add-cbrt-cube
19×sqr-pow
15×add-cube-cbrt
13×associate-*l* associate-/l*
pow1 prod-exp
unpow-prod-down cube-prod
div-exp add-log-exp
associate-*r/ pow-exp cbrt-unprod
cbrt-undiv
difference-cubes pow-unpow flip3-+ associate-*r* flip-+ distribute-lft-out-- rem-cube-cbrt unswap-sqr
cube-div frac-times rec-exp flip3-- pow-pow 1-exp pow-prod-down associate-/r/ flip-- div-inv associate-/l/
distribute-rgt-in cube-mult pow-to-exp sub-neg frac-2neg distribute-lft-in diff-log unpow3 div-sub associate-*l/ clear-num associate-/r* un-div-inv *-commutative
Counts
4 → 137
Calls
4 calls:
15.0ms
(/ (- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)) (* 0.5 (+ 0.5 (* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x))))))))
8.0ms
(* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x)))))
6.0ms
(pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)
9.0ms
(- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3))

series330.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(/ (- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)) (* 0.5 (+ 0.5 (* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x))))))))
37.0ms
(* (/ 1 (hypot 1.0 x)) (+ 0.5 (* 0.5 (/ 1 (hypot 1.0 x)))))
33.0ms
(pow (* 0.5 (/ 1 (hypot 1.0 x))) 3)
67.0ms
(- (pow 0.5 3) (pow (* 0.5 (/ 1 (hypot 1.0 x))) 3))

simplify119.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
07341839
141711614
250021611

prune415.0ms

Filtered
149 candidates to 105 candidates (70.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh112
Picked101
Done011
Total1485153

Merged error: 13.8b

Counts
153 → 5

regimes81.0ms

Accuracy

0% (0.3b remaining)

Error of 15.0b against oracle of 14.7b and baseline of 15.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02011
12011

end0.0ms

sample1.0s

Algorithm
intervals
Results
609.0ms2868×body1280valid
155.0ms4047×body80valid
103.0ms617×body640valid
38.0ms312×body320valid
12.0ms156×body160valid

Profiling

Loading profile data...