Details

Time bar (total: 3.2s)

sample32.0ms

Algorithm
intervals
Results
16.0ms98×body1280valid
4.0ms118×body80valid
3.0ms21×body640valid
1.0ms11×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: 18.9b

localize8.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
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.5b
(- 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:
5.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series181.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
5.0ms
(/ 1.0 (hypot 1.0 x))
71.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
80.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221492
1697465
22323463
35001463

prune156.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 18.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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 (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))))))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series117.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
75.0ms
(+ 1.0 (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))))

simplify143.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0306616
11080568
24851560
35001560

prune255.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

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

rewrite21.0ms

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

series180.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
5.0ms
(/ 1.0 (hypot 1.0 x))
75.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
31.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0445704
11765663
25001663

prune287.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sqrt (hypot 1.0 x)))
0.1b
(/ 1 (sqrt (hypot 1.0 x)))
0.3b
(* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))
2.0b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
94×times-frac
66×*-un-lft-identity
60×add-cube-cbrt
53×sqrt-prod
32×add-exp-log
22×associate-*r* associate-*l*
20×add-cbrt-cube
15×associate-*r/ unswap-sqr
12×associate-/r*
11×div-exp
pow1 prod-exp
cbrt-undiv frac-sub associate-/l* add-log-exp
flip3-- associate--l+ flip-- cbrt-unprod div-inv
frac-times sub-neg rec-exp pow-flip 1-exp associate-*l/
distribute-rgt-in frac-2neg distribute-lft-in clear-num
sqrt-pow1 pow1/2 diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 189
Calls
4 calls:
7.0ms
(/ 1.0 (sqrt (hypot 1.0 x)))
4.0ms
(/ 1 (sqrt (hypot 1.0 x)))
17.0ms
(* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))
7.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))))

series84.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1.0 (sqrt (hypot 1.0 x)))
14.0ms
(/ 1 (sqrt (hypot 1.0 x)))
6.0ms
(* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))
31.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (/ 1 (sqrt (hypot 1.0 x))) (/ 1.0 (sqrt (hypot 1.0 x))))))

simplify80.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06421857
131761641
250011524

prune436.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

regimes105.0ms

Accuracy

0% (0.0b remaining)

Error of 14.4b against oracle of 14.4b and baseline of 14.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02920
12920

end0.0ms

sample826.0ms

Algorithm
intervals
Results
464.0ms2796×body1280valid
131.0ms4124×body80valid
81.0ms610×body640valid
28.0ms309×body320valid
12.0ms161×body160valid