Details

Time bar (total: 3.0s)

analyze1.0ms

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

sample34.0ms

Algorithm
intervals
Results
17.0ms81×body1280valid
5.0ms141×body80valid
3.0ms18×body640valid
1.0ms10×body320valid
0.0msbody160valid

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

Counts
2 → 1

localize8.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
(/ 1.0 (hypot 1.0 x))
2.2b
(- 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 → 65
Calls
4 calls:
5.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(sqrt (* 0.5 (+ 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))))))

series40.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04844870
14844870

prune133.0ms

Filtered
54 candidates to 77 candidates (-42.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh000
Picked101
Done000
Total74478

Merged error: 14.8b

Counts
78 → 4

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

rewrite19.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*
add-log-exp
pow1 distribute-lft-out
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- associate-/r/ flip-- associate-/l/ associate--r+
distribute-rgt-in sub-neg distribute-lft-in flip3-+ diff-log div-sub flip-+
Counts
4 → 103
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(/ (- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
4.0ms
(- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
31.0ms
(/ (- (* 1.0 1.0) (* 0.5 (+ 1.0 (/ 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 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
052521942

prune306.0ms

Filtered
86 candidates to 115 candidates (-33.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1087115
Fresh303
Picked101
Done000
Total1127119

Merged error: 14.7b

Counts
119 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series48.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051492520

prune290.0ms

Filtered
77 candidates to 119 candidates (-54.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1163119
Fresh246
Picked101
Done000
Total1197126

Merged error: 14.7b

Counts
126 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series49.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
058892312

prune293.0ms

Filtered
92 candidates to 131 candidates (-42.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1256131
Fresh516
Picked101
Done000
Total1317138

Merged error: 14.5b

Counts
138 → 7

regimes261.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 (1.0ms)

IterNodesCost
03742
13742

end0.0ms

sample1.1s

Algorithm
intervals
Results
626.0ms2816×body1280valid
156.0ms4035×body80valid
112.0ms650×body640valid
40.0ms327×body320valid
14.0ms172×body160valid

Profiling

Loading profile data...