Details

Time bar (total: 3.3s)

sample41.0ms

Algorithm
intervals
Results
22.0ms106×body1280valid
5.0ms121×body80valid
3.0ms17×body640valid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune3.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: 15.8b

Counts
2 → 1

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

rewrite15.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:
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(hypot 1.0 x)
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series162.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0201433
1602413
21986411
35001411

prune195.0ms

Filtered
73 candidates to 52 candidates (71.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New68573
Fresh000
Picked101
Done000
Total69574

Merged error: 15.4b

Counts
74 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

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

series124.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
8.0ms
(/ 1.0 (hypot 1.0 x))
74.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
37.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify147.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0306616
11080568
24837560
35001560

prune284.0ms

Filtered
96 candidates to 69 candidates (71.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New94296
Fresh314
Picked101
Done000
Total983101

Merged error: 15.4b

Counts
101 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series151.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
77.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
37.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
32.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0349684
11219618
25002615

prune288.0ms

Filtered
91 candidates to 63 candidates (69.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New90191
Fresh112
Picked011
Done000
Total91394

Merged error: 15.4b

Counts
94 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0))) 1.0)
0.6b
(* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0)))
1.8b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.8b
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 log-prod
associate--l+ add-log-exp
add-exp-log sub-neg associate-*r/ associate-*r* associate-*l* exp-sum add-cbrt-cube
distribute-rgt-in distribute-lft-in log-pow unswap-sqr
exp-prod pow-prod-down
flip3-- sqrt-pow1 flip3-+ pow1/2 sqrt-div frac-sub flip-- flip-+
+-commutative log-div exp-diff sqrt-unprod diff-log rem-log-exp prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 83
Calls
4 calls:
10.0ms
(+ (* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0))) 1.0)
10.0ms
(* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0)))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
6.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

series214.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0))) 1.0)
71.0ms
(* (sqrt 0.5) (sqrt (+ (* 1.0 (/ 1 (hypot 1.0 x))) 1.0)))
31.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
35.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

simplify50.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0367879
11395813
25001803

prune307.0ms

Filtered
95 candidates to 61 candidates (64.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New94195
Fresh011
Picked101
Done101
Total96298

Merged error: 15.4b

Counts
98 → 2

regimes62.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03125
13125

end0.0ms

sample1.0s

Algorithm
intervals
Results
582.0ms2905×body1280valid
146.0ms4037×body80valid
99.0ms630×body640valid
32.0ms292×body320valid
10.0ms136×body160valid

Profiling

Loading profile data...