Details

Time bar (total: 3.1s)

sample41.0ms

Algorithm
intervals
Results
23.0ms104×body1280valid
5.0ms116×body80valid
4.0ms22×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: 16.8b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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 → 66
Calls
4 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
9.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series191.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0221492
1697465
22323463
35001463

prune137.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New76278
Fresh000
Picked101
Done000
Total77279

Merged error: 16.4b

Counts
79 → 2

localize13.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))))))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
1.0b
(- (* 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
12×add-sqr-sqrt add-cube-cbrt
10×add-log-exp
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r/ associate--l+
sub-neg associate-/r* associate-/l*
+-commutative distribute-rgt-in flip3-- distribute-lft-in flip3-+ sum-log frac-sub flip-- flip-+ distribute-lft-out
cbrt-undiv frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 69
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 (hypot 1.0 x)))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series149.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0350554
11241510
25001506

prune172.0ms

Filtered
81 candidates to 57 candidates (70.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79281
Fresh011
Picked101
Done000
Total80383

Merged error: 16.4b

Counts
83 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series209.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
64.0ms
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))) (* (+ 1.0 0.5) (hypot 1.0 x)))
27.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
37.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06141108
13011926
25001926

prune254.0ms

Filtered
83 candidates to 60 candidates (72.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh022
Picked101
Done000
Total82486

Merged error: 16.3b

Counts
86 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series174.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0329627
11028560
25002557

prune161.0ms

Filtered
76 candidates to 51 candidates (67.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh033
Picked011
Done000
Total76480

Merged error: 16.3b

Counts
80 → 4

regimes135.0ms

Accuracy

0% (0.0b remaining)

Error of 14.9b against oracle of 14.9b and baseline of 14.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02115
12115

end0.0ms

sample1.1s

Algorithm
intervals
Results
626.0ms2845×body1280valid
167.0ms4046×body80valid
108.0ms625×body640valid
38.0ms314×body320valid
13.0ms170×body160valid