Details

Time bar (total: 5.7s)

sample38.0ms

Algorithm
intervals
Results
19.0ms89×body1280valid
5.0ms123×body80valid
4.0ms26×body640valid
1.0ms10×body320valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03212
13212

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.3b

Counts
2 → 1

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

series43.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05021879

prune128.0ms

Filtered
54 candidates to 78 candidates (-44.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh000
Picked101
Done000
Total76379

Merged error: 14.8b

Counts
79 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
25×add-sqr-sqrt
20×add-cube-cbrt
19×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1
diff-log distribute-lft-out--
cbrt-undiv sub-neg flip3-- frac-2neg div-exp associate--l+ clear-num frac-sub flip-- div-inv difference-of-squares
+-commutative associate--l- flip3-+ sum-log flip-+ distribute-lft-out
Counts
4 → 88
Calls
4 calls:
3.0ms
(/ 0.5 (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))))))
11.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

series29.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049641085
149641085

prune233.0ms

Filtered
74 candidates to 100 candidates (-35.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New955100
Fresh112
Picked101
Done000
Total976103

Merged error: 14.5b

Counts
103 → 6

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

rewrite37.0ms

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

series38.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
055551547

prune361.0ms

Filtered
61 candidates to 86 candidates (-41.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New83386
Fresh235
Picked101
Done000
Total86692

Merged error: 14.4b

Counts
92 → 6

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
304×add-sqr-sqrt
184×*-un-lft-identity
179×times-frac
123×unpow-prod-down cube-prod
120×difference-of-squares
108×frac-add
76×flip3-- flip--
74×associate-/r/
72×frac-times
69×add-cube-cbrt
66×distribute-lft-out--
54×associate-*r/
51×sqr-pow
37×associate-/l*
27×associate-*l/
19×flip3-+ flip-+
14×add-exp-log add-cbrt-cube
13×associate-*l*
cube-div
pow1
add-log-exp
difference-cubes associate-*r*
frac-sub div-inv associate-/l/
cbrt-undiv pow-unpow div-exp associate-/r*
pow-exp prod-exp cbrt-unprod distribute-lft-out rem-cube-cbrt unswap-sqr
distribute-rgt-in cube-mult pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in diff-log unpow3 div-sub pow-prod-down clear-num *-commutative
Counts
4 → 380
Calls
4 calls:
48.0ms
(/ (- (pow (- 1.0 0.5) 3) (pow (/ 0.5 (hypot 1.0 x)) 3)) (+ (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))))
19.0ms
(* (/ 0.5 (hypot 1.0 x)) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))
5.0ms
(pow (/ 0.5 (hypot 1.0 x)) 3)
27.0ms
(- (pow (- 1.0 0.5) 3) (pow (/ 0.5 (hypot 1.0 x)) 3))

series96.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (- (pow (- 1.0 0.5) 3) (pow (/ 0.5 (hypot 1.0 x)) 3)) (+ (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))))
14.0ms
(* (/ 0.5 (hypot 1.0 x)) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))
9.0ms
(pow (/ 0.5 (hypot 1.0 x)) 3)
15.0ms
(- (pow (- 1.0 0.5) 3) (pow (/ 0.5 (hypot 1.0 x)) 3))

simplify129.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0539718530

prune2.9s

Filtered
226 candidates to 392 candidates (-73.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3902392
Fresh055
Picked101
Done000
Total3917398

Merged error: 14.4b

Counts
398 → 7

regimes124.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03566
13566

end0.0ms

sample1.1s

Algorithm
intervals
Results
638.0ms2896×body1280valid
154.0ms3967×body80valid
114.0ms643×body640valid
42.0ms348×body320valid
11.0ms146×body160valid

Profiling

Loading profile data...