Details

Time bar (total: 10.2s)

sample210.0ms

Algorithm
intervals
Results
63.0ms138×body1280valid
39.0ms66×body1280nan
25.0ms57×body640nan
20.0ms39×body10240exit
16.0ms51×body640valid
8.0ms198×body80nan
5.0ms21×body320nan
5.0ms26×body320valid
4.0ms91×body80valid
3.0ms19×body160nan
2.0ms15×body160valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.9b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series485.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(pow x (/ 1.0 n))
147.0ms
(pow (+ x 1.0) (/ 1.0 n))
276.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11600623
25001609

prune207.0ms

Filtered
88 candidates to 70 candidates (79.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 17.8b

Counts
89 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(* (log (+ x 1.0)) (/ 1.0 n))
0.8b
(log (+ x 1.0))
1.6b
(- (exp (* (log (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
19×times-frac
13×pow-unpow associate-*r*
11×add-exp-log
pow1 add-cbrt-cube
add-log-exp
unpow-prod-down log-prod associate-*l*
difference-of-squares
log-div prod-exp log-pow cbrt-unprod div-inv unswap-sqr sqr-pow
cbrt-undiv pow-to-exp sub-neg flip3-- pow-pow flip3-+ diff-log associate-*r/ div-exp rem-log-exp pow-prod-down pow-exp *-commutative flip-- flip-+ distribute-lft-out distribute-lft-out--
Counts
4 → 91
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
7.0ms
(* (log (+ x 1.0)) (/ 1.0 n))
3.0ms
(log (+ x 1.0))
8.0ms
(- (exp (* (log (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

series489.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(pow x (/ 1.0 n))
110.0ms
(* (log (+ x 1.0)) (/ 1.0 n))
41.0ms
(log (+ x 1.0))
280.0ms
(- (exp (* (log (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0618758
12494692
25001690

prune244.0ms

Filtered
103 candidates to 81 candidates (78.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh033
Picked011
Done000
Total1016107

Merged error: 17.5b

Counts
107 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (* (log x) 1.0) (* x (pow n 2)))
2.8b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.2b
(/ (/ 0.5 n) (pow x 2))
8.1b
(* x (pow n 2))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
189×times-frac
113×add-sqr-sqrt
103×*-un-lft-identity
98×add-cube-cbrt
46×add-exp-log unpow-prod-down
23×add-cbrt-cube
17×div-exp
16×unpow2 sqr-pow
14×associate-/l*
13×prod-exp
11×div-inv
associate-/r* add-log-exp
associate-*r*
cbrt-undiv
pow-to-exp pow-exp cbrt-unprod
pow1 frac-sub unswap-sqr
diff-log associate-*l* distribute-lft-out-- difference-of-squares
sub-neg flip3-- frac-2neg clear-num flip-- associate--r+
*-commutative associate-/l/ associate--r-
Counts
4 → 220
Calls
4 calls:
6.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
65.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
8.0ms
(/ (/ 0.5 n) (pow x 2))
9.0ms
(* x (pow n 2))

series211.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
65.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
30.0ms
(/ (/ 0.5 n) (pow x 2))
30.0ms
(* x (pow n 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011122049
150011857

prune544.0ms

Filtered
232 candidates to 140 candidates (60.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2257232
Fresh134
Picked101
Done011
Total22711238

Merged error: 17.4b

Counts
238 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

1.9b
(log (exp (/ 0.5 (* (pow x 2) n))))
2.8b
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.5b
(* (pow x 2) n)
8.1b
(* x (pow n 2))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
21×*-un-lft-identity
14×add-exp-log add-cube-cbrt
11×associate-*r* associate-*l*
log-pow
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
exp-prod
pow1 log-prod times-frac prod-exp
associate--r+ distribute-lft-out--
unpow2 sqr-pow
diff-log associate--l+ difference-of-squares
pow-to-exp sub-neg flip3-- pow-exp *-commutative frac-sub flip-- cbrt-unprod
rem-log-exp div-inv associate--r-
Counts
4 → 100
Calls
4 calls:
4.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
32.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
5.0ms
(* (pow x 2) n)
5.0ms
(* x (pow n 2))

series141.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(log (exp (/ 0.5 (* (pow x 2) n))))
70.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
18.0ms
(* (pow x 2) n)
31.0ms
(* x (pow n 2))

simplify72.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0514973
12276880
25001868

prune312.0ms

Filtered
112 candidates to 77 candidates (68.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1093112
Fresh189
Picked011
Done011
Total11013123

Merged error: 17.4b

Counts
123 → 13

regimes261.0ms

Accuracy

82.4% (2.0b remaining)

Error of 23.8b against oracle of 21.9b and baseline of 33.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05138
15138

end0.0ms

sample6.5s

Algorithm
intervals
Results
1.8s3890×body1280valid
1.3s2237×body1280nan
737.0ms1810×body640nan
632.0ms1871×body640valid
618.0ms1455×body10240exit
262.0ms6267×body80nan
224.0ms912×body320nan
196.0ms898×body320valid
150.0ms3123×body80valid
64.0ms436×body160valid
63.0ms444×body160nan