Details

Time bar (total: 13.3s)

sample32.0ms

Algorithm
intervals
Results
7.0ms46×body640valid
7.0ms57×body320valid
7.0ms139×body80valid
1.0ms14×body160valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
199
2129
done129

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.9b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite177.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:
16.0ms
(/ 1.0 (+ x 1.0))
105.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series119.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ 1.0 (+ x 1.0))
81.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify2.3s

Counts
320 → 320
Iterations

Useful iterations: done (2.3s)

IterNodesCost
038712162
186710606
219277734
done50016020

prune391.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

rewrite173.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:
42.0ms
(* (+ x 1.0) x)
90.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
36.0ms
(- x (+ x 1.0))

series144.0ms

Counts
3 → 9
Calls
3 calls:
84.0ms
(* (+ x 1.0) x)
48.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
12.0ms
(- x (+ x 1.0))

simplify1.6s

Counts
93 → 93
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01451352
13941032
21872752
done5000727

prune208.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite330.0ms

Algorithm
rewrite-expression-head
Rules
1907×times-frac
1129×*-un-lft-identity
823×add-sqr-sqrt add-cube-cbrt
243×distribute-lft-neg-in distribute-rgt-neg-in
175×associate-/l*
153×distribute-lft-out
81×neg-mul-1
57×div-inv
19×associate-/r*
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r/
div-sub distribute-frac-neg
pow1 neg-sub0 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 889
Calls
2 calls:
40.0ms
(/ (- 1.0) (/ (+ x 1.0) 1.0))
134.0ms
(/ (/ (- 1.0) (/ (+ x 1.0) 1.0)) x)

series102.0ms

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

simplify2.1s

Counts
895 → 895
Iterations

Useful iterations: done (2.1s)

IterNodesCost
0110519020
1260217526
done500016948

prune2.6s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.3b
(/ (* 1.0 (/ (* (fma 2 x 1.0) (- 1.0)) (fma 2 x 1.0))) (* (+ x 1.0) x))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log add-cbrt-cube
13×prod-exp cbrt-unprod
12×cbrt-undiv div-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-cube-cbrt associate-*l* associate-*l/
associate-*r*
expm1-log1p-u flip3-+ distribute-frac-neg associate-/r/ distribute-rgt-neg-out flip-+ log1p-expm1-u add-log-exp
frac-2neg times-frac associate-*r/ pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l/ distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 58
Calls
2 calls:
28.0ms
(* (+ x 1.0) x)
52.0ms
(/ (* 1.0 (/ (* (fma 2 x 1.0) (- 1.0)) (fma 2 x 1.0))) (* (+ x 1.0) x))

series114.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(* (+ x 1.0) x)
50.0ms
(/ (* 1.0 (/ (* (fma 2 x 1.0) (- 1.0)) (fma 2 x 1.0))) (* (+ x 1.0) x))

simplify1.5s

Counts
64 → 64
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01341373
14191306
22202943
done5001941

prune182.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
21210
done1210

end0.0ms

sample988.0ms

Algorithm
intervals
Results
395.0ms1891×body640valid
242.0ms1307×body320valid
154.0ms4154×body80valid
46.0ms650×body160valid