Details

Time bar (total: 30.6s)

sample182.0ms

Algorithm
intervals
Results
60.0ms268×body80nan
42.0ms113×body320valid
33.0ms137×body160valid
1.0msbody80valid

simplify10.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01937
14337
212236
329736
458336
589136
6107936
7130036
8249136
done500036

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.7b

localize47.0ms

Local error

Found 4 expressions with local error:

7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.2b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite192.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:
50.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
93.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
28.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
482.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
432.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (sqrt (- (* g g) (* h h))) g)))
60.0ms
(sqrt (- (* g g) (* h h)))
90.0ms
(sqrt (- (* g g) (* h h)))

simplify967.0ms

Counts
72 → 72
Iterations

Useful iterations: done (963.0ms)

IterNodesCost
01771390
13851217
212811121
done50011072

prune559.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 29.8b

localize51.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite115.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:
17.0ms
(- (* g g) (* h h))
61.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
24.0ms
(sqrt (- (* g g) (* h h)))

series631.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (* g g) (* h h))
448.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
66.0ms
(sqrt (- (* g g) (* h h)))
63.0ms
(sqrt (- (* g g) (* h h)))

simplify3.2s

Counts
71 → 71
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01351112
1294991
2968887
33952865
done5000855

prune664.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 29.2b

localize27.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
7.9b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite105.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:
17.0ms
(- (* g g) (* h h))
51.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
18.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(sqrt (- (* g g) (* h h)))

series631.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* g g) (* h h))
449.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
84.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (- (* g g) (* h h)))

simplify2.4s

Counts
71 → 71
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01351112
1294991
2968887
33952865
done5000855

prune456.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 29.2b

localize51.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
3.0b
(- (* g g) (* h h))
28.3b
(sqrt (- (* g g) (* h h)))
28.3b
(sqrt (- (* g g) (* h h)))

rewrite68.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:
16.0ms
(- (* g g) (* h h))
15.0ms
(- (* g g) (* h h))
18.0ms
(sqrt (- (* g g) (* h h)))
17.0ms
(sqrt (- (* g g) (* h h)))

series206.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* g g) (* h h))
44.0ms
(- (* g g) (* h h))
52.0ms
(sqrt (- (* g g) (* h h)))
61.0ms
(sqrt (- (* g g) (* h h)))

simplify2.7s

Counts
70 → 70
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
055808
1120744
2301640
3975640
44860640
done5000640

prune434.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 29.2b

regimes815.0ms

Accuracy

0% (1.8b remaining)

Error of 32.3b against oracle of 30.6b and baseline of 32.3b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02238
12638
done2638

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.7s3770×body320valid
1.4s4087×body160valid
886.0ms7820×body80nan
13.0ms143×body80valid