Details

Time bar (total: 11.0s)

analyze1.0ms

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

sample37.0ms

Algorithm
intervals
Results
21.0ms99×body1280valid
5.0ms121×body80valid
2.0ms11×body640valid
2.0ms14×body320valid
1.0ms11×body160valid

simplify18.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: 18.4b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series28.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
05028716

prune129.0ms

Filtered
52 candidates to 71 candidates (-36.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 17.9b

Counts
72 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
29×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
13×add-exp-log add-cbrt-cube
11×associate-/r*
add-log-exp
associate-/l*
pow1 cbrt-undiv flip3-- associate-*r/ div-exp frac-sub flip-- associate-/l/ distribute-lft-out
frac-2neg diff-log clear-num div-inv distribute-lft-out--
sub-neg sqrt-prod associate-/r/ difference-of-squares
associate--l- flip3-+ prod-exp associate--l+ cbrt-unprod flip-+
Counts
4 → 105
Calls
4 calls:
17.0ms
(/ (* 1.0 (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
3.0ms
(/ 0.5 (hypot 1.0 x))
3.0ms
(/ 0.5 (hypot 1.0 x))
10.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

series50.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049741689
149741689

prune279.0ms

Filtered
87 candidates to 117 candidates (-34.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1143117
Fresh213
Picked101
Done000
Total1174121

Merged error: 17.5b

Counts
121 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))) (* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))))
0.2b
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
0.5b
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
3.0b
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
28×associate-*r/
22×flip3-+ associate-*l/ flip-+
13×prod-exp cbrt-unprod
12×frac-times
11×pow1 *-un-lft-identity
10×add-sqr-sqrt
associate-/r/ frac-sub
add-cube-cbrt associate-*l*
cbrt-undiv flip3-- div-exp associate-*r* flip-- associate-/l/ add-log-exp
distribute-rgt-in distribute-lft-in
pow-prod-down
distribute-lft-out
*-commutative
sub-neg frac-2neg times-frac diff-log clear-num associate-/r* sqrt-prod div-inv associate-/l* unswap-sqr
Counts
4 → 115
Calls
4 calls:
20.0ms
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))) (* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))))
9.0ms
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
9.0ms
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
8.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))

series84.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))) (* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))))
21.0ms
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
21.0ms
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
3.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* (+ 1.0 0.5) 0.5))

simplify63.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049873672
149873672

prune458.0ms

Filtered
87 candidates to 127 candidates (-46.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1234127
Fresh123
Picked101
Done000
Total1256131

Merged error: 17.5b

Counts
131 → 6

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3))))) (* (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))) (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5)))))))
0.2b
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
0.5b
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
3.0b
(- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3)))))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
334×associate-*r/
162×flip3-+ flip-+
140×frac-times
128×frac-sub
70×associate-*l/
66×associate-/l/
50×flip3-- flip--
16×add-exp-log add-cbrt-cube
13×distribute-rgt-in *-un-lft-identity distribute-lft-in
12×add-sqr-sqrt
11×pow1
add-cube-cbrt
associate-/r/
associate-*l*
associate-*r* add-log-exp
prod-exp cbrt-unprod
pow-prod-down associate--l+ associate--r+
times-frac distribute-lft-out associate-/l*
cbrt-undiv div-exp *-commutative
sub-neg frac-2neg diff-log div-sub clear-num associate-/r* sqrt-prod div-inv unswap-sqr
Counts
4 → 240
Calls
4 calls:
44.0ms
(/ (- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3))))) (* (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))) (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5)))))))
9.0ms
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
8.0ms
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
22.0ms
(- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3)))))

series54.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3))))) (* (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))) (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5)))))))
20.0ms
(* (hypot 1.0 x) (* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))))
23.0ms
(* (+ 1.0 0.5) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
4.0ms
(- (* (hypot 1.0 x) (* (- (pow 1.0 6) (pow 0.5 6)) (+ (* 1.0 1.0) (* 0.5 (- 0.5 1.0))))) (* 0.5 (* (+ (pow 1.0 4) (+ (pow 0.5 4) (* 1.0 (* 1.0 (* 0.5 0.5))))) (+ (pow 1.0 3) (pow 0.5 3)))))

simplify135.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0508119591

prune8.0s

Filtered
220 candidates to 252 candidates (-14.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2493252
Fresh235
Picked101
Done000
Total2526258

Merged error: 17.5b

Counts
258 → 6

regimes160.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify33.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
01471224
11471224

end0.0ms

sample1.0s

Algorithm
intervals
Results
620.0ms2825×body1280valid
158.0ms4053×body80valid
111.0ms631×body640valid
40.0ms333×body320valid
12.0ms158×body160valid

Profiling

Loading profile data...