Details

Time bar (total: 15.7s)

sample26.0ms

Algorithm
intervals
Results
7.0ms63×body640valid
4.0ms123×body80valid
3.0ms36×body320valid
2.0ms17×body1280valid
1.0ms17×body160valid

simplify143.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11815
23115
34115
45015
55515
66415
78215
89915
910915
done10915

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite559.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
21.0ms
(/ 1.0 (- x 1.0))
11.0ms
(/ 1.0 (+ x 1.0))
95.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
423.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series395.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1.0 (- x 1.0))
29.0ms
(/ 1.0 (+ x 1.0))
60.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
269.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify2.6s

Counts
126 → 126
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
02131832
14981716
213141630
337671608
done50001608

prune374.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ 1.0 (- x 1.0)))
0.4b
(cbrt (/ 1.0 (- x 1.0)))
0.4b
(cbrt (/ 1.0 (- x 1.0)))
21.7b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

rewrite424.0ms

Algorithm
rewrite-expression-head
Rules
63×cbrt-prod
49×add-sqr-sqrt *-un-lft-identity
45×times-frac
39×cbrt-div
31×add-cube-cbrt
21×frac-add
15×frac-times associate-*l/
10×flip3-- flip--
associate-*r/ distribute-lft-out-- add-log-exp difference-of-squares
frac-sub
associate-/r/
pow1 add-exp-log add-cbrt-cube
pow1/3 div-inv
associate-+l+ sum-log
+-commutative associate-+l- sub-neg flip3-+ diff-log flip-+
Counts
4 → 126
Calls
4 calls:
12.0ms
(cbrt (/ 1.0 (- x 1.0)))
11.0ms
(cbrt (/ 1.0 (- x 1.0)))
12.0ms
(cbrt (/ 1.0 (- x 1.0)))
377.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

series963.0ms

Counts
4 → 12
Calls
4 calls:
196.0ms
(cbrt (/ 1.0 (- x 1.0)))
191.0ms
(cbrt (/ 1.0 (- x 1.0)))
209.0ms
(cbrt (/ 1.0 (- x 1.0)))
367.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

simplify1.2s

Counts
138 → 138
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02683804
16373640
217513151
done50012984

prune605.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
0.2b
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
8.5b
(+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)
13.2b
(/ (* (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)) (* (- x 1.0) (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))))

rewrite662.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
16×add-exp-log add-cbrt-cube
13×flip3-+ flip-+
12×frac-times
11×associate-/r/ associate-/l/
10×add-log-exp
times-frac
frac-add distribute-lft-out
associate-*r/ associate-*l/
pow1 cbrt-undiv add-sqr-sqrt add-cube-cbrt associate-+l+ flip3-- div-exp prod-exp flip-- cbrt-unprod
+-commutative sum-log
distribute-rgt-in sub-neg distribute-lft-in
frac-2neg clear-num associate-/r* div-inv associate-/l*
Counts
4 → 88
Calls
4 calls:
66.0ms
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
67.0ms
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
170.0ms
(+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)
356.0ms
(/ (* (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)) (* (- x 1.0) (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))))

series678.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
48.0ms
(+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))
157.0ms
(+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)
421.0ms
(/ (* (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (+ (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- x 1.0)) 1.0)) (* (- x 1.0) (+ (/ 1.0 (+ x 1.0)) (/ 2.0 x))))

simplify1.7s

Counts
100 → 100
Iterations

Useful iterations: 2 (675.0ms)

IterNodesCost
01823288
16773235
235252721
done50002721

prune373.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(* (+ x 1.0) x)
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
18.8b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
48×associate-*l/
16×frac-add
15×add-sqr-sqrt flip3-- *-un-lft-identity flip--
14×flip3-+ flip-+
13×pow1 add-exp-log add-cbrt-cube
12×frac-times
11×associate-*r*
add-cube-cbrt associate-*l*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
*-commutative
distribute-lft-out unswap-sqr
+-commutative sum-log distribute-lft-out-- difference-of-squares
Counts
4 → 105
Calls
4 calls:
40.0ms
(* (+ x 1.0) x)
40.0ms
(* (+ x 1.0) x)
56.0ms
(* (* (+ x 1.0) x) (- x 1.0))
45.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series270.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (+ x 1.0) x)
71.0ms
(* (+ x 1.0) x)
151.0ms
(* (* (+ x 1.0) x) (- x 1.0))
3.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify2.7s

Counts
117 → 117
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
02112807
17472643
237592497
done50012497

prune444.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes41.0ms

Accuracy

99.1% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 25.9b

bsearch161.0ms

Steps
ItersRangePoint
9
110.15968793260775
1173724448.4928873
642.4163412587075
9
-3484513403575543.0
-66911392.43097515
-136532428.3902713

simplify10.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
03173
14457
done4457

end0.0ms

sample978.0ms

Algorithm
intervals
Results
307.0ms1881×body640valid
183.0ms4156×body80valid
128.0ms553×body1280valid
118.0ms935×body320valid
44.0ms476×body160valid