Details

Time bar (total: 15.3s)

sample68.0ms

Algorithm
intervals
Results
20.0ms124×body320valid
15.0ms286×body80nan
14.0ms132×body160valid

simplify4.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (10.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: 37.2b

localize21.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite46.0ms

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

series923.0ms

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

simplify1.9s

Counts
72 → 72
Iterations

Useful iterations: 3 (969.0ms)

IterNodesCost
01771390
13851217
212581121
348251072
done50001072

prune396.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 31.4b

localize20.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
8.5b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(sqrt (- (* g g) (* h h)))

rewrite31.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))
20.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series448.0ms

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

simplify1.3s

Counts
71 → 71
Iterations

Useful iterations: 3 (476.0ms)

IterNodesCost
01351086
1288956
2920870
33540859
done5000859

prune413.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.1b

localize24.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(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:
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)))

series160.0ms

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

simplify785.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
055808
1122744
2380640
31502640
done5000640

prune426.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 31.1b

localize21.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.5b
(sqrt (- (* g g) (* h h)))
29.5b
(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:
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)))

series164.0ms

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

simplify801.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
055808
1122744
2380640
31502640
done5000640

prune333.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 31.1b

regimes652.0ms

Accuracy

0% (1.5b remaining)

Error of 32.2b against oracle of 30.7b and baseline of 32.2b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02238
12638
done2638

end0.0ms

sample1.9s

Algorithm
intervals
Results
617.0ms3693×body320valid
464.0ms4152×body160valid
398.0ms7920×body80nan
9.0ms155×body80valid