Details

Time bar (total: 2.7s)

sample52.0ms

Algorithm
intervals
Results
29.0ms88×body1280valid
7.0ms133×body80valid
5.0ms20×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify8.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.6b

Counts
2 → 1

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

rewrite14.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))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 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))))))

series31.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0201433
1602413
21984411
35001411

prune127.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 13.1b

Counts
74 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

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

series21.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(hypot 1.0 x)
1.0ms
(hypot 1.0 x)
13.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))))

simplify104.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0244384
1738348
24039341
35001341

prune121.0ms

Filtered
39 candidates to 56 candidates (-43.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54256
Fresh112
Picked101
Done000
Total56359

Merged error: 13.1b

Counts
59 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (hypot 1.0 x) 3)
0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (cbrt (pow (hypot 1.0 x) 3)))))
21.3b
(cbrt (pow (hypot 1.0 x) 3))

rewrite16.0ms

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

series26.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (hypot 1.0 x) 3)
13.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 (cbrt (pow (hypot 1.0 x) 3)))))
1.0ms
(cbrt (pow (hypot 1.0 x) 3))

simplify47.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0321538
11294479
25001467

prune158.0ms

Filtered
48 candidates to 86 candidates (-79.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh022
Picked101
Done000
Total86389

Merged error: 13.1b

Counts
89 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series27.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05651049
12865874
25002874

prune239.0ms

Filtered
57 candidates to 78 candidates (-36.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New76278
Fresh022
Picked101
Done000
Total77481

Merged error: 13.0b

Counts
81 → 4

regimes306.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04336
14336

end0.0ms

sample1.1s

Algorithm
intervals
Results
674.0ms2969×body1280valid
161.0ms3980×body80valid
108.0ms602×body640valid
38.0ms303×body320valid
12.0ms146×body160valid

Profiling

Loading profile data...