Details

Time bar (total: 3.8s)

sample28.0ms

Algorithm
intervals
Results
13.0ms80×body1280valid
4.0ms137×body80valid
2.0ms19×body640valid
1.0ms12×body320valid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.5b

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

rewrite21.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:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 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))))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
30.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
5.0ms
(/ 1.0 (hypot 1.0 x))
82.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0221492
1697465
22325463
35001463

prune157.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 16.0b

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×add-sqr-sqrt add-cube-cbrt
18×times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 associate-*r/ associate--l+
sub-neg
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-exp clear-num frac-sub flip-- div-inv
+-commutative flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ 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))))

series125.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
5.0ms
(/ 1.0 (hypot 1.0 x))
9.0ms
(/ 1.0 (hypot 1.0 x))
32.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify139.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0306616
11080568
24851560
35001560

prune251.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 16.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x))
0.0b
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
0.0b
(/ 1.0 (hypot 1.0 x))
2.1b
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
28×associate-*l*
26×*-un-lft-identity
16×add-cube-cbrt difference-of-squares
12×unpow-prod-down cube-prod
10×add-exp-log add-cbrt-cube
times-frac
pow1 sqr-pow
associate-*r/ associate-*r* associate-*l/ add-log-exp
distribute-lft-out--
flip3-- frac-sub flip--
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod associate--r+ unswap-sqr
difference-cubes cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 109
Calls
4 calls:
20.0ms
(* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x))
9.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
3.0ms
(/ 1.0 (hypot 1.0 x))
18.0ms
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

series86.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x))
20.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
5.0ms
(/ 1.0 (hypot 1.0 x))
35.0ms
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

simplify84.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05631053
12945974
25003974

prune468.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 15.6b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log associate-*r/ associate--l+ add-cbrt-cube
sub-neg flip3-+ pow1/3 flip-+ distribute-lft-out
distribute-rgt-in flip3-- distribute-lft-in frac-sub flip--
diff-log
Counts
4 → 60
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
10.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series742.0ms

Counts
4 → 12
Calls
4 calls:
235.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
241.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
234.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
32.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify104.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0236839
1693777
23836744
35002738

prune215.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 15.6b

regimes134.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02330
12330

end0.0ms

sample804.0ms

Algorithm
intervals
Results
462.0ms2847×body1280valid
118.0ms4058×body80valid
79.0ms608×body640valid
28.0ms320×body320valid
10.0ms167×body160valid