Details

Time bar (total: 13.9s)

sample39.0ms

Algorithm
intervals
Results
13.0ms71×body640valid
6.0ms125×body80valid
6.0ms40×body320valid
2.0ms20×body160valid

simplify9.0ms

Counts
1 → 1
Iterations
IterNodes
done15
215
112
07

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.1b

localize30.0ms

Local error

Found 3 expressions with local error:

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

rewrite214.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-cbrt-cube add-exp-log
associate-/l*
add-log-exp
expm1-log1p-u pow1 log1p-expm1-u
cbrt-undiv clear-num frac-2neg div-exp
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
16.0ms
(/ 1.0 (+ x 1.0))
14.0ms
(/ 1.0 (- x 1.0))
116.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series332.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ 1.0 (+ x 1.0))
30.0ms
(/ 1.0 (- x 1.0))
267.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify2.4s

Counts
513 → 513
Iterations
IterNodes
done5000
24303
11253
0525

prune2.5s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
37×prod-diff
35×add-sqr-sqrt *-un-lft-identity
31×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in associate--l+
12×flip3-- associate-*l/ associate-*r/ flip--
10×flip3-+ add-cbrt-cube add-exp-log flip-+
frac-times associate-/r/ frac-sub
associate-/l/
pow1 sub-neg associate-*r* add-log-exp
associate-*l*
expm1-log1p-u times-frac log1p-expm1-u associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod
clear-num associate-/r* frac-2neg fma-neg diff-log div-sub pow-prod-down *-commutative div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 133
Calls
3 calls:
50.0ms
(/ (- (* 1.0 (- x 1.0)) (* (+ x 1.0) 1.0)) (* (+ x 1.0) (- x 1.0)))
43.0ms
(* (+ x 1.0) (- x 1.0))
19.0ms
(- (* 1.0 (- x 1.0)) (* (+ x 1.0) 1.0))

series232.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(/ (- (* 1.0 (- x 1.0)) (* (+ x 1.0) 1.0)) (* (+ x 1.0) (- x 1.0)))
105.0ms
(* (+ x 1.0) (- x 1.0))
9.0ms
(- (* 1.0 (- x 1.0)) (* (+ x 1.0) 1.0))

simplify929.0ms

Counts
142 → 142
Iterations
IterNodes
done5000
1851
0245

prune846.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite67.0ms

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

series217.0ms

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

simplify1.8s

Counts
106 → 106
Iterations
IterNodes
done5001
23851
1612
0206

prune464.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

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

rewrite94.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/
associate-/r* add-cbrt-cube add-exp-log
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
div-sub distribute-frac-neg
neg-sub0 expm1-log1p-u pow1 clear-num frac-2neg log1p-expm1-u add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 374
Calls
2 calls:
11.0ms
(/ (- 2.0) (+ x 1.0))
47.0ms
(/ (/ (- 2.0) (+ x 1.0)) (- x 1.0))

series134.0ms

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

simplify1.0s

Counts
380 → 380
Iterations
IterNodes
done5000
11213
0445

prune1.3s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done12
112
08

end0.0ms

sample1.1s

Algorithm
intervals
Results
356.0ms1853×body640valid
247.0ms1251×body320valid
236.0ms4287×body80valid
129.0ms609×body160valid