Details

Time bar (total: 14.6s)

sample65.0ms

Algorithm
intervals
Results
19.0ms121×body320valid
14.0ms128×body160valid
13.0ms259×body80nan
0.0msbody80valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01937
14337
211936
328336
452836
577136
693236
7113136
8240836
done500036

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.4b

localize17.0ms

Local error

Found 4 expressions with local error:

6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
17.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series735.0ms

Counts
4 → 12
Calls
4 calls:
314.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
325.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
50.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))

simplify2.0s

Counts
72 → 72
Iterations

Useful iterations: 3 (695.0ms)

IterNodesCost
01661416
13851249
212311135
348081078
done50001078

prune419.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.3b

localize19.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
17.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series449.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
322.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
46.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify2.6s

Counts
71 → 71
Iterations

Useful iterations: 3 (944.0ms)

IterNodesCost
01351112
1296991
21037887
34996865
done5000865

prune431.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.7b

localize19.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
2.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
46.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify672.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
055808
1122744
2381640
31520640
done5000640

prune430.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 33.7b

localize25.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* g g) (* h h))
32.0ms
(- (* g g) (* h h))
53.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify668.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
055808
1122744
2381640
31520640
done5000640

prune355.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 33.7b

regimes774.0ms

Accuracy

0% (1.8b remaining)

Error of 33.0b against oracle of 31.2b and baseline of 33.0b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02038
12438
done2438

end0.0ms

sample1.8s

Algorithm
intervals
Results
609.0ms3755×body320valid
438.0ms4089×body160valid
380.0ms7743×body80nan
8.0ms156×body80valid