Details

Time bar (total: 7.7s)

sample18.0ms

Algorithm
intervals
Results
5.0ms66×body640valid
3.0ms135×body80valid
2.0ms36×body320valid
1.0ms19×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0711
11211
21511
done1511

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.9b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
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
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
66.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series226.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ 1.0 (- x 1.0))
24.0ms
(/ 1.0 (+ x 1.0))
174.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify1.5s

Counts
513 → 513
Iterations

Useful iterations: done (1.4s)

IterNodesCost
052524322
1119821760
2352016240
done500016186

prune669.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.9b
(- (- x 1.0) (+ x 1.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
39×add-sqr-sqrt
29×prod-diff
27×add-cube-cbrt
14×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out--
10×difference-of-squares
distribute-lft-out
diff-log
fma-neg
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 expm1-log1p-u sub-neg flip3-+ sum-log associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 99
Calls
2 calls:
6.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
29.0ms
(- (- x 1.0) (+ x 1.0))

series56.0ms

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

simplify1.1s

Counts
105 → 105
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01961915
15151569
226971321
done50001312

prune191.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
22×add-cube-cbrt *-un-lft-identity
18×associate-*l*
10×associate-*r*
add-exp-log add-cbrt-cube
difference-of-squares
pow1 associate-/r* associate-/r/
distribute-lft-neg-in distribute-rgt-neg-in associate-/l*
cbrt-undiv expm1-log1p-u flip3-- div-exp prod-exp flip-- cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
neg-mul-1 frac-2neg pow-prod-down associate-*l/ clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 82
Calls
2 calls:
20.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series101.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
50.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

simplify630.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (133.0ms)

IterNodesCost
01621355
14611307
218821177
done50011177

prune185.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
327×times-frac
289×*-un-lft-identity
224×add-sqr-sqrt
141×add-cube-cbrt
96×associate-*l*
37×distribute-lft-out distribute-lft-out-- difference-of-squares
28×associate-/r/
21×associate-/l*
19×add-exp-log add-cbrt-cube
14×div-inv
12×flip3-+ flip-+
10×associate-*r*
associate-/r*
cbrt-undiv div-exp
pow1
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
flip3-- frac-2neg clear-num flip--
neg-mul-1 pow-prod-down associate-*l/ *-commutative distribute-rgt-neg-out associate-/l/
Counts
3 → 295
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
58.0ms
(* (/ (/ 1.0 (+ x 1.0)) (- x 1.0)) (- 2.0))
15.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

series154.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ 1.0 (+ x 1.0))
66.0ms
(* (/ (/ 1.0 (+ x 1.0)) (- x 1.0)) (- 2.0))
61.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

simplify1.6s

Counts
304 → 304
Iterations

Useful iterations: 2 (338.0ms)

IterNodesCost
03664954
111334685
248514490
done50004490

prune554.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes15.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
0912
11312
21812
32112
done2112

end0.0ms

sample466.0ms

Algorithm
intervals
Results
167.0ms1907×body640valid
102.0ms4229×body80valid
80.0ms1267×body320valid
26.0ms597×body160valid