Details

Time bar (total: 3.1s)

sample12.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

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

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
6.0ms
(/ x (+ (* x x) 1.0))

series57.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0165210
1555195
21839192
35001192

prune64.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

2.3b
(/ x (+ (- (* 1.0 1.0)) (pow x 4)))
15.7b
(* (/ x (+ (- (* 1.0 1.0)) (pow x 4))) (- (* x x) 1.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
20×add-cube-cbrt
18×associate-*l*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-*r* associate-/r* associate-/r/
associate-/l*
cbrt-undiv distribute-rgt-in frac-times sub-neg flip3-- distribute-lft-in flip3-+ associate-*r/ div-exp prod-exp flip-- cbrt-unprod flip-+ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative difference-of-squares
Counts
2 → 79
Calls
2 calls:
14.0ms
(/ x (+ (- (* 1.0 1.0)) (pow x 4)))
38.0ms
(* (/ x (+ (- (* 1.0 1.0)) (pow x 4))) (- (* x x) 1.0))

series249.0ms

Counts
2 → 6
Calls
2 calls:
140.0ms
(/ x (+ (- (* 1.0 1.0)) (pow x 4)))
108.0ms
(* (/ x (+ (- (* 1.0 1.0)) (pow x 4))) (- (* x x) 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0427860
11887778
25003745

prune192.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ (pow x 3) (- (pow x 4) (* 1.0 1.0))) (- (/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))))
2.3b
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))
18.3b
(/ (pow x 3) (- (pow x 4) (* 1.0 1.0)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
75×add-sqr-sqrt
51×difference-of-squares
45×*-un-lft-identity
41×add-cube-cbrt
38×unpow-prod-down
24×sqr-pow
21×cube-prod
13×add-exp-log unpow3 associate-/l*
12×associate-/r*
10×add-cbrt-cube
distribute-lft-neg-in distribute-rgt-out
associate-/r/
cube-mult add-log-exp
div-exp
flip3-- flip-- div-inv
pow1 cbrt-undiv
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 pow-to-exp associate-+r- distribute-rgt-neg-in flip3-+ unsub-neg neg-log frac-add pow-exp prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 162
Calls
3 calls:
151.0ms
(+ (/ (pow x 3) (- (pow x 4) (* 1.0 1.0))) (- (/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))))
10.0ms
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))
13.0ms
(/ (pow x 3) (- (pow x 4) (* 1.0 1.0)))

series433.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ (/ (pow x 3) (- (pow x 4) (* 1.0 1.0))) (- (/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))))
152.0ms
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))
163.0ms
(/ (pow x 3) (- (pow x 4) (* 1.0 1.0)))

simplify103.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06661635
135071521
250021521

prune368.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (pow x 9)) (/ 1 (pow x 5)))
0.2b
(/ 1 (pow x 9))
0.3b
(/ 1 (pow x 5))
2.3b
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
50×*-un-lft-identity
44×add-sqr-sqrt
40×add-cube-cbrt
27×add-exp-log
26×unpow-prod-down
20×associate-/r*
14×div-exp
13×add-cbrt-cube
10×sqr-pow
div-inv distribute-lft-out associate-/l*
pow-to-exp rec-exp 1-exp pow-exp add-log-exp difference-of-squares
pow1 cbrt-undiv
frac-2neg clear-num
pow-flip associate-/r/ inv-pow
+-commutative flip3-- flip3-+ frac-add prod-exp sum-log flip-- cbrt-unprod flip-+
Counts
4 → 154
Calls
4 calls:
42.0ms
(+ (/ 1 (pow x 9)) (/ 1 (pow x 5)))
4.0ms
(/ 1 (pow x 9))
4.0ms
(/ 1 (pow x 5))
10.0ms
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))

series419.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(+ (/ 1 (pow x 9)) (/ 1 (pow x 5)))
63.0ms
(/ 1 (pow x 9))
44.0ms
(/ 1 (pow x 5))
152.0ms
(/ (* 1.0 x) (- (pow x 4) (* 1.0 1.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0561927
12659779
25001778

prune374.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.0ms

Accuracy

100% (0.0b remaining)

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

bsearch87.0ms

Steps
ItersRangePoint
10
2.30341956868392e-10
214.50772926448735
25.502076569293887
9
-1898619.482837422
-0.12347723982223391
-3787.269001220626

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05023
15523
25523

end0.0ms

sample229.0ms

Algorithm
intervals
Results
140.0ms8000×body80valid