Details

Time bar (total: 3.1s)

sample39.0ms

Algorithm
intervals
Results
20.0ms97×body1280valid
4.0ms119×body80valid
4.0ms26×body640valid
1.0msbody320valid
0.0msbody160valid

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: 17.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series93.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(hypot 1.0 x)
87.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0158331
1485306
21396304
35002304

prune100.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New56157
Fresh000
Picked101
Done000
Total57158

Merged error: 16.7b

Counts
58 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series198.0ms

Counts
4 → 12
Calls
4 calls:
155.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)))))))
5.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
32.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify51.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04071275
115941181
250021177

prune245.0ms

Filtered
122 candidates to 88 candidates (72.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1193122
Fresh000
Picked101
Done000
Total1203123

Merged error: 16.7b

Counts
123 → 3

localize18.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.1b
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))
1.3b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite22.0ms

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

series77.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0285702
1932654
23991627
35001621

prune241.0ms

Filtered
103 candidates to 73 candidates (70.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh112
Picked011
Done000
Total1033106

Merged error: 16.7b

Counts
106 → 3

localize18.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.1b
(pow E (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))
1.3b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite24.0ms

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

series292.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(/ 1.0 (hypot 1.0 x))
248.0ms
(pow E (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))
33.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify43.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0355837
11217793
25002783

prune278.0ms

Filtered
110 candidates to 76 candidates (69.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh011
Picked011
Done101
Total1103113

Merged error: 16.7b

Counts
113 → 3

regimes59.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02415
12615
22615

end0.0ms

sample1.0s

Algorithm
intervals
Results
621.0ms2883×body1280valid
155.0ms4044×body80valid
103.0ms617×body640valid
35.0ms302×body320valid
12.0ms154×body160valid

Profiling

Loading profile data...