Details

Time bar (total: 2.3s)

sample10.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

localize4.0ms

Local error

Found 1 expressions with local error:

17.1b
(/ x (+ (* x x) 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 29
Calls
1 calls:
12.0ms
(/ x (+ (* x x) 1.0))

series54.0ms

Counts
1 → 3
Calls
1 calls:
54.0ms
(/ x (+ (* x x) 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0165210
1555195
21839192
35001192

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* x x) 3)
0.4b
(/ x (+ (pow (* x x) 3) (pow 1.0 3)))
14.6b
(+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0)))
26.7b
(* (/ x (+ (pow (* x x) 3) (pow 1.0 3))) (+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0))))

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
31×times-frac
30×add-sqr-sqrt
25×add-cube-cbrt
21×associate-*l*
14×pow1 add-exp-log add-cbrt-cube
add-log-exp
sum-cubes distribute-lft-out
pow-pow
flip3-+ associate-/r* flip-+
associate-/r/
pow-unpow associate-*r* prod-exp cbrt-unprod associate-/l*
cbrt-undiv frac-times associate-+r+ associate-*r/ div-exp pow-prod-down pow-exp sum-log div-inv rem-cube-cbrt unswap-sqr
+-commutative pow2 distribute-rgt-in cube-mult pow-to-exp associate-+r- sub-neg unpow-prod-down frac-2neg distribute-lft-in pow-plus diff-log unpow3 cube-prod associate-*l/ clear-num pow-sqr *-commutative pow-prod-up sqr-pow
Counts
4 → 124
Calls
4 calls:
6.0ms
(pow (* x x) 3)
26.0ms
(/ x (+ (pow (* x x) 3) (pow 1.0 3)))
35.0ms
(+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0)))
183.0ms
(* (/ x (+ (pow (* x x) 3) (pow 1.0 3))) (+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0))))

series386.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(pow (* x x) 3)
197.0ms
(/ x (+ (pow (* x x) 3) (pow 1.0 3)))
41.0ms
(+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0)))
105.0ms
(* (/ x (+ (pow (* x x) 3) (pow 1.0 3))) (+ (* (* x x) (* x x)) (- (* 1.0 1.0) (* (* x x) 1.0))))

simplify99.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06631457
133861271
250011252

prune351.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x))
0.1b
(/ 1 (pow x 3))
0.2b
(/ 1 (pow x 5))
19.9b
(- (+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x)) (* 1.0 (/ 1 (pow x 3))))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
57×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
19×associate-/r*
12×cube-prod div-exp
11×add-log-exp
frac-sub add-cbrt-cube sqr-pow
associate-*r/ un-div-inv
pow-to-exp rec-exp 1-exp frac-add pow-exp associate-/l*
pow1 cube-mult unpow3
flip3-+ flip-+
cbrt-undiv pow-flip frac-2neg diff-log clear-num sum-log div-inv inv-pow
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 161
Calls
4 calls:
14.0ms
(+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x))
9.0ms
(/ 1 (pow x 3))
8.0ms
(/ 1 (pow x 5))
118.0ms
(- (+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x)) (* 1.0 (/ 1 (pow x 3))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x))
28.0ms
(/ 1 (pow x 3))
43.0ms
(/ 1 (pow x 5))
38.0ms
(- (+ (* 1.0 (/ 1 (pow x 5))) (/ 1 x)) (* 1.0 (/ 1 (pow x 3))))

simplify83.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05051088
12799894
25002886

prune233.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 14.8b

bsearch47.0ms

Steps
ItersRangePoint
8
3.618674152218468
3974.013529084827
730.8537816627762
5
-245174641557899.47
-70725786023593.1
-172600413441418.5

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04323
14323

end0.0ms

sample255.0ms

Algorithm
intervals
Results
136.0ms8000×body80valid