Details

Time bar (total: 10.5s)

sample24.0ms

Algorithm
intervals
Results
8.0ms77×body640valid
3.0ms122×body80valid
3.0ms21×body1280valid
2.0ms23×body320valid
1.0ms13×body160valid

simplify74.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01015
11815
23115
34115
45215
55915
66815
78615
810715
911715
done11715

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.5b

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

rewrite347.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
6.0ms
(/ 1.0 (- x 1.0))
52.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
231.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series321.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
31.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
223.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify1.2s

Counts
630 → 630
Iterations

Useful iterations: done (1.2s)

IterNodesCost
050219834
1110017345
2290312902
done500112778

prune1.3s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (cbrt 1.0) (+ x 1.0))
0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x))
1.2b
(+ (- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
57×times-frac
54×add-sqr-sqrt
46×add-cube-cbrt
26×prod-diff
15×cbrt-prod associate-+l+
11×add-log-exp
associate-/r* associate-/l*
add-exp-log distribute-lft-out
add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u div-inv distribute-lft-out-- difference-of-squares
flip3-- fma-def frac-add flip--
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log associate-*r/ div-exp clear-num sum-log frac-sub flip-+
+-commutative associate-+l- fma-neg
Counts
4 → 155
Calls
4 calls:
6.0ms
(/ (cbrt 1.0) (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
20.0ms
(- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x))
147.0ms
(+ (- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ (cbrt 1.0) (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
71.0ms
(- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x))
257.0ms
(+ (- (* (* (cbrt 1.0) (cbrt 1.0)) (/ (cbrt 1.0) (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify1.0s

Counts
167 → 167
Iterations

Useful iterations: done (1.0s)

IterNodesCost
03493324
18243047
225452468
done50002464

prune413.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(* (+ x 1.0) x)
0.7b
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
15.6b
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
30×add-sqr-sqrt
21×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
fma-def
pow1 associate-*l/ associate-/r* associate-/r/ associate-/l* add-log-exp
expm1-log1p-u flip3-+ associate-*l* flip-+ log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-*r* div-inv
flip3-- frac-2neg div-sub prod-exp clear-num flip-- cbrt-unprod associate-/l/ distribute-lft-out
+-commutative associate-+l- pow-prod-down frac-add sum-log *-commutative unswap-sqr
Counts
4 → 115
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
10.0ms
(* (+ x 1.0) x)
41.0ms
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
10.0ms
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

series426.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
45.0ms
(* (+ x 1.0) x)
284.0ms
(+ (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x)) (/ 1.0 (- x 1.0)))
68.0ms
(/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) (* (+ x 1.0) x))

simplify1.0s

Counts
127 → 127
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02101869
15601760
218811371
done50001365

prune258.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(/ 1 (+ x 1.0))
0.0b
(/ 1.0 (- x 1.0))
1.0b
(fma (/ 1 (+ x 1.0)) (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) x) (/ 1.0 (- x 1.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
31×add-sqr-sqrt
27×times-frac
23×add-cube-cbrt
10×add-exp-log
associate-/r*
add-cbrt-cube
associate-/l* add-log-exp
pow1
expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out distribute-lft-out-- difference-of-squares
div-exp
cbrt-undiv flip3-- frac-2neg clear-num flip-- div-inv
sub-neg rec-exp pow-flip flip3-+ fma-neg diff-log 1-exp prod-diff flip-+ fma-udef inv-pow
Counts
4 → 104
Calls
4 calls:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
8.0ms
(/ 1 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
0.0ms
(fma (/ 1 (+ x 1.0)) (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) x) (/ 1.0 (- x 1.0)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
22.0ms
(/ 1 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
295.0ms
(fma (/ 1 (+ x 1.0)) (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) x) (/ 1.0 (- x 1.0)))

simplify2.0s

Counts
116 → 116
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02011450
14541335
212221203
338281178
done50011176

prune241.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes27.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 9.5b

bsearch100.0ms

Steps
ItersRangePoint
11
0.08347146558812443
3.320253512051989e+22
120.64077220743235
7
-1162.6651869185068
-5.7596417613087905
-115.11631650208354

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03064
14048
done4048

end0.0ms

sample571.0ms

Algorithm
intervals
Results
192.0ms1883×body640valid
111.0ms4149×body80valid
78.0ms970×body320valid
72.0ms568×body1280valid
27.0ms433×body160valid