Details

Time bar (total: 4.8s)

sample31.0ms

Algorithm
intervals
Results
12.0ms73×body640valid
4.0ms43×body320valid
4.0ms113×body80valid
3.0ms15×body1280valid
1.0ms12×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune1.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: 12.0b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
0.0b
(/ 1.0 (+ x 1.0))
3.6b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
21.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
51.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (- x 1.0))
58.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
25.0ms
(/ 1.0 (+ x 1.0))
231.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify166.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.2s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New6273630
Fresh000
Picked101
Done000
Total6283631

Merged error: 0.1b

Counts
631 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))
0.1b
(/ 2.0 (pow x 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
61×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
26×associate-/r*
15×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
fma-udef
Counts
4 → 187
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
4.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (pow x 3))

series255.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
57.0ms
(/ 1 (pow x 7))
47.0ms
(/ 1 (pow x 5))
35.0ms
(/ 2.0 (pow x 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0450904
12278777
25001777

prune365.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1954199
Fresh022
Picked011
Done000
Total1957202

Merged error: 0.0b

Counts
202 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))
0.1b
(/ (/ 2.0 (* x x)) x)
0.9b
(/ 2.0 (* x x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
19×div-exp
18×associate-/r*
16×associate-/l*
cbrt-undiv
div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip prod-exp cbrt-unprod inv-pow
associate-/l/
Counts
4 → 183
Calls
4 calls:
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
6.0ms
(/ (/ 2.0 (* x x)) x)
5.0ms
(/ 2.0 (* x x))

series163.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ 1 (pow x 7))
41.0ms
(/ 1 (pow x 5))
40.0ms
(/ (/ 2.0 (* x x)) x)
24.0ms
(/ 2.0 (* x x))

simplify60.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0511914
12528828
25001768

prune392.0ms

Filtered
195 candidates to 106 candidates (54.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh055
Picked011
Done011
Total1957202

Merged error: 0.0b

Counts
202 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))
0.1b
(* (/ 1 (* x x)) (/ 2.0 x))
0.9b
(/ 1 (* x x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
78×add-exp-log
64×times-frac
60×add-sqr-sqrt
49×*-un-lft-identity
47×add-cube-cbrt
34×add-cbrt-cube
31×div-exp
24×unpow-prod-down
23×prod-exp
15×associate-/r*
14×pow1
13×associate-*r*
12×rec-exp 1-exp
11×cbrt-undiv
cbrt-unprod associate-/l*
pow-flip sqr-pow
associate-*l*
pow-to-exp pow-exp unswap-sqr
div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num inv-pow
pow-prod-down
pow2 frac-times pow-plus associate-*r/ associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 204
Calls
4 calls:
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
11.0ms
(* (/ 1 (* x x)) (/ 2.0 x))
5.0ms
(/ 1 (* x x))

series163.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ 1 (pow x 7))
42.0ms
(/ 1 (pow x 5))
43.0ms
(* (/ 1 (* x x)) (/ 2.0 x))
17.0ms
(/ 1 (* x x))

simplify79.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0649986
13593855
25001762

prune346.0ms

Filtered
216 candidates to 100 candidates (46.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2151216
Fresh134
Picked101
Done022
Total2176223

Merged error: 0.0b

Counts
223 → 6

regimes42.0ms

Accuracy

99.8% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 32.0b

bsearch141.0ms

Steps
ItersRangePoint
10
0.00022027325057658872
62623256.830634765
118.6549351488726
10
-206683631373.734
-17.831791951177678
-119.66458981145452

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04624
14624

end0.0ms

sample734.0ms

Algorithm
intervals
Results
268.0ms1941×body640valid
148.0ms4133×body80valid
96.0ms934×body320valid
96.0ms554×body1280valid
29.0ms439×body160valid

Profiling

Loading profile data...