Details

Time bar (total: 6.0s)

sample15.0ms

Algorithm
intervals
Results
4.0ms64×body640valid
3.0ms138×body80valid
2.0ms37×body320valid
1.0ms17×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
199
2129
done129

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite80.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:
6.0ms
(/ 1.0 (+ x 1.0))
49.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series87.0ms

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

simplify909.0ms

Counts
320 → 320
Iterations

Useful iterations: done (895.0ms)

IterNodesCost
038712162
181410606
220827734
done50007438

prune343.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))
1.7b
(- 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)
26.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
12.0ms
(- x (+ x 1.0))

series88.0ms

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

simplify759.0ms

Counts
93 → 93
Iterations

Useful iterations: 2 (296.0ms)

IterNodesCost
01451352
13981032
21900756
done5001756

prune144.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite15.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:
6.0ms
(/ 1.0 (+ x 1.0))
8.0ms
(/ (* (/ 1.0 (+ x 1.0)) (- 1.0)) x)

series65.0ms

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

simplify616.0ms

Counts
68 → 68
Iterations

Useful iterations: 2 (189.0ms)

IterNodesCost
0130827
1330769
21214670
done5001670

prune122.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0)) (- 1.0)) x)
0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
14.4b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
37×*-un-lft-identity
35×add-cube-cbrt
28×times-frac
24×add-exp-log add-cbrt-cube
18×associate-*l* prod-diff
11×distribute-rgt-in distribute-lft-in
difference-of-squares
cbrt-undiv div-exp associate-*l/ prod-exp associate-/r* cbrt-unprod
flip3-- flip--
pow1 associate-*r* associate-/l/
frac-times associate-*r/ associate-/r/ associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
sub-neg frac-2neg clear-num unswap-sqr
distribute-frac-neg pow-prod-down *-commutative distribute-rgt-neg-out distribute-lft-out--
Counts
3 → 135
Calls
3 calls:
33.0ms
(/ (* (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0)) (- 1.0)) x)
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
26.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0))

series170.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(/ (* (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0)) (- 1.0)) x)
52.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
52.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0))

simplify1.7s

Counts
144 → 144
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02663113
17282824
231342459
done50012441

prune285.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11110
21610
31810
done1810

end0.0ms

sample398.0ms

Algorithm
intervals
Results
127.0ms1833×body640valid
88.0ms4212×body80valid
67.0ms1290×body320valid
27.0ms665×body160valid