Details

Time bar (total: 15.5s)

sample25.0ms

Algorithm
intervals
Results
6.0ms45×body1280valid
5.0ms48×body640valid
4.0ms137×body80valid
1.0ms12×body320valid
1.0ms14×body160valid

simplify157.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87713
99913
1011313
1111913
1212313
done12313

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.9b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
16.0ms
(/ x (+ x 1.0))
26.0ms
(/ (+ x 1.0) (- x 1.0))
122.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series324.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(/ x (+ x 1.0))
69.0ms
(/ (+ x 1.0) (- x 1.0))
198.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify2.0s

Counts
113 → 113
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01761584
13901503
210221427
323881414
done50001412

prune317.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(exp (/ x (+ x 1.0)))
3.7b
(log (exp (/ x (+ x 1.0))))
3.9b
(- (log (exp (/ x (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

rewrite442.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
48×add-sqr-sqrt
45×times-frac
36×exp-prod
33×add-cube-cbrt
20×log-pow
12×distribute-lft-out
distribute-lft-out-- difference-of-squares
pow1 add-exp-log log-prod associate-/r/ add-cbrt-cube add-log-exp
associate-/r*
associate-/l*
flip3-+ associate--l+ flip-+ div-inv
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num rem-exp-log
Counts
4 → 120
Calls
4 calls:
50.0ms
(/ (+ x 1.0) (- x 1.0))
32.0ms
(exp (/ x (+ x 1.0)))
25.0ms
(log (exp (/ x (+ x 1.0))))
325.0ms
(- (log (exp (/ x (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

series386.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (+ x 1.0) (- x 1.0))
84.0ms
(exp (/ x (+ x 1.0)))
48.0ms
(log (exp (/ x (+ x 1.0))))
206.0ms
(- (log (exp (/ x (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

simplify2.1s

Counts
132 → 132
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02101736
14331535
210531450
324091427
done50001425

prune453.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*r/
36×flip3-+ flip-+
32×frac-sub
30×*-un-lft-identity
28×frac-times
24×flip3-- flip--
18×add-sqr-sqrt associate-/l/
14×associate-*l/
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
associate-*l*
associate-*r* associate-/r/
distribute-lft-out
swap-sqr add-log-exp
distribute-rgt-in distribute-lft-in
associate--l+
sub-neg times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv div-exp pow-prod-down *-commutative associate--r+ unswap-sqr
pow2 frac-2neg pow-plus diff-log div-sub clear-num associate-/r* pow-sqr pow-prod-up div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 153
Calls
4 calls:
48.0ms
(* (- x 1.0) (+ 1.0 x))
45.0ms
(* (+ x 1.0) (+ x 1.0))
112.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (* (- x 1.0) (+ 1.0 x)))
40.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (- x 1.0) (+ 1.0 x))
29.0ms
(* (+ x 1.0) (+ x 1.0))
112.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (* (- x 1.0) (+ 1.0 x)))
56.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify4.1s

Counts
165 → 165
Iterations

Useful iterations: done (4.1s)

IterNodesCost
02683700
18663448
247053180
done50013175

prune537.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
0.0b
(* (- x 1.0) (+ 1.0 x))
12.3b
(/ (- (+ (* 3.0 x) 1.0)) (* (- x 1.0) (+ 1.0 x)))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
10×add-exp-log times-frac add-cbrt-cube associate-/l*
frac-times flip3-+ associate-/r/ flip-+
distribute-lft-neg-in flip3-- distribute-rgt-neg-in flip--
pow1 associate-*l* add-log-exp
associate-*r/ associate-*r* associate-*l/
cbrt-undiv neg-mul-1 div-exp prod-exp cbrt-unprod associate-/l/ distribute-neg-frac
+-commutative neg-sub0 distribute-rgt-in frac-2neg distribute-lft-in div-sub distribute-frac-neg pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 89
Calls
3 calls:
8.0ms
(+ (* 3.0 x) 1.0)
39.0ms
(* (- x 1.0) (+ 1.0 x))
78.0ms
(/ (- (+ (* 3.0 x) 1.0)) (* (- x 1.0) (+ 1.0 x)))

series286.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(+ (* 3.0 x) 1.0)
148.0ms
(* (- x 1.0) (+ 1.0 x))
89.0ms
(/ (- (+ (* 3.0 x) 1.0)) (* (- x 1.0) (+ 1.0 x)))

simplify1.7s

Counts
98 → 98
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01701488
14871448
221501322
done50001321

prune352.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes25.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify12.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01329
12229
22629
32929
43029
done3029

end0.0ms

sample1.3s

Algorithm
intervals
Results
418.0ms1673×body1280valid
303.0ms4143×body80valid
236.0ms1251×body640valid
113.0ms612×body320valid
25.0ms321×body160valid