Details

Time bar (total: 3.8s)

sample24.0ms

Algorithm
intervals
Results
8.0ms72×body640valid
3.0ms120×body80valid
3.0ms38×body320valid
1.0ms11×body1280valid
1.0ms15×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
34.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
30.0ms
(/ 1.0 (+ x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
224.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0496865
11681827
25002816

prune252.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
0.1b
(/ 1 (pow x 7))
0.2b
(/ 1 (pow x 5))
0.3b
(/ 1 (pow x 3))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
73×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
36×unpow-prod-down
31×add-exp-log
26×associate-/r*
18×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
div-inv distribute-lft-out
add-log-exp
pow1 cube-mult unpow3
cbrt-undiv pow-flip frac-2neg clear-num inv-pow
+-commutative flip3-+ frac-add sum-log flip-+
Counts
4 → 198
Calls
4 calls:
43.0ms
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
6.0ms
(/ 1 (pow x 3))

series228.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
59.0ms
(/ 1 (pow x 7))
46.0ms
(/ 1 (pow x 5))
32.0ms
(/ 1 (pow x 3))

simplify58.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0469961
12563767
25001767

prune310.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3))))
0.0b
(+ (/ 1 (pow x 5)) (pow x (- 3)))
0.1b
(/ 1 (pow x 7))
0.2b
(/ 1 (pow x 5))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
42×times-frac
36×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
22×add-exp-log
14×associate-/r*
12×div-exp distribute-lft-out
11×add-log-exp
frac-add add-cbrt-cube div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 sum-log
flip3-+ flip-+
cbrt-undiv +-commutative neg-sub0 pow-neg pow-flip frac-2neg clear-num inv-pow pow-sub
associate-+r+
Counts
4 → 144
Calls
4 calls:
25.0ms
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3))))
14.0ms
(+ (/ 1 (pow x 5)) (pow x (- 3)))
5.0ms
(/ 1 (pow x 7))
8.0ms
(/ 1 (pow x 5))

series275.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3))))
109.0ms
(+ (/ 1 (pow x 5)) (pow x (- 3)))
57.0ms
(/ 1 (pow x 7))
46.0ms
(/ 1 (pow x 5))

simplify59.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0479976
12361858
25002857

prune263.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
0.0b
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
19.7b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*l/
36×flip3-- flip--
32×frac-add
28×frac-times
24×flip3-+ flip-+
20×add-exp-log add-cbrt-cube
18×associate-/l/
15×add-sqr-sqrt
14×associate-*r/
13×*-un-lft-identity
11×pow1
10×associate-*r*
add-cube-cbrt
associate-/r/
prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
associate-+l+ associate-*l* pow-prod-down
cbrt-undiv times-frac div-exp associate-/l*
*-commutative distribute-lft-out-- difference-of-squares
+-commutative frac-2neg clear-num associate-/r* sum-log div-inv unswap-sqr
Counts
4 → 144
Calls
4 calls:
8.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
23.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series232.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
95.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010372507
150012360

prune677.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch83.0ms

Steps
ItersRangePoint
6
24048332.968690775
157562194.2867214
43997267.71868038
8
-6278109458.210218
-4010492.3299602284
-24271205.09098764

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04924
14924

end0.0ms

sample595.0ms

Algorithm
intervals
Results
204.0ms1880×body640valid
118.0ms4114×body80valid
82.0ms607×body1280valid
76.0ms952×body320valid
24.0ms447×body160valid