Details

Time bar (total: 8.6s)

sample23.0ms

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

simplify68.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01015
11815
23115
34115
45215
55915
67115
79215
811015
911715
done11715

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.5b

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

rewrite356.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))
5.0ms
(/ 1.0 (- x 1.0))
52.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
235.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ x 1.0))
34.0ms
(/ 1.0 (- x 1.0))
44.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
233.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify1.1s

Counts
630 → 630
Iterations

Useful iterations: done (1.1s)

IterNodesCost
050219834
1110017345
2306312902
done500112830

prune1.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
40×add-sqr-sqrt
39×times-frac
32×add-cube-cbrt
15×cbrt-prod
associate-/r* associate-/l*
add-exp-log distribute-lft-out
add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-def
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
+-commutative associate-+l+ flip3-- sum-log flip--
Counts
4 → 117
Calls
4 calls:
6.0ms
(/ (cbrt 1.0) (+ x 1.0))
0.0ms
(fma (/ (* (cbrt 1.0) (cbrt 1.0)) 1) (/ (cbrt 1.0) (+ x 1.0)) (/ (- 2.0) x))
5.0ms
(/ 1.0 (- x 1.0))
13.0ms
(+ (fma (/ (* (cbrt 1.0) (cbrt 1.0)) 1) (/ (cbrt 1.0) (+ x 1.0)) (/ (- 2.0) x)) (/ 1.0 (- x 1.0)))

series556.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (cbrt 1.0) (+ x 1.0))
101.0ms
(fma (/ (* (cbrt 1.0) (cbrt 1.0)) 1) (/ (cbrt 1.0) (+ x 1.0)) (/ (- 2.0) x))
28.0ms
(/ 1.0 (- x 1.0))
369.0ms
(+ (fma (/ (* (cbrt 1.0) (cbrt 1.0)) 1) (/ (cbrt 1.0) (+ x 1.0)) (/ (- 2.0) x)) (/ 1.0 (- x 1.0)))

simplify783.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
02181983
14801789
213771688
done50001688

prune326.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

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

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

series431.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1.0 (- x 1.0))
41.0ms
(* (+ x 1.0) x)
288.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))

simplify740.0ms

Counts
127 → 127
Iterations

Useful iterations: 2 (236.0ms)

IterNodesCost
02101869
15601760
219811367
done50011367

prune275.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize12.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))
9.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)))

series418.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
23.0ms
(/ 1 (+ x 1.0))
29.0ms
(/ 1.0 (- x 1.0))
321.0ms
(fma (/ 1 (+ x 1.0)) (/ (- (* 1.0 x) (* (+ x 1.0) 2.0)) x) (/ 1.0 (- x 1.0)))

simplify669.0ms

Counts
116 → 116
Iterations

Useful iterations: 2 (174.0ms)

IterNodesCost
02011450
14541335
214301203
done50001203

prune245.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes30.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch98.0ms

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

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
03064
14048
done4048

end0.0ms

sample586.0ms

Algorithm
intervals
Results
196.0ms1883×body640valid
117.0ms4149×body80valid
82.0ms568×body1280valid
76.0ms970×body320valid
22.0ms433×body160valid