Details

Time bar (total: 6.0s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
187
297
done97

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite48.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:
44.0ms
(/ (+ x 1.0) (- 1.0 x))

series66.0ms

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

simplify689.0ms

Counts
50 → 50
Iterations

Useful iterations: done (687.0ms)

IterNodesCost
093646
1221616
2874584
done5000575

prune114.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

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

series204.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(/ (+ x 1.0) (- 1.0 x))
156.0ms
(log1p (/ (+ x 1.0) (- 1.0 x)))

simplify938.0ms

Counts
64 → 64
Iterations

Useful iterations: done (935.0ms)

IterNodesCost
0129830
1309793
21257739
done5001726

prune191.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.0b
(* (- 1.0 x) (- x 1.0))
14.5b
(/ (- (* x x) (* 1.0 1.0)) (* (- 1.0 x) (- x 1.0)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
19×add-cube-cbrt prod-diff
14×flip3-- flip--
11×distribute-rgt-in distribute-lft-in
10×add-exp-log add-cbrt-cube
frac-times associate-/r/
pow1 associate-*r* associate-*l* add-log-exp difference-of-squares
times-frac associate-*r/ associate-*l/ associate-/l*
expm1-log1p-u sub-neg log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ distribute-lft-out--
frac-2neg fma-neg diff-log div-sub pow-prod-down clear-num associate-/r* *-commutative div-inv unswap-sqr
Counts
3 → 107
Calls
3 calls:
18.0ms
(- (* x x) (* 1.0 1.0))
80.0ms
(* (- 1.0 x) (- x 1.0))
58.0ms
(/ (- (* x x) (* 1.0 1.0)) (* (- 1.0 x) (- x 1.0)))

series216.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(- (* x x) (* 1.0 1.0))
49.0ms
(* (- 1.0 x) (- x 1.0))
111.0ms
(/ (- (* x x) (* 1.0 1.0)) (* (- 1.0 x) (- x 1.0)))

simplify2.6s

Counts
116 → 116
Iterations

Useful iterations: done (2.6s)

IterNodesCost
02062035
16181828
243341573
done50001572

prune235.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes32.0ms

Accuracy

62.5% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.0b

bsearch1.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01634
11834
done1834

end0.0ms

sample477.0ms

Algorithm
intervals
Results
295.0ms8000×body80valid