Details

Time bar (total: 6.8s)

sample40.0ms

Algorithm
intervals
Results
19.0ms82×body1280valid
6.0ms132×body80valid
3.0ms17×body640valid
2.0ms16×body320valid
1.0msbody160valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22312
32712
42912
53412
63612
done3612

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.7b

Counts
2 → 1

localize8.0ms

Local error

Found 4 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)))))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
2.2b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
16.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify506.0ms

Counts
78 → 78
Iterations

Useful iterations: done (504.0ms)

IterNodesCost
01121034
1238951
2623887
31695885
done5000877

prune161.0ms

Filtered
54 candidates to 78 candidates (-44.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 16.1b

Counts
79 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
pow1 associate-/r*
flip3-+ flip-+ associate-/l*
+-commutative flip3-- sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 72
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
8.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)))))))
4.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series58.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
38.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)))))))
7.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify410.0ms

Counts
84 → 84
Iterations

Useful iterations: done (407.0ms)

IterNodesCost
01142183
13152113
211151891
done50001723

prune453.0ms

Filtered
61 candidates to 84 candidates (-37.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New80484
Fresh134
Picked101
Done000
Total82789

Merged error: 16.1b

Counts
89 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
44×*-un-lft-identity
30×times-frac
16×add-cube-cbrt
12×difference-of-squares
distribute-lft-out add-log-exp
pow1
add-exp-log add-cbrt-cube associate-/l* distribute-lft-out--
associate-/r*
flip3-+ flip-+
flip3-- sqrt-pow1 sqrt-div associate-*r/ associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg pow1/2 diff-log div-sub div-exp pow-prod-down clear-num sum-log sqrt-prod div-inv
Counts
4 → 91
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
11.0ms
(/ (- 0.5 (/ 0.5 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
7.0ms
(- 0.5 (/ 0.5 (hypot 1.0 x)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
15.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
35.0ms
(/ (- 0.5 (/ 0.5 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
9.0ms
(- 0.5 (/ 0.5 (hypot 1.0 x)))

simplify741.0ms

Counts
103 → 103
Iterations

Useful iterations: done (737.0ms)

IterNodesCost
01492387
13662296
29552158
332202158
done50012157

prune277.0ms

Filtered
70 candidates to 103 candidates (-47.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1003103
Fresh336
Picked011
Done000
Total1037110

Merged error: 16.1b

Counts
110 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
224×times-frac
206×*-un-lft-identity
122×add-sqr-sqrt
110×add-cube-cbrt
48×distribute-lft-out
26×associate-/l* difference-of-squares
23×add-exp-log add-cbrt-cube
14×associate-/r/
13×swap-sqr associate-*r* associate-*l*
11×pow1 div-inv
cbrt-undiv div-exp associate-/r*
flip3-+ flip-+
add-log-exp
prod-exp cbrt-unprod unswap-sqr
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 253
Calls
4 calls:
13.0ms
(/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x))))
17.0ms
(/ (/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
4.0ms
(- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

series125.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x))))
61.0ms
(/ (/ (- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ 0.5 (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
16.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
14.0ms
(- (* 0.5 0.5) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

simplify959.0ms

Counts
265 → 265
Iterations

Useful iterations: 2 (356.0ms)

IterNodesCost
036011022
1102310405
243209417
done50009417

prune1.1s

Filtered
174 candidates to 265 candidates (-52.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2596265
Fresh415
Picked101
Done101
Total2657272

Merged error: 15.7b

Counts
272 → 7

regimes408.0ms

Accuracy

0% (0.3b remaining)

Error of 15.1b against oracle of 14.8b and baseline of 15.1b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02366
12966
done2966

end0.0ms

sample1.2s

Algorithm
intervals
Results
691.0ms2911×body1280valid
170.0ms3981×body80valid
118.0ms631×body640valid
39.0ms304×body320valid
15.0ms173×body160valid

Profiling

Loading profile data...