Details

Time bar (total: 3.5s)

sample18.0ms

Algorithm
intervals
Results
4.0ms54×body640valid
3.0ms136×body80valid
3.0ms47×body320valid
1.0ms19×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1155
2155
done155

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

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

rewrite173.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:
11.0ms
(/ 1.0 (- x 1.0))
11.0ms
(/ 1.0 (+ x 1.0))
103.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series215.0ms

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

simplify159.0ms

Counts
513 → 513
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0120013350
135939620
250019568
done50019568

prune675.0ms

Pruning

3 alts after pruning (3 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.2b
(- (- x 1.0) (+ x 1.0))

rewrite75.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:
13.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
58.0ms
(- (- x 1.0) (+ x 1.0))

series57.0ms

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

simplify86.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0500926
12870692
25001690
done5001690

prune183.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

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

rewrite59.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:
42.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (- 2.0))
14.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))

series103.0ms

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

simplify52.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0455678
12096616
25001612
done5001612

prune179.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
510×times-frac
449×*-un-lft-identity
307×add-sqr-sqrt
213×add-cube-cbrt
87×distribute-lft-neg-in distribute-rgt-neg-in
71×distribute-lft-out
56×associate-/l*
47×distribute-lft-out-- difference-of-squares
29×neg-mul-1
16×associate-/r/
add-exp-log associate-/r* add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
div-sub distribute-frac-neg
pow1 neg-sub0 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 374
Calls
2 calls:
14.0ms
(/ (- 2.0) (+ x 1.0))
38.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series93.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ (- 2.0) (+ x 1.0))
69.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

simplify118.0ms

Counts
380 → 380
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011203956
148013876
250013876
done50013876

prune617.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes14.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
0136
1156
2196
3226
4226
done226

end0.0ms

sample487.0ms

Algorithm
intervals
Results
154.0ms1920×body640valid
96.0ms4171×body80valid
79.0ms1289×body320valid
25.0ms620×body160valid