Details

Time bar (total: 3.6s)

sample31.0ms

Algorithm
intervals
Results
16.0ms97×body1280valid
4.0ms130×body80valid
2.0ms15×body640valid
1.0ms11×body320valid
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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.5b

localize11.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))
1.1b
(- 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 → 66
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series198.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
76.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(/ 1.0 (hypot 1.0 x))
89.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify80.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0221492
1697465
22325463
35001463

prune167.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 14.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
10.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
2.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series70.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
5.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
33.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify176.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0288547
11035512
24960506
35001506

prune261.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 13.9b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (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))
0.6b
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

rewrite62.0ms

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

series140.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
22.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
5.0ms
(/ 1.0 (hypot 1.0 x))
37.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))))

simplify93.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0533882
12698815
25001815

prune401.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 13.9b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series140.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06061101
13189929
25002929

prune485.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 13.9b

regimes229.0ms

Accuracy

0% (0.0b remaining)

Error of 15.3b against oracle of 15.2b and baseline of 15.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13222
23222

end0.0ms

sample849.0ms

Algorithm
intervals
Results
487.0ms2859×body1280valid
124.0ms4020×body80valid
85.0ms647×body640valid
29.0ms322×body320valid
10.0ms152×body160valid