Details

Time bar (total: 23.6s)

sample50.0ms

Algorithm
intervals
Results
29.0ms95×body1280valid
5.0ms121×body80valid
4.0ms20×body640valid
2.0ms12×body320valid
1.0msbody160valid

simplify37.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11912
22612
33212
43412
54012
64212
done4212

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.8b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
12×prod-diff
times-frac
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-prod
expm1-log1p-u fma-neg associate-/r* log1p-expm1-u associate-/l*
sqrt-pow1 sqrt-div associate-*r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ pow1/2 diff-log div-exp pow-prod-down clear-num flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 75
Calls
3 calls:
9.0ms
(/ 1.0 (hypot 1.0 x))
36.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
8.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series1.1s

Counts
3 → 9
Calls
3 calls:
129.0ms
(/ 1.0 (hypot 1.0 x))
403.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
525.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify1.2s

Counts
84 → 84
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02072042
14921618
214441398
done50001265

prune340.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 16.2b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.0b
(/ (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.7b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
22×add-sqr-sqrt add-cube-cbrt
21×times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
associate-/l*
distribute-lft-out
pow1 expm1-log1p-u log1p-expm1-u
fma-def
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num associate-/r/ flip-- flip-+ div-inv associate-/l/
+-commutative sub-neg fma-neg diff-log div-sub prod-diff sum-log
Counts
4 → 100
Calls
4 calls:
6.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
37.0ms
(/ (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
18.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series2.3s

Counts
4 → 12
Calls
4 calls:
134.0ms
(/ 1.0 (hypot 1.0 x))
416.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.6s
(/ (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
153.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify2.3s

Counts
112 → 112
Iterations

Useful iterations: done (2.3s)

IterNodesCost
03303402
19713222
238872952
done50002951

prune538.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 16.1b

localize39.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.0b
(/ (exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
1.7b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
24×add-sqr-sqrt add-cube-cbrt times-frac
18×log-prod exp-sum
distribute-lft-out add-log-exp
add-cbrt-cube associate-/l*
pow1 add-exp-log
expm1-log1p-u log-div exp-prod exp-diff associate-/r* log1p-expm1-u
flip3-- fma-def flip--
flip3-+ associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg fma-neg diff-log div-exp prod-diff clear-num sum-log log-pow div-inv rem-exp-log
Counts
4 → 104
Calls
4 calls:
6.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
45.0ms
(/ (exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
20.0ms
(exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
18.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series2.6s

Counts
4 → 12
Calls
4 calls:
463.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.8s
(/ (exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
191.0ms
(exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
177.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify2.1s

Counts
116 → 116
Iterations

Useful iterations: done (2.1s)

IterNodesCost
03184398
18723998
234643594
done50003579

prune632.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 16.1b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.0b
(/ (pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
1.7b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×times-frac
34×add-sqr-sqrt add-cube-cbrt
18×unpow-prod-up unpow-prod-down log-prod
12×distribute-lft-out
11×add-exp-log
10×associate-/l*
add-log-exp
pow1 add-cbrt-cube sqr-pow
expm1-log1p-u log-div pow-unpow div-exp pow-exp associate-/r* log1p-expm1-u pow-sub
flip3-- fma-def flip--
pow-to-exp e-exp-1 flip3-+ associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg pow-pow frac-2neg fma-neg diff-log prod-diff clear-num sum-log log-pow div-inv
Counts
4 → 134
Calls
4 calls:
6.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
70.0ms
(/ (pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
9.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series3.7s

Counts
4 → 12
Calls
4 calls:
493.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
2.5s
(/ (pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
570.0ms
(pow E (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
164.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify3.0s

Counts
146 → 146
Iterations

Useful iterations: 2 (1.3s)

IterNodesCost
03785975
110495605
240225262
done50005262

prune821.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

regimes445.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 15.4b

bsearch3.0ms

simplify15.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
042100
146100
248100
done48100

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s2831×body1280valid
387.0ms4019×body80valid
180.0ms656×body640valid
59.0ms336×body320valid
19.0ms158×body160valid