Details

Time bar (total: 5.2s)

sample26.0ms

Algorithm
intervals
Results
7.0ms53×body640valid
5.0ms144×body80valid
3.0ms20×body1280valid
3.0ms27×body320valid
1.0ms12×body160valid

simplify19.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

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: 7.9b

Counts
2 → 1

localize12.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))
1.9b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite143.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))
26.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
50.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
25.0ms
(/ 1.0 (+ x 1.0))
220.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify163.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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New6291630
Fresh000
Picked011
Done000
Total6292631

Merged error: 0.0b

Counts
631 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

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

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)))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (pow x 3))
5.0ms
(/ 1 (pow x 7))

series263.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
46.0ms
(/ 1 (pow x 5))
35.0ms
(/ 2.0 (pow x 3))
58.0ms
(/ 1 (pow x 7))

simplify54.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0450904
12278777
25001777

prune351.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1963199
Fresh000
Picked011
Done011
Total1965201

Merged error: 0b

Counts
201 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 5))
0.1b
(/ 1 (pow x 7))
0.1b
(/ (/ 2.0 (* x x)) x)
0.6b
(/ 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 5))
5.0ms
(/ 1 (pow x 7))
7.0ms
(/ (/ 2.0 (* x x)) x)
4.0ms
(/ 2.0 (* x x))

series162.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1 (pow x 5))
57.0ms
(/ 1 (pow x 7))
35.0ms
(/ (/ 2.0 (* x x)) x)
29.0ms
(/ 2.0 (* x x))

simplify62.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0511914
12528828
25001768

prune357.0ms

Filtered
195 candidates to 105 candidates (53.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1941195
Fresh202
Picked011
Done022
Total1964200

Merged error: 0b

Counts
200 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 5))
0.1b
(/ 1 (pow x 7))
0.1b
(/ (/ (/ 2.0 x) x) x)
0.1b
(/ (/ 2.0 x) x)

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
510×times-frac
262×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
62×associate-/l*
36×add-exp-log
24×unpow-prod-down div-inv
22×add-cbrt-cube
21×div-exp
20×associate-/r*
11×cbrt-undiv
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 associate-/l/ inv-pow
Counts
4 → 376
Calls
4 calls:
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 7))
13.0ms
(/ (/ (/ 2.0 x) x) x)
6.0ms
(/ (/ 2.0 x) x)

series170.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ 1 (pow x 5))
58.0ms
(/ 1 (pow x 7))
34.0ms
(/ (/ (/ 2.0 x) x) x)
31.0ms
(/ (/ 2.0 x) x)

simplify59.0ms

Algorithm
egg-herbie
Counts
388 → 388
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011952820
150022549

prune905.0ms

Filtered
388 candidates to 225 candidates (58.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3880388
Fresh000
Picked011
Done033
Total3884392

Merged error: 0b

Counts
392 → 4

regimes56.0ms

Accuracy

94.4% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 9.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03529
13529

end0.0ms

sample728.0ms

Algorithm
intervals
Results
267.0ms1954×body640valid
155.0ms4139×body80valid
93.0ms927×body320valid
87.0ms511×body1280valid
32.0ms473×body160valid