Details

Time bar (total: 4.2s)

sample21.0ms

Algorithm
intervals
Results
5.0ms48×body640valid
5.0ms153×body80valid
2.0ms16×body1280valid
2.0ms24×body320valid
1.0ms15×body160valid

simplify17.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: 10.0b

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

rewrite225.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))
36.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
175.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series327.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune259.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (+ x 1.0))
0.2b
(cbrt (+ x 1.0))
0.2b
(cbrt (+ x 1.0))
14.9b
(+ (- (/ (/ 1.0 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite683.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
12×cbrt-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt distribute-lft-out
cbrt-div times-frac
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+ distribute-lft-out--
pow1/3 frac-add
associate-+l+ sum-log
+-commutative associate-+l- sub-neg flip3-- diff-log frac-sub flip--
Counts
4 → 64
Calls
4 calls:
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
675.0ms
(+ (- (/ (/ 1.0 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series503.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(cbrt (+ x 1.0))
91.0ms
(cbrt (+ x 1.0))
93.0ms
(cbrt (+ x 1.0))
227.0ms
(+ (- (/ (/ 1.0 (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0394902
11244841
25002821

prune218.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(* (+ x 1.0) x)
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
13.8b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
48×associate-*l/
16×frac-add
15×add-sqr-sqrt flip3-- *-un-lft-identity flip--
14×flip3-+ flip-+
13×pow1 add-exp-log add-cbrt-cube
12×frac-times
11×associate-*r*
add-cube-cbrt associate-*l*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
*-commutative
distribute-lft-out unswap-sqr
+-commutative sum-log distribute-lft-out-- difference-of-squares
Counts
4 → 105
Calls
4 calls:
9.0ms
(* (+ x 1.0) x)
12.0ms
(* (+ x 1.0) x)
19.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series190.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (+ x 1.0) x)
47.0ms
(* (+ x 1.0) x)
98.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))

simplify127.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07511323
144271240
250031240

prune319.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×associate-*l/
12×add-sqr-sqrt *-un-lft-identity
10×pow1
frac-times add-cube-cbrt associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
13.0ms
(* (+ x 1.0) x)
15.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
18.0ms
(* (* (+ x 1.0) x) (- x 1.0))

series237.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* (+ x 1.0) x)
95.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
100.0ms
(* (* (+ x 1.0) x) (- x 1.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0430600
12216516
25001515

prune152.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

regimes14.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample615.0ms

Algorithm
intervals
Results
210.0ms1868×body640valid
125.0ms4177×body80valid
81.0ms567×body1280valid
78.0ms896×body320valid
27.0ms492×body160valid