Details

Time bar (total: 4.6s)

sample23.0ms

Algorithm
intervals
Results
6.0ms64×body640valid
3.0ms43×body320valid
3.0ms121×body80valid
2.0ms15×body1280valid
1.0ms13×body160valid

simplify18.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: 7.6b

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

rewrite360.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:
10.0ms
(/ 1.0 (+ x 1.0))
12.0ms
(/ 1.0 (- x 1.0))
60.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
274.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
46.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
223.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune244.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

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

rewrite450.0ms

Algorithm
rewrite-expression-head
Rules
241×*-un-lft-identity
196×times-frac
147×add-sqr-sqrt
114×distribute-rgt-neg-in
100×distribute-lft-neg-in
91×add-cube-cbrt
42×distribute-lft-out--
26×neg-mul-1 difference-of-squares
25×distribute-lft-out
18×associate-/r*
13×associate-/l*
11×add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/r/
flip3-- distribute-frac-neg frac-add flip--
cbrt-undiv neg-sub0 sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-sub div-exp clear-num sum-log frac-sub flip-+ div-inv distribute-neg-frac
+-commutative associate-+l- associate-+r- unsub-neg
Counts
4 → 268
Calls
4 calls:
11.0ms
(/ 1.0 (+ x 1.0))
23.0ms
(/ (- 1.0) (- (- x 1.0)))
58.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
344.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (- 1.0) (- (- x 1.0))))

series325.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ x 1.0))
29.0ms
(/ (- 1.0) (- (- x 1.0)))
44.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
225.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (- 1.0) (- (- x 1.0))))

simplify85.0ms

Algorithm
egg-herbie
Counts
280 → 280
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
08732340
132222266
250022265

prune551.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* (- (* 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.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
21.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*l/
32×frac-add
31×flip3-- flip--
24×frac-times flip3-+ flip-+
18×add-exp-log add-cbrt-cube associate-/l/
12×associate-*r/
pow1 add-sqr-sqrt *-un-lft-identity
associate-/r/ add-log-exp
add-cube-cbrt
prod-exp cbrt-unprod
sub-neg associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in
cbrt-undiv times-frac div-exp pow-prod-down associate-/l*
+-commutative frac-2neg diff-log associate-*l* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 124
Calls
4 calls:
94.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
8.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
45.0ms
(* (* (+ x 1.0) x) (- x 1.0))
28.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series241.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
41.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
104.0ms
(* (* (+ x 1.0) x) (- x 1.0))
2.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09972264
150012129

prune450.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize6.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.3b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite105.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:
21.0ms
(* (+ x 1.0) x)
42.0ms
(* (* (+ x 1.0) x) (- x 1.0))
38.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series243.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0430600
12219516
25002515

prune156.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

regimes11.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

sample578.0ms

Algorithm
intervals
Results
182.0ms1872×body640valid
116.0ms4149×body80valid
74.0ms964×body320valid
67.0ms550×body1280valid
23.0ms468×body160valid