Details

Time bar (total: 10.2s)

sample107.0ms

Algorithm
intervals
Results
59.0ms91×body1280valid
13.0ms37×body640valid
12.0ms27×body2560valid
5.0ms23×body320valid
3.0ms59×body80valid
3.0ms19×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
079
1108
done108

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 53.8b

localize12.0ms

Local error

Found 3 expressions with local error:

0.9b
(+ x (sqrt (+ (* x x) 1.0)))
4.2b
(log (+ x (sqrt (+ (* x x) 1.0))))
14.3b
(sqrt (+ (* x x) 1.0))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
add-exp-log log-prod
expm1-log1p-u fma-def flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow hypot-def
Counts
3 → 52
Calls
3 calls:
27.0ms
(+ x (sqrt (+ (* x x) 1.0)))
43.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
15.0ms
(sqrt (+ (* x x) 1.0))

series355.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(+ x (sqrt (+ (* x x) 1.0)))
211.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
63.0ms
(sqrt (+ (* x x) 1.0))

simplify1.0s

Counts
61 → 61
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0139813
1342677
21454609
done5001597

prune266.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

series203.0ms

Counts
1 → 3
Calls
1 calls:
203.0ms
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

simplify1.0s

Counts
13 → 13
Iterations

Useful iterations: done (1.0s)

IterNodesCost
025295
151295
2177256
31271256
done5002255

prune67.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot x (sqrt 1.0))
0.9b
(+ x (hypot x (sqrt 1.0)))
4.2b
(log (+ x (hypot x (sqrt 1.0))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
pow1 add-exp-log log-prod
expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
log-div flip3-+ flip-+ distribute-lft-out
+-commutative hypot-udef rem-log-exp sum-log log-pow
Counts
3 → 44
Calls
3 calls:
0.0ms
(hypot x (sqrt 1.0))
12.0ms
(+ x (hypot x (sqrt 1.0)))
8.0ms
(log (+ x (hypot x (sqrt 1.0))))

series671.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(hypot x (sqrt 1.0))
166.0ms
(+ x (hypot x (sqrt 1.0)))
383.0ms
(log (+ x (hypot x (sqrt 1.0))))

simplify496.0ms

Counts
53 → 53
Iterations

Useful iterations: done (494.0ms)

IterNodesCost
0117642
1273580
21054542
done5000538

prune171.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot x (sqrt 1.0))
0.3b
(* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))
4.2b
(log (+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))))
10.7b
(+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×pow1
18×sqrt-prod
14×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 swap-sqr
add-exp-log
associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
log-prod fma-def pow-prod-down pow-sqr
log-div flip3-+ flip-+
+-commutative pow2 hypot-udef pow-plus sqrt-unprod rem-log-exp prod-exp sum-log rem-square-sqrt log-pow *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
0.0ms
(hypot x (sqrt 1.0))
13.0ms
(* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))
4.0ms
(log (+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))))
6.0ms
(+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
110.0ms
(hypot x (sqrt 1.0))
99.0ms
(* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))
331.0ms
(log (+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0))))))
474.0ms
(+ x (* (sqrt (hypot x (sqrt 1.0))) (sqrt (hypot x (sqrt 1.0)))))

simplify1.1s

Counts
105 → 105
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01601742
13791007
21650923
done5001908

prune323.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes28.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 31.6b

bsearch89.0ms

Steps
ItersRangePoint
8
5.523051691372288e-07
0.022891638200552334
0.0008065403850916961
10
-911936.9907706906
-4.3470241882695893e-07
-1.0205349568144453

simplify24.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03456
13756
done3756

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s2409×body1280valid
825.0ms1557×body640valid
373.0ms786×body2560valid
159.0ms2059×body80valid
138.0ms764×body320valid
48.0ms425×body160valid