Details

Time bar (total: 21.8s)

sample80.0ms

Algorithm
intervals
Results
37.0ms90×body1280valid
10.0ms127×body80valid
8.0ms23×body640valid
3.0ms13×body320valid
0.0msbody160valid

simplify88.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22612
33212
43412
54012
64312
done4312

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.0b

localize30.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)))))
1.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite50.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:
10.0ms
(/ 1.0 (hypot 1.0 x))
22.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
14.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series1.4s

Counts
3 → 9
Calls
3 calls:
198.0ms
(/ 1.0 (hypot 1.0 x))
500.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
687.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify2.1s

Counts
84 → 84
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02072042
15191621
222661400
done50011384

prune612.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 16.4b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
pow1
associate-/r* associate-/l* add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg sqrt-pow1 sqrt-div associate-*r/ div-exp clear-num div-inv
sub-neg flip3-- flip3-+ pow1/2 fma-neg diff-log prod-diff pow-prod-down sqrt-prod flip-- flip-+
Counts
4 → 89
Calls
4 calls:
10.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(/ 1.0 (hypot 1.0 x))
33.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
17.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series1.1s

Counts
4 → 12
Calls
4 calls:
182.0ms
(/ 1.0 (hypot 1.0 x))
191.0ms
(/ 1.0 (hypot 1.0 x))
495.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
210.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify2.6s

Counts
101 → 101
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01911467
15061371
224841271
done50011266

prune804.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 16.4b

localize49.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))
0.0b
(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))))
0.6b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-prod add-log-exp
add-exp-log
expm1-log1p-u log-div exp-prod add-cbrt-cube log1p-expm1-u
flip3-- exp-sum flip--
sqrt-pow1 exp-diff sqrt-div associate-*r/ log-pow
sub-neg flip3-+ pow1/2 fma-neg diff-log rem-log-exp prod-diff pow-prod-down sqrt-prod flip-+ rem-exp-log
Counts
4 → 66
Calls
4 calls:
17.0ms
(log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))
22.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
28.0ms
(exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
16.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series1.4s

Counts
4 → 12
Calls
4 calls:
455.0ms
(log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))
523.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
201.0ms
(exp (log (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
206.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify1.9s

Counts
78 → 78
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01951770
14931634
223091433
done50001410

prune826.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 16.4b

localize72.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)))
0.5b
(cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3))
0.5b
(pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)
0.6b
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
17×exp-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×unpow-prod-down cube-prod
11×pow1
log-pow
add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
cube-mult pow-unpow unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube fma-udef rem-exp-log rem-cube-cbrt
Counts
4 → 89
Calls
4 calls:
24.0ms
(exp (cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)))
6.0ms
(cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3))
7.0ms
(pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)
1.0ms
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series2.2s

Counts
4 → 12
Calls
4 calls:
270.0ms
(exp (cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)))
530.0ms
(cbrt (pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3))
1.2s
(pow (log (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) 3)
279.0ms
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify2.0s

Counts
101 → 101
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01802503
14912240
225541860
done50011856

prune785.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes273.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 15.0b

bsearch2.0ms

simplify10.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03673
13873
done3873

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.6s2806×body1280valid
583.0ms128×body160valid
300.0ms4080×body80valid
220.0ms681×body640valid
117.0ms305×body320valid