Details

Time bar (total: 17.2s)

sample32.0ms

Algorithm
intervals
Results
9.0ms67×body640valid
5.0ms133×body80valid
3.0ms29×body320valid
3.0ms18×body1280valid
1.0msbody160valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11815
23115
34115
48815
513515
616215
721115
844115
9120815
done500015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize10.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
(- (/ 2.0 x) (/ 1.0 (+ x 1.0)))
3.1b
(- (/ 1.0 (- x 1.0)) (- (/ 2.0 x) (/ 1.0 (+ x 1.0))))

rewrite558.0ms

Algorithm
rewrite-expression-head
Rules
1123×*-un-lft-identity
1026×times-frac
953×add-sqr-sqrt
678×prod-diff
610×add-cube-cbrt
236×associate--r+
127×difference-of-squares
116×distribute-lft-out--
106×distribute-lft-out
78×associate-/r/
76×div-inv
34×fma-neg
27×flip3-+ flip-+
15×flip3-- flip--
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
frac-sub
pow1 expm1-log1p-u diff-log log1p-expm1-u
sub-neg
cbrt-undiv frac-2neg div-exp clear-num
associate--r-
Counts
4 → 837
Calls
4 calls:
12.0ms
(/ 1.0 (- x 1.0))
13.0ms
(/ 1.0 (+ x 1.0))
70.0ms
(- (/ 2.0 x) (/ 1.0 (+ x 1.0)))
349.0ms
(- (/ 1.0 (- x 1.0)) (- (/ 2.0 x) (/ 1.0 (+ x 1.0))))

series528.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ 1.0 (- x 1.0))
46.0ms
(/ 1.0 (+ x 1.0))
73.0ms
(- (/ 2.0 x) (/ 1.0 (+ x 1.0)))
358.0ms
(- (/ 1.0 (- x 1.0)) (- (/ 2.0 x) (/ 1.0 (+ x 1.0))))

simplify1.8s

Counts
849 → 849
Iterations

Useful iterations: done (1.7s)

IterNodesCost
087138837
1220633703
done500127984

prune2.7s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite552.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*r/
38×flip3-- flip--
32×frac-sub
28×frac-times
22×distribute-rgt-in distribute-lft-in flip3-+ flip-+
20×add-exp-log add-cbrt-cube
18×associate-/l/
15×add-sqr-sqrt
14×associate-*l/
13×*-un-lft-identity
12×associate--l+
11×pow1
10×associate-*l* associate--r+
add-cube-cbrt
associate-/r/
prod-exp cbrt-unprod
add-log-exp
sub-neg prod-diff
expm1-log1p-u associate-*r* pow-prod-down log1p-expm1-u
cbrt-undiv times-frac div-exp associate-/l*
*-commutative distribute-lft-out-- difference-of-squares
frac-2neg fma-neg diff-log div-sub clear-num associate-/r* div-inv unswap-sqr
Counts
4 → 172
Calls
4 calls:
90.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
218.0ms
(/ (- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))) (* (- x 1.0) (* x (+ x 1.0))))
91.0ms
(* (- x 1.0) (* x (+ x 1.0)))
141.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

series276.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
100.0ms
(/ (- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))) (* (- x 1.0) (* x (+ x 1.0))))
131.0ms
(* (- x 1.0) (* x (+ x 1.0)))
2.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

simplify700.0ms

Counts
184 → 184
Iterations

Useful iterations: done (688.0ms)

IterNodesCost
03445873
112745479
done50025019

prune929.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite498.0ms

Algorithm
rewrite-expression-head
Rules
78×associate-*r/
38×flip3-- flip--
32×frac-sub
28×frac-times
26×associate-*l/
22×flip3-+ flip-+
20×add-exp-log add-cbrt-cube
19×distribute-rgt-in distribute-lft-in
18×associate-/l/
13×add-sqr-sqrt *-un-lft-identity
12×associate--l+
11×pow1
10×associate--r+
add-cube-cbrt
associate-/r/
associate-*r* prod-exp cbrt-unprod
associate-*l* add-log-exp
sub-neg prod-diff
expm1-log1p-u pow-prod-down log1p-expm1-u
cbrt-undiv times-frac div-exp associate-/l*
*-commutative
frac-2neg fma-neg diff-log div-sub clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 169
Calls
4 calls:
92.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
212.0ms
(/ (- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))) (* (* (- x 1.0) x) (+ x 1.0)))
56.0ms
(* (* (- x 1.0) x) (+ x 1.0))
129.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

series728.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
527.0ms
(/ (- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))) (* (* (- x 1.0) x) (+ x 1.0)))
141.0ms
(* (* (- x 1.0) x) (+ x 1.0))
2.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

simplify812.0ms

Counts
181 → 181
Iterations

Useful iterations: done (795.0ms)

IterNodesCost
03475837
113145439
done50025079

prune823.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))) (/ 2.0 (pow x 7)))
0.1b
(/ 2.0 (pow x 5))
0.2b
(/ 2.0 (pow x 7))
0.3b
(/ 2.0 (pow x 3))

rewrite713.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
89×*-un-lft-identity
67×add-sqr-sqrt add-cube-cbrt
36×unpow-prod-down
26×associate-/r*
19×add-exp-log
16×distribute-lft-out
12×cube-prod sqr-pow
10×add-cbrt-cube
div-exp associate-/l* add-log-exp
fma-def div-inv
pow1 expm1-log1p-u cube-mult unpow3 frac-add log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num sum-log
flip3-+ flip-+
+-commutative associate-+l+
Counts
4 → 193
Calls
4 calls:
670.0ms
(+ (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))) (/ 2.0 (pow x 7)))
7.0ms
(/ 2.0 (pow x 5))
8.0ms
(/ 2.0 (pow x 7))
17.0ms
(/ 2.0 (pow x 3))

series293.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ (+ (/ 2.0 (pow x 5)) (/ 2.0 (pow x 3))) (/ 2.0 (pow x 7)))
61.0ms
(/ 2.0 (pow x 5))
88.0ms
(/ 2.0 (pow x 7))
45.0ms
(/ 2.0 (pow x 3))

simplify1.5s

Counts
205 → 205
Iterations

Useful iterations: 2 (660.0ms)

IterNodesCost
02942533
16592232
229942171
done50012171

prune732.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes59.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 25.2b

bsearch148.0ms

Steps
ItersRangePoint
8
32715339.804033544
17960083604.66992
33013378.796887353
5
-1333.496421940221
-527.3133570883257
-1313.1390827564153

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03675
14775
done4775

end0.0ms

sample1.7s

Algorithm
intervals
Results
519.0ms4208×body80valid
412.0ms1824×body640valid
265.0ms925×body320valid
166.0ms561×body1280valid
110.0ms485×body160valid