Details

Time bar (total: 3.7s)

analyze1.0ms

Algorithm
search

sample35.0ms

Algorithm
intervals
Results
18.0ms86×body1280valid
5.0ms135×body80valid
3.0ms16×body640valid
2.0ms13×body320valid
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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.3b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

series35.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201433
1602413
21984411
35001411

prune129.0ms

Filtered
52 candidates to 73 candidates (-40.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 12.8b

Counts
74 → 4

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×associate-*r/
add-log-exp
pow1
add-exp-log add-cbrt-cube
distribute-lft-out
flip3-- associate--l+ associate-/r* frac-sub flip-- associate-/l/
sub-neg flip3-+ flip-+ associate-/l*
distribute-rgt-in distribute-lft-in sqrt-pow1 sqrt-div associate-/r/
cbrt-undiv +-commutative frac-2neg pow1/2 diff-log div-sub div-exp pow-prod-down clear-num sum-log sqrt-prod div-inv
Counts
4 → 81
Calls
4 calls:
9.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)))))))
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))))

series63.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
31.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)))))))
14.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))))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04031245
114281156
250021151

prune252.0ms

Filtered
67 candidates to 93 candidates (-38.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh123
Picked101
Done000
Total91697

Merged error: 12.8b

Counts
97 → 6

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

rewrite37.0ms

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

series84.0ms

Counts
4 → 12
Calls
4 calls:
31.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)))))))
16.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
31.0ms
(exp (log (/ (- (* 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))))

simplify56.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04581858
116131737
250021695

prune318.0ms

Filtered
77 candidates to 111 candidates (-44.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1101111
Fresh235
Picked101
Done000
Total1134117

Merged error: 12.8b

Counts
117 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp (* (cbrt (log (/ (- (* 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))))))))) (cbrt (log (/ (- (* 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))))))))))) (cbrt (log (/ (- (* 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.6b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.6b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.6b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/ associate--l+
11×add-log-exp
sub-neg
add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity
pow1 distribute-rgt-in flip3-- distribute-lft-in frac-sub flip--
add-exp-log cbrt-prod add-cbrt-cube
unpow-prod-down pow-pow diff-log
pow-to-exp exp-prod exp-to-pow pow-exp log-pow sqr-pow
Counts
4 → 77
Calls
4 calls:
4.0ms
(pow (exp (* (cbrt (log (/ (- (* 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))))))))) (cbrt (log (/ (- (* 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))))))))))) (cbrt (log (/ (- (* 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))))))))))
7.0ms
(- (* 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))))
7.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series292.0ms

Counts
4 → 12
Calls
4 calls:
274.0ms
(pow (exp (* (cbrt (log (/ (- (* 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))))))))) (cbrt (log (/ (- (* 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))))))))))) (cbrt (log (/ (- (* 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))))
6.0ms
(- (* 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))))

simplify127.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
02901954
18911761
245841729
350011725

prune592.0ms

Filtered
58 candidates to 89 candidates (-53.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh033
Picked101
Done000
Total88593

Merged error: 12.8b

Counts
93 → 5

regimes380.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03462
13462

end0.0ms

analyze1.0ms

Algorithm
search

sample1.1s

Algorithm
intervals
Results
623.0ms2814×body1280valid
163.0ms4110×body80valid
103.0ms577×body640valid
39.0ms319×body320valid
14.0ms180×body160valid

Profiling

Loading profile data...