Details

Time bar (total: 4.1s)

sample20.0ms

Algorithm
intervals
Results
5.0ms54×body1280valid
3.0ms41×body640valid
3.0ms126×body80valid
2.0ms27×body320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(/ x (+ x 1.0))
2.4b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
25.0ms
(/ (+ x 1.0) (- x 1.0))
11.0ms
(/ x (+ x 1.0))
87.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series193.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ (+ x 1.0) (- x 1.0))
37.0ms
(/ x (+ x 1.0))
121.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0392760
11379726
25002716

prune379.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.4b
(/ (- 1.0) (pow x 2))
0.6b
(/ 3.0 (pow x 3))
5.6b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite848.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
99.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
13.0ms
(/ (- 1.0) (pow x 2))
8.0ms
(/ 3.0 (pow x 3))
716.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series153.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
27.0ms
(/ (- 1.0) (pow x 2))
34.0ms
(/ 3.0 (pow x 3))
30.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify98.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07381754
134531596
250011578

prune392.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
0.0b
(* (+ x 1.0) (+ x 1.0))
18.2b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
35×*-un-lft-identity
32×frac-sub
30×flip3-+ flip-+
25×add-sqr-sqrt
20×frac-times flip3-- flip--
19×add-cube-cbrt
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in distribute-lft-in swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
associate--l+ associate-/r*
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
20.0ms
(* x (- x 1.0))
49.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
35.0ms
(* (+ x 1.0) (+ x 1.0))
20.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* x (- x 1.0))
45.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
18.0ms
(* (+ x 1.0) (+ x 1.0))
35.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify137.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
07691735
144371626
250011621

prune314.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
15.0b
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×distribute-lft-neg-in distribute-rgt-neg-in
11×difference-of-squares
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 flip3-+ associate-/r/ flip-+ associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 83
Calls
2 calls:
8.0ms
(+ (* 3.0 x) 1.0)
40.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* 3.0 x) 1.0)
45.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0396962
11629925
25001919

prune162.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
10
8.950540206577903e-05
66689094922.78456
134430.98924424738
9
-3909246627090.811
-1500.694570789724
-4423751.374867698

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03715
14415
24415

end0.0ms

sample648.0ms

Algorithm
intervals
Results
212.0ms1736×body1280valid
117.0ms1240×body640valid
111.0ms4107×body80valid
47.0ms620×body320valid
15.0ms297×body160valid