Details

Time bar (total: 3.9s)

sample32.0ms

Algorithm
intervals
Results
16.0ms80×body1280valid
4.0ms137×body80valid
2.0ms19×body640valid
1.0ms12×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

Filtered
1 candidates to 0 candidates (0.0%)
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))))))

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

series193.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0221492
1697465
22325463
35001463

prune165.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 16.0b

localize17.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))))

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

series126.0ms

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

IterNodesCost
0306616
11080568
24851560
35001560

prune267.0ms

Filtered
96 candidates to 69 candidates (71.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 16.0b

localize27.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))))

rewrite110.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:
59.0ms
(* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x))
16.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
2.0ms
(/ 1.0 (hypot 1.0 x))
29.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))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x))
21.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
5.0ms
(/ 1.0 (hypot 1.0 x))
40.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))))

simplify83.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05631053
12945974
25003974

prune480.0ms

Filtered
121 candidates to 83 candidates (68.6%)
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))))

rewrite14.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:
2.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
2.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
2.0ms
(cbrt (+ 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))))

series754.0ms

Counts
4 → 12
Calls
4 calls:
242.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
239.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
236.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
36.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify103.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0236839
1693777
23836744
35002738

prune215.0ms

Filtered
72 candidates to 50 candidates (69.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 15.6b

regimes129.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
464.0ms2847×body1280valid
112.0ms4058×body80valid
78.0ms608×body640valid
28.0ms320×body320valid
10.0ms167×body160valid