Details

Time bar (total: 9.0s)

sample10.0ms

Algorithm
intervals
Results
4.0ms256×body80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
187
297
done97

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
22×add-sqr-sqrt
20×times-frac
12×add-cube-cbrt
distribute-lft-out
associate-/r* distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 47
Calls
1 calls:
24.0ms
(/ (+ x 1.0) (- 1.0 x))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(/ (+ x 1.0) (- 1.0 x))

simplify2.5s

Counts
50 → 50
Iterations

Useful iterations: 3 (306.0ms)

IterNodesCost
093646
1215616
2569584
31349573
43656573
done5000573

prune86.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
0.0b
(/ (+ x 1.0) (- 1.0 x))
2.6b
(log1p (/ (+ x 1.0) (- 1.0 x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
24×add-sqr-sqrt
20×times-frac
14×add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-/l*
pow1 log1p-expm1-u add-log-exp
associate-/r/ associate-/l/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg flip3-+ log1p-expm1 div-exp clear-num flip-- flip-+ div-inv expm1-udef
Counts
3 → 69
Calls
3 calls:
0.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
26.0ms
(/ (+ x 1.0) (- 1.0 x))
0.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

series283.0ms

Counts
3 → 9
Calls
3 calls:
144.0ms
(expm1 (log1p (/ (+ x 1.0) (- 1.0 x))))
32.0ms
(/ (+ x 1.0) (- 1.0 x))
106.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

simplify2.4s

Counts
78 → 78
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01601068
1378998
21025907
32933871
done5000857

prune169.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- 1.0 x))
0.5b
(pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3)
0.5b
(cbrt (pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3))
2.6b
(log1p (/ (+ x 1.0) (- 1.0 x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
31×add-sqr-sqrt
21×add-cube-cbrt
20×times-frac
12×cbrt-prod
add-exp-log add-cbrt-cube
unpow-prod-down cube-prod distribute-lft-out
pow1 expm1-log1p-u associate-/r* distribute-lft-out-- difference-of-squares
log1p-expm1-u associate-/l* add-log-exp
pow-unpow
cube-mult unpow3 associate-/r/ associate-/l/ sqr-pow
cbrt-undiv pow-to-exp log1p-udef flip3-- pow-pow frac-2neg flip3-+ pow1/3 log1p-expm1 div-exp pow-exp clear-num flip-- rem-cbrt-cube flip-+ div-inv rem-cube-cbrt
Counts
4 → 106
Calls
4 calls:
24.0ms
(/ (+ x 1.0) (- 1.0 x))
3.0ms
(pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3)
2.0ms
(cbrt (pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3))
0.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

series434.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (+ x 1.0) (- 1.0 x))
188.0ms
(pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3)
106.0ms
(cbrt (pow (log1p (/ (+ x 1.0) (- 1.0 x))) 3))
106.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

simplify1.0s

Counts
118 → 118
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02642065
17021819
222461675
done50011654

prune299.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (- (/ 2.0 (* x x))) (+ (/ 1.0 x) 1.0) (- -1 (/ 2.0 x)))
0.4b
(/ 2.0 (* x x))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num associate-/r* cbrt-unprod fma-udef div-inv
Counts
2 → 33
Calls
2 calls:
0.0ms
(fma (- (/ 2.0 (* x x))) (+ (/ 1.0 x) 1.0) (- -1 (/ 2.0 x)))
8.0ms
(/ 2.0 (* x x))

series65.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(fma (- (/ 2.0 (* x x))) (+ (/ 1.0 x) 1.0) (- -1 (/ 2.0 x)))
31.0ms
(/ 2.0 (* x x))

simplify1.2s

Counts
39 → 39
Iterations

Useful iterations: done (1.2s)

IterNodesCost
075479
1167461
2477398
31852396
done5000395

prune84.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11112
done1112

end0.0ms

sample240.0ms

Algorithm
intervals
Results
129.0ms8000×body80valid