Details

Time bar (total: 4.7s)

sample22.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
4.0ms132×body80valid
2.0ms31×body320valid
2.0ms17×body1280valid
1.0ms15×body160valid

simplify19.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: 8.7b

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

rewrite344.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:
8.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
49.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
234.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series316.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
31.0b
(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:
9.0ms
(* (+ x 1.0) x)
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
25.0ms
(* (* (+ x 1.0) x) (- x 1.0))
0.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series366.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (+ x 1.0) x)
44.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))
184.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0510907
12772711
25001711

prune233.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.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:
10.0ms
(* (+ x 1.0) x)
21.0ms
(* (* (+ x 1.0) x) (- x 1.0))
17.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series240.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0565948
12962739
25001737

prune183.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
51×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
19×add-exp-log add-cbrt-cube
16×associate-*l/ associate-/r/
12×associate-/l*
10×distribute-lft-out-- difference-of-squares
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
associate-/r*
pow1
associate-*l*
expm1-log1p-u associate-*r* prod-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-- pow-prod-down *-commutative flip-- associate-/l/ distribute-lft-out unswap-sqr
Counts
3 → 128
Calls
3 calls:
9.0ms
(* (+ x 1.0) x)
13.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
5.0ms
(/ 2.0 (* (+ x 1.0) x))

series183.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05751036
12628954
25002949

prune262.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes13.0ms

Accuracy

0% (0.0b 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
0105
1105

end0.0ms

sample576.0ms

Algorithm
intervals
Results
196.0ms1899×body640valid
117.0ms4184×body80valid
75.0ms527×body1280valid
70.0ms915×body320valid
28.0ms476×body160valid