Details

Time bar (total: 3.7s)

sample31.0ms

Algorithm
intervals
Results
10.0ms50×body1280valid
6.0ms134×body80valid
5.0ms39×body640valid
2.0ms23×body320valid
1.0ms10×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(/ x (+ x 1.0))
2.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
75.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series198.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (+ x 1.0) (- x 1.0))
33.0ms
(/ x (+ x 1.0))
126.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify206.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune725.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(/ 1 (+ x 1.0))
28.9b
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
23×add-cube-cbrt
10×distribute-lft-out
add-exp-log associate-/r*
add-cbrt-cube associate-/l*
distribute-lft-out-- difference-of-squares
pow1 associate-/r/
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l/
rec-exp flip3-- pow-flip 1-exp flip-- fma-udef inv-pow
Counts
3 → 96
Calls
3 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ 1 (+ x 1.0))
0.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

series200.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ (+ x 1.0) (- x 1.0))
22.0ms
(/ 1 (+ x 1.0))
136.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0352622
11229566
25001540

prune180.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(* (+ x 1.0) (+ x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
17.0b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
49×add-sqr-sqrt
44×associate-*r/
43×add-cube-cbrt
37×prod-diff
32×frac-sub
30×flip3-+ flip-+
24×distribute-rgt-in distribute-lft-in
22×associate--l+
20×frac-times flip3-- flip--
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
expm1-log1p-u associate-/r* log1p-expm1-u
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus fma-neg diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 198
Calls
4 calls:
11.0ms
(* x (- x 1.0))
16.0ms
(* (+ x 1.0) (+ x 1.0))
27.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
12.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* x (- x 1.0))
15.0ms
(* (+ x 1.0) (+ x 1.0))
52.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
37.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09062204
150021888

prune445.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
13.9b
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×distribute-lft-neg-in distribute-rgt-neg-in
11×difference-of-squares
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- fma-def frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 88
Calls
2 calls:
3.0ms
(+ (* 3.0 x) 1.0)
17.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series83.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (* 3.0 x) 1.0)
52.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0410971
11643910
25001900

prune193.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes25.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
0126
1146
2146

end0.0ms

sample818.0ms

Algorithm
intervals
Results
275.0ms1693×body1280valid
190.0ms4142×body80valid
160.0ms1231×body640valid
67.0ms627×body320valid
24.0ms307×body160valid