Details

Time bar (total: 2.7s)

sample15.0ms

Algorithm
intervals
Results
4.0ms60×body640valid
3.0ms134×body80valid
2.0ms38×body320valid
1.0ms24×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
362×*-un-lft-identity
358×times-frac
265×add-sqr-sqrt
253×add-cube-cbrt
234×prod-diff
49×distribute-lft-out
35×div-inv
30×associate-/r/
18×fma-neg
15×flip3-+ flip-+
distribute-lft-out--
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num frac-sub flip--
Counts
2 → 314
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
51.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series86.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ 1.0 (+ x 1.0))
59.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify102.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
08736795
126454746
250013686

prune217.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
17×add-exp-log add-sqr-sqrt add-cbrt-cube
13×add-cube-cbrt
12×prod-diff
add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out
cbrt-undiv div-exp associate-*l* associate-*l/
expm1-log1p-u fma-neg associate-*r* log1p-expm1-u
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out--
sub-neg frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* associate--r+ difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
10.0ms
(* (+ x 1.0) x)
25.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
10.0ms
(- x (+ x 1.0))

series84.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(* (+ x 1.0) x)
37.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
7.0ms
(- x (+ x 1.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0402611
12289439
25001426

prune135.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
959×times-frac
669×*-un-lft-identity
509×add-sqr-sqrt
381×add-cube-cbrt
86×associate-/l*
80×distribute-lft-out
64×distribute-lft-out-- difference-of-squares
37×associate-/r/
29×associate-/r*
22×div-inv
16×add-exp-log flip3-- add-cbrt-cube flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 478
Calls
2 calls:
13.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
37.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series62.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
35.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

simplify83.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015965690
150025510

prune882.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
32×times-frac
31×add-sqr-sqrt
24×add-cube-cbrt
18×associate-*r* associate-*l*
15×add-exp-log
add-cbrt-cube
distribute-lft-neg-in distribute-rgt-neg-in distribute-lft-out
pow1
div-exp prod-exp associate-/r* associate-/r/ div-inv
associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp flip3-+ 1-exp cbrt-unprod flip-+ log1p-expm1-u distribute-neg-frac add-log-exp
frac-times neg-mul-1 pow-flip frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out inv-pow
Counts
2 → 99
Calls
2 calls:
6.0ms
(/ 1 (+ x 1.0))
27.0ms
(* (/ 1 (+ x 1.0)) (- (/ (* 1.0 1.0) x)))

series61.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ 1 (+ x 1.0))
35.0ms
(* (/ 1 (+ x 1.0)) (- (/ (* 1.0 1.0) x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0443647
12258564
25001533

prune157.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes22.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
0105
1105

end0.0ms

sample402.0ms

Algorithm
intervals
Results
142.0ms1985×body640valid
79.0ms4119×body80valid
70.0ms1301×body320valid
22.0ms597×body160valid