Details

Time bar (total: 1.9m)

sample32.0ms

Algorithm
intervals
Results
6.0ms284×body80nan
4.0ms47×body640valid
4.0ms36×body1280valid
4.0ms141×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify6.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11111
21411
done1411

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
2.6b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
875×*-un-lft-identity
742×add-sqr-sqrt
712×add-cube-cbrt
594×prod-diff
562×sqrt-prod
73×distribute-lft-out
54×div-inv
46×sqrt-div associate-/r/
23×flip3-+ flip-+
22×fma-neg
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg flip3-- diff-log frac-sub flip--
Counts
3 → 739
Calls
3 calls:
12.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
87.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series253.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(/ 1.0 (sqrt (+ x 1.0)))
44.0ms
(/ 1.0 (sqrt x))
131.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify1.8s

Counts
748 → 748
Iterations

Useful iterations: done (1.7s)

IterNodesCost
069140576
1151035050
2295326090
done500020519

prune670.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 18.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt 1.0) (sqrt (sqrt x)))
0.2b
(/ (sqrt 1.0) (sqrt (sqrt x)))
0.3b
(* (+ (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
2.9b
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

rewrite4.4s

Algorithm
rewrite-expression-head
Rules
33597×sqrt-prod
21654×times-frac
16595×*-un-lft-identity
14699×add-sqr-sqrt
14285×add-cube-cbrt
11484×prod-diff
3830×distribute-rgt-in distribute-lft-in
1102×distribute-lft-out
696×sqrt-div
381×div-inv
348×associate-/r/
178×flip3-+ flip-+
98×difference-of-squares
86×associate-*r*
68×distribute-lft-out--
58×fma-neg
37×associate-*l*
18×associate-/r*
12×associate-/l*
10×add-exp-log add-cbrt-cube
frac-times
pow1 add-log-exp
flip3-- frac-sub flip--
expm1-log1p-u frac-add log1p-expm1-u
sub-neg associate-*r/ associate-*l/
cbrt-undiv sqrt-undiv frac-2neg div-exp clear-num
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 11964
Calls
4 calls:
10.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
10.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
2.1s
(* (+ (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
303.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
176.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
174.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
575.0ms
(* (+ (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
286.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

simplify4.2s

Counts
11976 → 11976
Iterations

Useful iterations: 0 (1.6s)

IterNodesCost
055041202837
done55041202837

prune31.9s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 9.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.2b
(/ (sqrt 1.0) (sqrt (sqrt x)))
0.3b
(* (+ (* (pow (/ 1 x) 1/4) (sqrt 1.0)) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
2.9b
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

rewrite3.4s

Algorithm
rewrite-expression-head
Rules
33402×sqrt-prod
21536×times-frac
16466×*-un-lft-identity
14630×add-sqr-sqrt
14230×add-cube-cbrt
11484×prod-diff
3830×distribute-rgt-in distribute-lft-in
1060×distribute-lft-out
696×sqrt-div
378×div-inv
348×associate-/r/
178×flip3-+ flip-+
98×difference-of-squares
86×associate-*r*
68×distribute-lft-out--
58×fma-neg
associate-/r*
pow1 add-exp-log add-cbrt-cube
frac-times associate-/l* add-log-exp
expm1-log1p-u flip3-- sqrt-pow1 frac-sub flip-- log1p-expm1-u
sub-neg associate-*r/ associate-*l*
rem-sqrt-square pow1/2 associate-*l/
cbrt-undiv sqrt-undiv frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
4 → 11863
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
9.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
1.4s
(* (+ (* (pow (/ 1 x) 1/4) (sqrt 1.0)) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
286.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
127.0ms
(sqrt (sqrt x))
168.0ms
(/ (sqrt 1.0) (sqrt (sqrt x)))
523.0ms
(* (+ (* (pow (/ 1 x) 1/4) (sqrt 1.0)) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))))
266.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

simplify4.0s

Counts
11875 → 11875
Iterations

Useful iterations: 0 (1.5s)

IterNodesCost
055081231338
done55081231338

prune34.3s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 9.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (* (* (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))))
2.9b
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
2.9b
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
2.9b
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

rewrite4.3s

Algorithm
rewrite-expression-head
Rules
33699×sqrt-prod
21738×times-frac
16585×*-un-lft-identity
14869×add-sqr-sqrt
14275×add-cube-cbrt
11484×prod-diff
1068×distribute-lft-out
696×sqrt-div
381×div-inv
348×associate-/r/
174×flip3-+ fma-neg flip-+
147×difference-of-squares
102×distribute-lft-out--
81×frac-times
63×cbrt-div
51×flip3-- frac-sub flip--
27×associate-*l/
15×associate-*r/
10×add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg diff-log
cbrt-prod pow1/3 pow3 rem-cbrt-cube
Counts
4 → 12027
Calls
4 calls:
1.5s
(cbrt (* (* (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))))
282.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
281.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
288.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
272.0ms
(cbrt (* (* (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))) (- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))))
257.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
256.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
256.0ms
(- (/ (sqrt 1.0) (sqrt (sqrt x))) (/ (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))

simplify3.5s

Counts
12039 → 12039
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02260964793
14805817530
done5001771369

prune14.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 9.1b

regimes121.0ms

Accuracy

97.9% (0.2b remaining)

Error of 10.1b against oracle of 9.9b and baseline of 19.6b

bsearch51.0ms

Steps
ItersRangePoint
8
211.08706756948936
1126179.5725289274
7248.001864012984

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04374
15474
done5474

end0.0ms

sample843.0ms

Algorithm
intervals
Results
160.0ms8130×body80nan
157.0ms1787×body640valid
130.0ms1123×body1280valid
103.0ms4167×body80valid
41.0ms623×body320valid
15.0ms300×body160valid