Details

Time bar (total: 5.8s)

sample16.0ms

Algorithm
intervals
Results
4.0ms60×body640valid
3.0ms130×body80valid
3.0ms46×body320valid
1.0ms20×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
199
2129
done129

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.2b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
3.6b
(- (/ 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))
53.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series85.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ 1.0 (+ x 1.0))
61.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify1.2s

Counts
320 → 320
Iterations

Useful iterations: done (1.2s)

IterNodesCost
038712162
185910606
221148058
done50017654

prune341.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize6.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))
3.2b
(- x (+ x 1.0))

rewrite51.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)
28.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
10.0ms
(- x (+ x 1.0))

series85.0ms

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

simplify964.0ms

Counts
93 → 93
Iterations

Useful iterations: 2 (329.0ms)

IterNodesCost
01451352
14021032
21903752
done5000752

prune138.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
15×times-frac
13×add-exp-log add-sqr-sqrt add-cube-cbrt add-cbrt-cube
associate-/r*
cbrt-undiv div-exp
distribute-lft-out associate-/l*
pow1 expm1-log1p-u frac-2neg prod-exp clear-num associate-/r/ cbrt-unprod log1p-expm1-u div-inv add-log-exp
flip3-+ distribute-frac-neg associate-*l/ distribute-rgt-neg-out flip-+ associate-/l/
Counts
2 → 62
Calls
2 calls:
5.0ms
(/ 1.0 (+ x 1.0))
9.0ms
(/ (* (/ 1.0 (+ x 1.0)) (- 1.0)) x)

series66.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(/ 1.0 (+ x 1.0))
36.0ms
(/ (* (/ 1.0 (+ x 1.0)) (- 1.0)) x)

simplify967.0ms

Counts
68 → 68
Iterations

Useful iterations: 2 (192.0ms)

IterNodesCost
0130827
1330769
21231670
done5000670

prune120.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
(* x (/ (+ x 1.0) (- 1.0)))
0.4b
(/ 1.0 (* x (/ (+ x 1.0) (- 1.0))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
44×times-frac associate-*r*
33×add-sqr-sqrt
28×add-cube-cbrt
16×add-exp-log add-cbrt-cube
12×distribute-lft-neg-in distribute-rgt-neg-in
10×distribute-lft-out
cbrt-undiv div-exp
pow1 neg-mul-1 prod-exp cbrt-unprod
associate-*l* associate-/l*
expm1-log1p-u associate-*r/ log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* associate-/r/ *-commutative
Counts
2 → 91
Calls
2 calls:
24.0ms
(* x (/ (+ x 1.0) (- 1.0)))
8.0ms
(/ 1.0 (* x (/ (+ x 1.0) (- 1.0))))

series95.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(* x (/ (+ x 1.0) (- 1.0)))
39.0ms
(/ 1.0 (* x (/ (+ x 1.0) (- 1.0))))

simplify848.0ms

Counts
97 → 97
Iterations

Useful iterations: 2 (223.0ms)

IterNodesCost
01671157
14381062
21389934
done5000934

prune147.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11110
21610
31810
done1810

end0.0ms

sample417.0ms

Algorithm
intervals
Results
140.0ms1904×body640valid
88.0ms4132×body80valid
69.0ms1284×body320valid
25.0ms680×body160valid