Details

Time bar (total: 4.1s)

sample80.0ms

Algorithm
intervals
Results
29.0ms64×body640valid
15.0ms125×body80valid
11.0ms34×body320valid
10.0ms18×body1280valid
3.0ms15×body160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.5b

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

rewrite230.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))
37.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
179.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series321.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
32.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
223.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0496865
11681827
25001816

prune244.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
0.2b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
18.5b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite68.0ms

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

series186.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (+ x 1.0) x)
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
38.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
1.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify121.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07711337
144701257
250021257

prune300.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite51.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:
9.0ms
(* (+ x 1.0) x)
19.0ms
(* (* (+ x 1.0) x) (- x 1.0))
20.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series237.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ x 1.0) x)
98.0ms
(* (* (+ x 1.0) x) (- x 1.0))
92.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0430600
12219516
25002515

prune169.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
64×add-exp-log
50×add-sqr-sqrt
45×*-un-lft-identity
37×times-frac
34×add-cbrt-cube
29×add-cube-cbrt
24×associate-*r* prod-exp
20×div-exp
13×associate-*l*
11×pow1
10×cbrt-undiv cbrt-unprod
associate-/r/
associate-*l/ distribute-lft-out-- difference-of-squares
rec-exp 1-exp associate-/r* associate-/l*
div-inv add-log-exp
flip3-+ pow-prod-down flip-+ unswap-sqr
flip3-- pow-flip frac-2neg clear-num *-commutative flip--
frac-times associate-*r/ distribute-lft-out inv-pow
Counts
4 → 152
Calls
4 calls:
5.0ms
(/ 2.0 (- x 1.0))
10.0ms
(* (+ x 1.0) x)
45.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
8.0ms
(/ 1 (* (+ x 1.0) x))

series202.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 2.0 (- x 1.0))
42.0ms
(* (+ x 1.0) x)
90.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
35.0ms
(/ 1 (* (+ x 1.0) x))

simplify87.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06461005
13429855
25002847

prune270.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample1.3s

Algorithm
intervals
Results
480.0ms1906×body640valid
277.0ms4141×body80valid
184.0ms955×body320valid
176.0ms545×body1280valid
59.0ms458×body160valid