Details

Time bar (total: 21.7s)

sample154.0ms

Algorithm
intervals
Results
63.0ms301×body80nan
35.0ms118×body320valid
27.0ms134×body160valid
0.0msbody80valid

simplify4.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
019645
144645
2125645
3315645
4640645
51088645
61617645
72196645
84870645
done5000645

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

localize61.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
25.9b
(sqrt (- (* g g) (* h h)))
25.9b
(sqrt (- (* g g) (* h h)))

rewrite101.0ms

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

series923.0ms

Counts
4 → 12
Calls
4 calls:
360.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
433.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
61.0ms
(sqrt (- (* g g) (* h h)))
69.0ms
(sqrt (- (* g g) (* h h)))

simplify1.6s

Counts
80 → 80
Iterations

Useful iterations: done (1.6s)

IterNodesCost
017233766
141530654
2150729284
done500128454

prune700.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 26.9b

localize51.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
25.9b
(sqrt (- (* g g) (* h h)))
25.9b
(sqrt (- (* g g) (* h h)))

rewrite68.0ms

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

series587.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* g g) (* h h))
415.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
65.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (- (* g g) (* h h)))

simplify1.6s

Counts
81 → 81
Iterations

Useful iterations: done (1.6s)

IterNodesCost
014426930
133623107
2161022817
done500122422

prune822.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 26.2b

localize77.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 *-un-lft-identity add-cube-cbrt
expm1-log1p-u flip3-- add-cbrt-cube sqrt-div add-exp-log log1p-expm1-u flip-- difference-of-squares
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
8.0ms
(- (* g g) (* h h))
6.0ms
(- (* g g) (* h h))
12.0ms
(sqrt (- (* g g) (* h h)))
14.0ms
(sqrt (- (* g g) (* h h)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* g g) (* h h))
47.0ms
(- (* g g) (* h h))
73.0ms
(sqrt (- (* g g) (* h h)))
74.0ms
(sqrt (- (* g g) (* h h)))

simplify772.0ms

Counts
82 → 82
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
06220094
115115960
270315960
done500015960

prune690.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 26.2b

localize70.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 *-un-lft-identity add-cube-cbrt
expm1-log1p-u flip3-- add-cbrt-cube sqrt-div add-exp-log log1p-expm1-u flip-- difference-of-squares
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
7.0ms
(- (* g g) (* h h))
8.0ms
(- (* g g) (* h h))
10.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
52.0ms
(- (* g g) (* h h))
56.0ms
(sqrt (- (* g g) (* h h)))
65.0ms
(sqrt (- (* g g) (* h h)))

simplify814.0ms

Counts
82 → 82
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06220094
115115960
270315960
done500015960

prune650.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 26.2b

regimes1.3s

Accuracy

0% (1.7b remaining)

Error of 32.1b against oracle of 30.3b and baseline of 32.1b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
020725
125725
done25725

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.0s3741×body320valid
1.5s8173×body80nan
1.3s4125×body160valid
14.0ms134×body80valid