Details

Time bar (total: 5.7s)

sample49.0ms

Algorithm
intervals
Results
16.0ms64×body640valid
8.0ms125×body80valid
6.0ms34×body320valid
6.0ms18×body1280valid
2.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: 10.5b

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)))

rewrite345.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
50.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
227.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ 1.0 (+ x 1.0))
27.0ms
(/ 1.0 (- x 1.0))
45.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
217.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify168.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.4s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize12.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))
33.2b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt prod-diff
11×pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
10×associate-*l/
associate-*r*
add-log-exp
associate-*l*
expm1-log1p-u frac-times flip3-- flip3-+ pow-prod-down prod-exp flip-- cbrt-unprod flip-+ log1p-expm1-u
sub-neg
associate-*r/ *-commutative
fma-neg diff-log fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 101
Calls
4 calls:
10.0ms
(* (+ x 1.0) x)
24.0ms
(* (* (+ x 1.0) x) (- x 1.0))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series352.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (+ x 1.0) x)
98.0ms
(* (* (+ x 1.0) x) (- x 1.0))
36.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
178.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0510907
12774711
25001711

prune213.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize10.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
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×prod-diff associate-*l/
11×distribute-rgt-in distribute-lft-in
10×pow1
frac-times associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv expm1-log1p-u times-frac div-exp log1p-expm1-u associate-/l* add-log-exp
sub-neg *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 108
Calls
3 calls:
9.0ms
(* (+ x 1.0) x)
21.0ms
(* (* (+ x 1.0) x) (- x 1.0))
16.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series234.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (+ x 1.0) x)
105.0ms
(* (* (+ x 1.0) x) (- x 1.0))
88.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0565948
12962739
25001737

prune184.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))

rewrite75.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*
expm1-log1p-u log1p-expm1-u 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 → 160
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))

series191.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 2.0 (- x 1.0))
40.0ms
(* (+ x 1.0) x)
93.0ms
(* (/ 1 (* (+ x 1.0) x)) (/ 2.0 (- x 1.0)))
30.0ms
(/ 1 (* (+ x 1.0) x))

simplify96.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06661035
13528886
25001871

prune278.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes198.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
500.0ms1906×body640valid
286.0ms4141×body80valid
190.0ms955×body320valid
177.0ms545×body1280valid
59.0ms458×body160valid