Details

Time bar (total: 5.0s)

sample26.0ms

Algorithm
intervals
Results
8.0ms67×body640valid
4.0ms125×body80valid
3.0ms19×body1280valid
3.0ms31×body320valid
1.0ms14×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: 9.8b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite470.0ms

Algorithm
rewrite-expression-head
Rules
688×*-un-lft-identity
676×times-frac
495×add-sqr-sqrt
471×add-cube-cbrt
468×prod-diff
236×associate-+l+
91×distribute-lft-out
63×div-inv
54×associate-/r/
28×flip3-+ flip-+
18×fma-neg
13×distribute-lft-out--
10×fma-def
add-log-exp
difference-of-squares
frac-add
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log sum-log frac-sub add-cbrt-cube flip-- log1p-expm1-u
+-commutative associate-+l-
Counts
2 → 544
Calls
2 calls:
78.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
342.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series394.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
352.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify144.0ms

Algorithm
egg-herbie
Counts
550 → 550
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0100110566
129187914
250016472

prune1.1s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(/ (fma (- (* 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.1b
(* (* (+ x 1.0) x) (- x 1.0))
32.2b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt prod-diff
18×add-exp-log add-cbrt-cube
16×associate-*l/
11×distribute-rgt-in distribute-lft-in
pow1
frac-times associate-/r/
flip3-- flip--
flip3-+ prod-exp cbrt-unprod flip-+ add-log-exp
associate-*r*
expm1-log1p-u associate-*r/ log1p-expm1-u
cbrt-undiv sub-neg times-frac div-exp pow-prod-down associate-/l*
frac-2neg fma-neg diff-log associate-*l* clear-num associate-/r* *-commutative fma-udef div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 111
Calls
4 calls:
8.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
35.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
47.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))

series585.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
282.0ms
(/ (fma (- (* 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))
170.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify92.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06371498
130821198
250011198

prune280.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite110.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:
20.0ms
(* (+ x 1.0) x)
37.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
49.0ms
(* (* (+ x 1.0) x) (- x 1.0))

series223.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0565948
12961739
25002737

prune203.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (pow x 3) (* 1.0 x))
0.1b
(/ 2.0 (- (pow x 3) (* 1.0 x)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac fma-neg prod-diff
unpow3
unpow-prod-down cube-prod
distribute-rgt-out--
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u cube-mult flip3-- associate-/r/ flip-- log1p-expm1-u sqr-pow
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 74
Calls
2 calls:
21.0ms
(- (pow x 3) (* 1.0 x))
24.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series144.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(- (pow x 3) (* 1.0 x))
67.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0294484
11279440
25001434

prune155.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes12.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample681.0ms

Algorithm
intervals
Results
221.0ms1845×body640valid
128.0ms4078×body80valid
90.0ms608×body1280valid
83.0ms973×body320valid
29.0ms497×body160valid