Details

Time bar (total: 7.3s)

sample20.0ms

Algorithm
intervals
Results
7.0ms74×body640valid
3.0ms123×body80valid
3.0ms45×body320valid
1.0ms14×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: 15.8b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
0.0b
(/ 1.0 (- x 1.0))
1.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)))

series232.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
175.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify1.2s

Counts
513 → 513
Iterations

Useful iterations: done (1.2s)

IterNodesCost
052524322
1115021760
2286916240
done500015934

prune634.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
1.2b
(- (- x 1.0) (+ x 1.0))

rewrite41.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:
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
32.0ms
(- (- x 1.0) (+ x 1.0))

series60.0ms

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

simplify850.0ms

Counts
105 → 105
Iterations

Useful iterations: done (847.0ms)

IterNodesCost
01961915
14901565
218611323
done50011314

prune192.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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:
19.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series108.0ms

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

simplify823.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
01621355
14551298
215291177
done50011177

prune179.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

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

series171.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ 1.0 (+ x 1.0))
73.0ms
(* (/ (/ 1.0 (+ x 1.0)) (- x 1.0)) (- 2.0))
71.0ms
(/ (/ 1.0 (+ x 1.0)) (- x 1.0))

simplify1.4s

Counts
304 → 304
Iterations

Useful iterations: 2 (830.0ms)

IterNodesCost
03664954
111194684
235084490
done50004490

prune572.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
31912
42112
done2112

end0.0ms

sample488.0ms

Algorithm
intervals
Results
173.0ms1943×body640valid
103.0ms4203×body80valid
90.0ms1275×body320valid
30.0ms579×body160valid